20 lines
1.1 KiB
XML
20 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data noupdate="1">
|
|
|
|
<record forcecreate="True" id="property_stock_valuation_account_id" model="ir.property">
|
|
<field name="name">property_stock_valuation_account_id</field>
|
|
<field name="fields_id" search="[('model','=','product.category'),('name','=','property_stock_valuation_account_id')]"/>
|
|
<field eval="'account.account,'+str(ref('stk'))" model="account.account" name="value"/>
|
|
<field name="company_id" ref="base.main_company"/>
|
|
</record>
|
|
<record forcecreate="True" id="property_stock_journal" model="ir.property">
|
|
<field name="name">property_stock_journal</field>
|
|
<field name="fields_id" search="[('model','=','product.category'),('name','=','property_stock_journal'),('relation', '=', 'account.journal')]"/>
|
|
<field eval="'account.journal,'+str(ref('miscellaneous_journal'))" model="account.journal" name="value"/>
|
|
<field name="company_id" ref="base.main_company"/>
|
|
</record>
|
|
|
|
</data>
|
|
</odoo>
|