Change sale line amount with unit
issue2465 review257001 (transplanted from 9fdab254bc6e59c1a32fe2a841747dd75e26cb5b)
This commit is contained in:
1 parent
73aef17242
commit
75f3f633f2
1 file changed
+1
-1
@@ -1005,7 +1005,7 @@ class SaleLine(ModelSQL, ModelView):
|
||||
states={
|
||||
'invisible': Not(In(Eval('type'), ['line', 'subtotal'])),
|
||||
'readonly': Not(Bool(Eval('_parent_sale'))),
|
||||
}, on_change_with=['type', 'quantity', 'unit_price',
|
||||
}, on_change_with=['type', 'quantity', 'unit_price', 'unit',
|
||||
'_parent_sale.currency']), 'get_amount')
|
||||
description = fields.Text('Description', size=None, required=True)
|
||||
note = fields.Text('Note')
|
||||
|
||||
Reference in new issue
Block a user