product_get_cost_field: standard_price replaced in tree view, provoking incompatibilities
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Financial controlling and costing |
Fix Released
|
Undecided
|
Guewen Baconnier @ Camptocamp |
Bug Description
In product_
Now, if another module wants to use the standard_price as reference, or for the searches, the field is missing.
Instead of being replaced, the field should be set as invisible.
Example of view that is broken when this module is installed (in sale_markup)
<record model="ir.ui.view" id="sale_
<field name="name"
<field name="model"
<field name="inherit_id" ref="product.
<field name="arch" type="xml">
<field name="standard_
<field name="markup_rate"
</field>
</field>
</record>
Related branches
- Yannick Vaucher @ Camptocamp: Approve (code review, no test)
- Pedro Manuel Baeza: Approve (code review)
-
Diff: 17 lines (+4/-1)1 file modifiedproduct_get_cost_field/product_view.xml (+4/-1)
description: | updated |
Changed in margin-analysis: | |
status: | New → Fix Committed |
assignee: | nobody → Guewen Baconnier @ Camptocamp (gbaconnier-c2c) |
Changed in margin-analysis: | |
status: | Fix Committed → Fix Released |