Files
odoo_source/addons/stock_account/data/stock_account_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

20 lines
803 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<record forcecreate="True" id="default_category_cost_method" model="ir.property">
<field name="name">Cost Method Property</field>
<field name="fields_id" ref="field_product_category__property_cost_method"/>
<field name="value">standard</field>
<field name="type">selection</field>
</record>
<record forcecreate="True" id="default_category_valuation" model="ir.property">
<field name="name">Valuation Property</field>
<field name="fields_id" ref="field_product_category__property_valuation"/>
<field name="value">manual_periodic</field>
<field name="type">selection</field>
</record>
</data>
</odoo>