← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 787548] Re: module update does not create inherited custom fields in database

 

The proposed solution is to *not* _inherit custom fields. The fix is
probably to not copy those custom fields in the createInstance method in
osv.py.

** Changed in: openobject-server
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/787548

Title:
  module update does not create inherited custom fields in database

Status in OpenERP Server:
  Confirmed

Bug description:
  Steps:
  * create a new db with no modules except 'base'
  * add a custom field on 'res.partner.address' model
  * install 'crm_sale' module (we need 'crm.lead' which inherit 'res.partner.address')
  * stop server and do an "update all"
  * the custom field now exists in ir_model_fields for 'crm.lead' model but the column does not exist in 'crm_lead' table


References