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.
20 lines
803 B
XML
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>
|
|
|