← Back to team overview

credativ team mailing list archive

lp:~sylvain-legal/openupgrade-server/fix-res_partner-multi_company into lp:openupgrade-server

 

Sylvain LE GAL (GRAP) has proposed merging lp:~sylvain-legal/openupgrade-server/fix-res_partner-multi_company into lp:openupgrade-server.

Commit message:
[FIX] include 'company_id' in the creation of new res_partner (from obsolete res_partner_address)

Requested reviews:
  OpenUpgrade Committers (openupgrade-committers)
Related bugs:
  Bug #1239857 in OpenUpgrade Server: "[7.0] incorrect migration of res.partner if many companies"
  https://bugs.launchpad.net/openupgrade-server/+bug/1239857

For more details, see:
https://code.launchpad.net/~sylvain-legal/openupgrade-server/fix-res_partner-multi_company/+merge/191069

[FIX] include 'company_id' in the creation of new res_partner (from obsolete res_partner_address)
-- 
https://code.launchpad.net/~sylvain-legal/openupgrade-server/fix-res_partner-multi_company/+merge/191069
Your team OpenUpgrade Committers is requested to review the proposed merge of lp:~sylvain-legal/openupgrade-server/fix-res_partner-multi_company into lp:openupgrade-server.
=== modified file 'openerp/addons/base/migrations/7.0.1.3/post-migration.py'
--- openerp/addons/base/migrations/7.0.1.3/post-migration.py	2013-09-13 20:11:15 +0000
+++ openerp/addons/base/migrations/7.0.1.3/post-migration.py	2013-10-14 22:09:09 +0000
@@ -74,7 +74,7 @@
     fields = [
         'id', 'birthdate', 'city', 'country_id', 'email', 'fax', 'function',
         'mobile', 'phone', 'state_id', 'street', 'street2', 'type', 'zip',
-        'partner_id', 'name',
+        'partner_id', 'name', 'company_id'
         ]
     propagate_fields = [
         'lang', 'tz',


Follow ups