Integer, Numeric and Float allow None as value
NULL value is None and not False issue2022 review237004
This commit is contained in:
1 parent
fd04a7c776
commit
0ccfc9fe72
1 file changed
+1
-1
+1
-1
@@ -138,7 +138,7 @@ class PriceListLine(ModelSQL, ModelView):
|
||||
price_list = fields.Many2One('product.price_list', 'Price List',
|
||||
required=True, ondelete='CASCADE')
|
||||
product = fields.Many2One('product.product', 'Product')
|
||||
sequence = fields.Integer('Sequence')
|
||||
sequence = fields.Integer('Sequence', required=True)
|
||||
quantity = fields.Float('Quantity', digits=(16, Eval('unit_digits', 2)),
|
||||
depends=['unit_digits'])
|
||||
unit_digits = fields.Function(fields.Integer('Unit Digits',
|
||||
|
||||
Reference in new issue
Block a user