Files
odoo_source/addons/stock_account/data/product_data.xml
T
Pratima Gupta 493502bc4a [IMP]stock_account: property_cost_method is removed from
product.product and product.template.

And use property_cost_method of product.category everywhare.

In This -
Used property_cost_method of product.category instead of cost_method or property_cost_method of product.template.

This commit is related to task#1866333.
2018-11-30 16:08:16 +05:30

18 lines
971 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<record forcecreate="True" id="property_stock_account_output_categ_id" model="ir.property">
<field name="name">property_stock_account_output_categ_id</field>
<field name="fields_id" search="[('model','=','product.category'),('name','=','property_stock_account_output_categ_id')]"/>
<field eval="False" name="value"/>
<field name="company_id" ref="base.main_company"/>
</record>
<record forcecreate="True" id="property_stock_account_input_categ_id" model="ir.property">
<field name="name">property_stock_account_input_categ_id</field>
<field name="fields_id" search="[('model','=','product.category'),('name','=','property_stock_account_input_categ_id')]"/>
<field eval="False" name="value"/>
<field name="company_id" ref="base.main_company"/>
</record>
</data>
</odoo>