diff --git a/purchase.py b/purchase.py index cb2d5e5f0c..78b72217bd 100644 --- a/purchase.py +++ b/purchase.py @@ -74,10 +74,10 @@ class PurchaseLine: return res @classmethod - def default_get(cls, fields, with_rec_name=True): + def default_get(cls, fields, with_rec_name=True, with_on_change=True): fields = [x for x in fields if not x.startswith('analytic_account_')] return super(PurchaseLine, cls).default_get(fields, - with_rec_name=with_rec_name) + with_rec_name=with_rec_name, with_on_change=with_on_change) @classmethod def read(cls, ids, fields_names=None):