2011-01-16 22:05:34 +01:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
|
|
|
|
this repository contains the full copyright notices and license terms. -->
|
|
|
|
|
<tryton>
|
|
|
|
|
<data>
|
2012-02-06 16:58:42 +01:00
|
|
|
<record model="ir.ui.view" id="configuration_view_form">
|
|
|
|
|
<field name="model">account.configuration</field>
|
|
|
|
|
<field name="inherit" ref="account.configuration_view_form"/>
|
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
|
<![CDATA[
|
|
|
|
|
<data>
|
|
|
|
|
<xpath
|
|
|
|
|
expr="/form"
|
|
|
|
|
position="inside">
|
|
|
|
|
<newline/>
|
|
|
|
|
<label name="stock_journal"/>
|
|
|
|
|
<field name="stock_journal"/>
|
2012-09-07 15:51:58 +02:00
|
|
|
<label name="cost_price_counterpart_account"/>
|
|
|
|
|
<field name="cost_price_counterpart_account"/>
|
2012-02-06 16:58:42 +01:00
|
|
|
<newline/>
|
|
|
|
|
</xpath>
|
|
|
|
|
</data>
|
|
|
|
|
]]>
|
|
|
|
|
</field>
|
|
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
<record model="ir.property" id="property_stock_journal">
|
|
|
|
|
<field name="field"
|
|
|
|
|
search="[('model.model', '=', 'account.configuration'), ('name', '=', 'stock_journal')]"/>
|
|
|
|
|
<field name="value" eval="'account.journal,' + str(ref('account.journal_stock'))"/>
|
|
|
|
|
</record>
|
2011-01-16 22:05:34 +01:00
|
|
|
|
|
|
|
|
<record model="account.account.type.template"
|
|
|
|
|
id="account_type_template_asset_current_inventories">
|
|
|
|
|
<field name="name">Inventories</field>
|
|
|
|
|
<field name="parent" ref="account.account_type_template_asset_current"/>
|
|
|
|
|
<field name="sequence" eval="20"/>
|
|
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
<record model="account.account.template" id="account_template_stock">
|
|
|
|
|
<field name="name">Stock</field>
|
|
|
|
|
<field name="type" ref="account_type_template_asset_current_inventories"/>
|
|
|
|
|
<field name="reconcile" eval="True"/>
|
|
|
|
|
<field name="deferral" eval="True"/>
|
|
|
|
|
<field name="parent" ref="account.account_template_root"/>
|
2012-03-30 14:21:05 +02:00
|
|
|
<field name="kind">stock</field>
|
2011-01-16 22:05:34 +01:00
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
<record model="account.account.template" id="account_template_stock_supplier">
|
|
|
|
|
<field name="name">Stock Supplier</field>
|
|
|
|
|
<field name="type" ref="account_type_template_asset_current_inventories"/>
|
|
|
|
|
<field name="reconcile" eval="True"/>
|
|
|
|
|
<field name="deferral" eval="True"/>
|
|
|
|
|
<field name="parent" ref="account.account_template_root"/>
|
2012-03-30 14:21:05 +02:00
|
|
|
<field name="kind">stock</field>
|
2011-01-16 22:05:34 +01:00
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
<record model="account.account.template" id="account_template_stock_customer">
|
|
|
|
|
<field name="name">Stock Customer</field>
|
|
|
|
|
<field name="type" ref="account_type_template_asset_current_inventories"/>
|
|
|
|
|
<field name="reconcile" eval="True"/>
|
|
|
|
|
<field name="deferral" eval="True"/>
|
|
|
|
|
<field name="parent" ref="account.account_template_root"/>
|
2012-03-30 14:21:05 +02:00
|
|
|
<field name="kind">stock</field>
|
2011-01-16 22:05:34 +01:00
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
<record model="account.account.template" id="account_template_stock_lost_found">
|
|
|
|
|
<field name="name">Stock Lost and Found</field>
|
|
|
|
|
<field name="type" ref="account_type_template_asset_current_inventories"/>
|
|
|
|
|
<field name="reconcile" eval="True"/>
|
|
|
|
|
<field name="deferral" eval="True"/>
|
|
|
|
|
<field name="parent" ref="account.account_template_root"/>
|
2012-03-30 14:21:05 +02:00
|
|
|
<field name="kind">stock</field>
|
2011-01-16 22:05:34 +01:00
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
</data>
|
|
|
|
|
</tryton>
|