Remove with_on_change from default_get

issue3923
This commit is contained in:
Cédric Krier committed 2014-06-08 00:34:38 +02:00
1 parent 0d7278ed80
commit 03da68e8e6
1 file changed
+2 -2
+2 -2
View File
@@ -41,10 +41,10 @@ class InvoiceLine:
return fields
@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(InvoiceLine, 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):