Change select=1|2 to select=True
issue2305 review269003
This commit is contained in:
1 parent
39ab2807b0
commit
4cf4b24949
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -8,7 +8,7 @@ from . import luhn
|
||||
class Address(Model):
|
||||
_name = 'party.address'
|
||||
|
||||
siret_nic = fields.Char('SIRET NIC', select=1, states={
|
||||
siret_nic = fields.Char('SIRET NIC', select=True, states={
|
||||
'readonly': ~Eval('active', True),
|
||||
}, size=5, depends=['active'])
|
||||
siret = fields.Function(fields.Char('SIRET'), 'get_siret')
|
||||
|
||||
Reference in new issue
Block a user