Add select for module config_wizard items

This commit is contained in:
Cédric Krier
2008-11-07 17:27:13 +01:00
parent 33583202b9
commit e2d022aaa7
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -497,7 +497,7 @@ class ModuleConfigWizardItem(OSV):
state = fields.Selection([
('open', 'Open'),
('done', 'Done'),
], string='State', required=True)
], string='State', required=True, select=1)
def __init__(self):
super(ModuleConfigWizardItem, self).__init__()
+2 -2
View File
@@ -99,9 +99,9 @@
<field name="arch" type="xml">
<![CDATA[
<tree string="Config Wizard Items" editable="bottom">
<field name="name"/>
<field name="name" select="1"/>
<field name="sequence"/>
<field name="state"/>
<field name="state" select="1"/>
</tree>
]]>
</field>