← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Public bug reported:

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.* ).

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/870077

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

Status in OpenERP Addons (modules):
  New

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.* ).

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


Follow ups

References