[FIX] res_partner: commercial partner sync
authorDenis Ledoux <dle@odoo.com>
Mon, 4 Aug 2014 12:34:08 +0000 (14:34 +0200)
committerDenis Ledoux <dle@odoo.com>
Mon, 4 Aug 2014 12:34:08 +0000 (14:34 +0200)
commit4a278809741d4e961ac13d3477a046d43b32cfa7
tree1faabdd7b1212e128e8c537d0bf78a9ac5f784b1
parent24933959628d54bee713f3736b089bb3b16fbde8
[FIX] res_partner: commercial partner sync

On child partner creation of a parent partner, the commercial_partner_id is not computed (and stored) in the create method.
Therefore, we should compute the commercial_partner_id before trying to sync his data
openerp/addons/base/res/res_partner.py