diff --git a/addons/account/models/account_move.py b/addons/account/models/account_move.py index fdbf651ac7c..9b521296c0b 100644 --- a/addons/account/models/account_move.py +++ b/addons/account/models/account_move.py @@ -3444,7 +3444,7 @@ class AccountMoveLine(models.Model): )) super(AccountMoveLine, line).write(to_write) elif any(field in vals for field in BUSINESS_FIELDS): - to_write = self._get_price_total_and_subtotal() + to_write = line._get_price_total_and_subtotal() to_write.update(line._get_fields_onchange_subtotal( price_subtotal=to_write['price_subtotal'], ))