Reviewers: ,
Please review this at http://codereview.tryton.org/585006/ Affected files: M CHANGELOG M trytond/wizard/wizard.py Index: CHANGELOG =================================================================== --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,4 @@ +* Prevent Wizard State name to start with '_' * Add completion attribute for Many2One, Many2Many and One2Many * Add ViewSearch * Add domains on Action Window Index: trytond/wizard/wizard.py =================================================================== --- a/trytond/wizard/wizard.py +++ b/trytond/wizard/wizard.py @@ -166,6 +166,8 @@ # Set states cls.states = {} for attr in dir(cls): + if attr.startswith('_'): + continue if isinstance(getattr(cls, attr), State): cls.states[attr] = getattr(cls, attr) -- -- [email protected] mailing list
