c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #00412
[Bug 589456] Re: ORM builds incorrect foreign key constraint
** Tags added: maintenance
--
ORM builds incorrect foreign key constraint
https://bugs.launchpad.net/bugs/589456
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.
Status in OpenObject Server: New
Bug description:
This can be seen in the hr_payroll module. hr_employee_grade _inherits from res.partner.function. The hr_contract has the "function" field altered to point to hr_employee_grade, rather than res.partner.function. The foreign key constraint built for hr_contract points to res_partner_function, not hr_employee_grade, as it should.