From 2e4aafa7dc26981066df7f7fa648241e6d13fd5e Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Tue, 23 Apr 2013 15:06:56 +0200 Subject: [PATCH] [FIX] res.partner: proper store trigger for display name field That was a stupid oversight, sorry! bzr revid: odo@openerp.com-20130423130656-celrtr352yht19ro --- addons/account_report_company/account_report_company.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account_report_company/account_report_company.py b/addons/account_report_company/account_report_company.py index 0c102fcc4e1..eacee60e13c 100644 --- a/addons/account_report_company/account_report_company.py +++ b/addons/account_report_company/account_report_company.py @@ -30,7 +30,7 @@ class res_partner(osv.Model): _display_name_store_triggers = { 'res.partner': (lambda self,cr,uid,ids,context=None: self.search(cr, uid, [('id','child_of',ids)]), - ['parent_id', 'is_company'], 10) + ['parent_id', 'is_company', 'name'], 10) } # indirection to avoid passing a copy of the overridable method when declaring the function field