← Back to team overview

openerp-community-reviewer team mailing list archive

[Merge] lp:~camptocamp/margin-analysis/7.0-wrong-view-inheritance into lp:margin-analysis

 

Guewen Baconnier @ Camptocamp has proposed merging lp:~camptocamp/margin-analysis/7.0-wrong-view-inheritance into lp:margin-analysis.

Requested reviews:
  Margin Analysis Core Editors (margin-analysis-core-editors)

For more details, see:
https://code.launchpad.net/~camptocamp/margin-analysis/7.0-wrong-view-inheritance/+merge/198774

product_stock_cost_field_report cannot be installed when 'stock' is not installed due to a wrong inheritance
-- 
https://code.launchpad.net/~camptocamp/margin-analysis/7.0-wrong-view-inheritance/+merge/198774
Your team Margin Analysis Core Editors is requested to review the proposed merge of lp:~camptocamp/margin-analysis/7.0-wrong-view-inheritance into lp:margin-analysis.
=== modified file 'product_stock_cost_field_report/product_stock_view.xml'
--- product_stock_cost_field_report/product_stock_view.xml	2013-12-12 10:02:14 +0000
+++ product_stock_cost_field_report/product_stock_view.xml	2013-12-12 16:27:25 +0000
@@ -17,9 +17,9 @@
     <record id="view_product_standard_price_form" model="ir.ui.view">
         <field name="name">product.product.standard.price.form.inherit</field>
         <field name="model">product.product</field>
-        <field name="inherit_id" ref="product.product_normal_form_view"/>
+        <field name="inherit_id" ref="stock.view_product_standard_price_form"/>
         <field name="arch" type="xml">
-            <label string="Cost Price" for="standard_price" align="1.0" groups="base.group_user" position="before">
+            <label for="standard_price" position="before">
                 <label for="cost_price" align="1.0" groups="base.group_user"/>
                 <div groups="base.group_user">
                     <field name="cost_price" nolabel="1"/>


Follow ups