diff --git a/sale.py b/sale.py index c817e99916..f8101307c5 100644 --- a/sale.py +++ b/sale.py @@ -1088,7 +1088,7 @@ class SaleLine(ModelSQL, ModelView): states={ 'invisible': ~Eval('type').in_(['line', 'subtotal']), 'readonly': ~Eval('_parent_sale'), - }, on_change_with=['type', 'quantity', 'unit_price', + }, on_change_with=['type', 'quantity', 'unit_price', 'unit', '_parent_sale.currency'], depends=['type']), 'get_amount') description = fields.Text('Description', size=None, required=True)