on_change methods must not return anyting
issue4667 review8081002
This commit is contained in:
1 parent
17996abfbe
commit
8fd7cc7944
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -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):
|
||||
|
||||
+1
-1
@@ -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()
|
||||
Reference in new issue
Block a user