diff --git a/sale.py b/sale.py index 77afaa7459..4a4cbe655c 100644 --- a/sale.py +++ b/sale.py @@ -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')