diff --git a/sale.py b/sale.py index 25b27c1387..ce035d0e8a 100644 --- a/sale.py +++ b/sale.py @@ -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):