Merge lp:~sylvain-legal/openupgrade-server/fix-res_partner-multi_company into lp:openupgrade-server
Proposed by
Sylvain LE GAL (GRAP)
Status: | Merged |
---|---|
Merged at revision: | 4635 |
Proposed branch: | lp:~sylvain-legal/openupgrade-server/fix-res_partner-multi_company |
Merge into: | lp:openupgrade-server |
Diff against target: |
12 lines (+1/-1) 1 file modified
openerp/addons/base/migrations/7.0.1.3/post-migration.py (+1/-1) |
To merge this branch: | bzr merge lp:~sylvain-legal/openupgrade-server/fix-res_partner-multi_company |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Holger Brunn (Therp) | code review | Approve | |
Stefan Rijnhart (Opener) | Approve | ||
Review via email: mp+191069@code.launchpad.net |
Commit message
[FIX] include 'company_id' in the creation of new res_partner (from obsolete res_partner_
To post a comment you must log in.
Thank you! I was a bit surprised to see that company_id is set in 6.1 on the address independently of the partner, with no apparent syncronisation process. It seems to me that this could allow for slight corruptions in the partner structure. Would it not be safer to always take the company_id from the address partner? In that case, you can put the field in the propagate fields.