From 03da68e8e683f2153e70056ee35180436bf918db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 8 Jun 2014 00:34:38 +0200 Subject: [PATCH] Remove with_on_change from default_get issue3923 --- invoice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invoice.py b/invoice.py index cf9907e604..38db340a61 100644 --- a/invoice.py +++ b/invoice.py @@ -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):