diff options
| author | Olivier Dony <odo@openerp.com> | 2013-04-23 15:06:56 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2013-04-23 15:06:56 +0200 |
| commit | 2e4aafa7dc26981066df7f7fa648241e6d13fd5e (patch) | |
| tree | 9268d43d1accef4b4c90b707143a1b55735f118b | |
| parent | e5736828f9eaa9de22360b52f6c31267cc2ee892 (diff) | |
[FIX] res.partner: proper store trigger for display name field
That was a stupid oversight, sorry!
bzr revid: odo@openerp.com-20130423130656-celrtr352yht19ro
| -rw-r--r-- | addons/account_report_company/account_report_company.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
