purchase_unit_digits is always invisible

This commit is contained in:
Cédric Krier committed 2008-11-08 00:47:33 +01:00
1 parent d878f170b3
commit 09dd555e99
1 file changed
+1 -4
+1 -4
View File
@@ -1406,10 +1406,7 @@ class Move(OSV):
'invisible': "type != 'input'",
})
purchase_unit_digits = fields.Function('get_purchase_fields',
type='integer', string='Purchase Unit Digits',
states={
'invisible': "type != 'input'",
})
type='integer', string='Purchase Unit Digits')
purchase_unit_price = fields.Function('get_purchase_fields',
type='numeric', digits=(16, 4), string='Purchase Unit Price',
states={