[PS] training: impossible to define a training.config.contact.function

Bug #870077 reported by Julien Thewys
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Won't Fix
Undecided
Unassigned

Bug Description

Using revno 2399.

In training.py line 100, "function" field of training.config.contact.function is required=True.
Values are collected from res.partner.job records that have their own non blank "function" field.
But, in partner_view.xml line174, this "function" field is substituted by a "function_id" field, so it is impossible for an operator to define training.config.contact.function .

I think it is a design problem: we override a base_contact model in a non backward compatible way (while base_contact is itself already a non backward compatible override of res.partner.* ).

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Julien,

"training " is part of the extra-addons, which are maintained by the community, including all the modules created by "OpenERP" or "Tiny", as none of these are actively developed by our teams anymore.

So if you or anyone from the community would like to work on it, please mark the bug as "In progress" and assign it to yourself (or ask us or anyone from OpenERP Drivers to do it for you). In the mean time, I will mark it as "Won't fix" to indicate that no further progress is expected at the moment.
If you require further assistance with any similar trouble while updating the module, do not hesitate to ask here or via a question: https://answers.launchpad.net/openobject-addons

Thank you!

PS: For whomever works on fixing this, you probably want to apply/merge your changes in both the 6.0 and trunk branches of extra-addons:
https://code.launchpad.net/~openerp-commiter/openobject-addons/extra-6.0
https://code.launchpad.net/~openerp-commiter/openobject-addons/trunk-extra-addons

Changed in openobject-addons:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.