diff --git a/account.py b/account.py index 972e64ec77..3be9f12523 100644 --- a/account.py +++ b/account.py @@ -50,7 +50,7 @@ class InvoiceLine: @fields.depends('origin') def on_change_product(self): - return super(InvoiceLine, self).on_change_product() + super(InvoiceLine, self).on_change_product() @fields.depends('origin') def on_change_account(self): diff --git a/purchase.py b/purchase.py index 435ab8f338..928a5fb77e 100644 --- a/purchase.py +++ b/purchase.py @@ -42,4 +42,4 @@ class PurchaseLine: @fields.depends('_parent_purchase.warehouse', '_parent_purchase.invoice_address') def on_change_product(self): - return super(PurchaseLine, self).on_change_product() + super(PurchaseLine, self).on_change_product() diff --git a/sale.py b/sale.py index 746addb44d..3567999490 100644 --- a/sale.py +++ b/sale.py @@ -48,4 +48,4 @@ class SaleLine: @fields.depends('_parent_sale.warehouse', '_parent_sale.shipment_address') def on_change_product(self): - return super(SaleLine, self).on_change_product() + super(SaleLine, self).on_change_product()