c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #12891
[Bug 703875] Re: Make sale.order.line form view a real view
Yeah, but these views are not used in sale orders. Views used in sale
orders are defined in sale_view.xml lines 125 & 187, and can't be
inherited directly.
--
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/703875
Title:
Make sale.order.line form view a real view
Status in OpenObject Server:
New
Bug description:
Currently, the sale.order.line form view (which is used in every
sale.order) is defined as a subview : directly inside its one2many
field. This is not a good thing because you ca't inherit/extend it
without have to inherit the sale.order form view.
Example :
If you want to create a rent.order.line model (which inherits
sale.ordeR.line), to manage rent orders, you can't use the view
defined for sale.order.line.
Fix proposal :
The view should be defined as a plain view, with an XMLID, and
specified with 'form_view_ref' in the context of the one2many field.
This way, modules would inherit only this view.
Problem :
It might break some module that extended the sale.order form view to
edit sale order line form.
References