← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hello,

I have checked this issue and I have faced the same problem.

Because the problem of overriding field.

Passport_id field in hr module its type is char but in hr_payroll module hr.employee object is inherit  and passport_id field type override by m2o field.
Framework does not recommend changing the type of fields, as this leads to data loss... the only allowed change is going from a normal field to a stored function field with the same type (e.g from fields.char to fields.function(type=char, store=True)) because this does not need altering the database schema.

So this problem will be solved from addons side that's why I am assign
this to related R&D team.

** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: Incomplete => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

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

Title:
  column passport_id_move is created everytime I update module HR

Status in OpenERP Modules (addons):
  Confirmed

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,


References