← Back to team overview

openerp-india team mailing list archive

[Bug 790090] Re: column passport_id_move is created everytime I update module HR

 

This pathological case was fixed for the hr_payroll module in 6.1. In any case this is a minor issue that causes useless columns to be created in the database during successive updates. The OpenERP API does not officially support inheriting a field and replacing it with a different type of field - the behavior is rather undefined in that case, and I'm not sure I see a good reason to work on it.
The only acceptable cases of inheritance are those where a field is overridden with a compatible type, e.g. changing only a few parameters of the field definition, or replacing a static field by a stored function field of the same type.

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

** Changed in: openobject-server
       Status: Triaged => Fix Released

** Changed in: openobject-server
    Milestone: None => 6.1

-- 
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/790090

Title:
  column passport_id_move is created everytime I update module HR

Status in OpenERP Server:
  Fix Released

Bug description:
  Hi,

  Everytime I update module HR, a new column is created in table
  hr_employee, passport_id_move0, passport_id_move1,...I wonder why? Is
  there any issue with this? Other columns are not duplicated like this.
  This is the only one case I see. I already updated to all latest
  version server (3436), webclient(4622), addons (4612).

  Thanks,

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