Remove with_on_change from default_get
issue3923
This commit is contained in:
1 parent
7664f95d12
commit
550670db8f
1 file changed
+2
-2
@@ -42,10 +42,10 @@ class SaleLine:
|
||||
return res
|
||||
|
||||
@classmethod
|
||||
def default_get(cls, fields, with_rec_name=True, with_on_change=True):
|
||||
def default_get(cls, fields, with_rec_name=True):
|
||||
fields = [x for x in fields if not x.startswith('analytic_account_')]
|
||||
return super(SaleLine, cls).default_get(fields,
|
||||
with_rec_name=with_rec_name, with_on_change=with_on_change)
|
||||
with_rec_name=with_rec_name)
|
||||
|
||||
@classmethod
|
||||
def read(cls, ids, fields_names=None):
|
||||
|
||||
Reference in new issue
Block a user