From 8fd7cc7944f08ea918a0678f67f839516a652957 Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Tue, 24 Mar 2015 23:22:13 +0100 Subject: [PATCH] on_change methods must not return anyting issue4667 review8081002 --- account.py | 2 +- purchase.py | 2 +- sale.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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()