← Back to team overview

openerp-india team mailing list archive

[Bug 1006223] Re: [6.1] When upgrade custom inherited module then stored function fields has dropped from databases

 

** Changed in: openobject-server
       Status: Expired => Invalid

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1006223

Title:
  [6.1] When upgrade custom inherited module then stored function fields
  has dropped from databases

Status in OpenERP Server:
  Invalid

Bug description:
  I have two separated custom module such as module A and module B. Both
  modules inherited by res.partner.

  In the module A i defined few function field with store=True attributes.
  ...
  'city': fields.function(_get_address_attr, method=True, type='char', size=128, string='City', 
                  store={'res.partner.address': (_get_partner_address, None, 10),}, multi="address"),
  ...

  In the module B i defined some additional char fields.

  When i upgrade module B then city field has been dropped in database.

  I think this is a bug.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1006223/+subscriptions


References