111 lines
4.9 KiB
XML
111 lines
4.9 KiB
XML
<?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>
|
|
<record model="ir.ui.view" id="update_cost_price_ask_form">
|
|
<field name="model">product.update_cost_price.ask</field>
|
|
<field name="type">form</field>
|
|
<field name="arch" type="xml">
|
|
<![CDATA[
|
|
<form string="Update Cost Price" cursor="cost_price">
|
|
<label name="product"/>
|
|
<field name="product"/>
|
|
<label name="cost_price"/>
|
|
<field name="cost_price"/>
|
|
</form>
|
|
]]>
|
|
</field>
|
|
</record>
|
|
<record model="ir.ui.view" id="update_cost_price_show_move_form">
|
|
<field name="model">product.update_cost_price.show_move</field>
|
|
<field name="type">form</field>
|
|
<field name="arch" type="xml">
|
|
<![CDATA[
|
|
<form string="Update Cost Price - Move">
|
|
<label name="description"/>
|
|
<field name="description" colspan="3"/>
|
|
<label name="journal"/>
|
|
<field name="journal"/>
|
|
<newline/>
|
|
<label name="amount"/>
|
|
<field name="amount"/>
|
|
<label name="price_difference"/>
|
|
<field name="price_difference"/>
|
|
<label name="stock_account"/>
|
|
<field name="stock_account"/>
|
|
<label name="counterpart"/>
|
|
<field name="counterpart"/>
|
|
</form>
|
|
]]>
|
|
</field>
|
|
</record>
|
|
<record model="ir.action.wizard" id="wizard_update_cost_price">
|
|
<field name="name">Update Cost Price</field>
|
|
<field name="wiz_name">product.update_cost_price</field>
|
|
</record>
|
|
<record model="ir.action.keyword" id="update_cost_price_keyword">
|
|
<field name="keyword">form_action</field>
|
|
<field name="model">product.product,-1</field>
|
|
<field name="action" ref="wizard_update_cost_price"/>
|
|
</record>
|
|
<record model="ir.action-res.group"
|
|
id="wizard_update_cost_price-group_account">
|
|
<field name="action" ref="wizard_update_cost_price"/>
|
|
<field name="group" ref="account.group_account" />
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="category_view_form">
|
|
<field name="model">product.category</field>
|
|
<field name="inherit" ref="product.category_view_form"/>
|
|
<field name="arch" type="xml">
|
|
<![CDATA[
|
|
<data>
|
|
<xpath
|
|
expr="/form/notebook/page[@id='accounting']/field[@name='account_expense']"
|
|
position="after">
|
|
<label name="account_stock"/>
|
|
<field name="account_stock"/>
|
|
<newline/>
|
|
<label name="account_stock_customer"/>
|
|
<field name="account_stock_customer"/>
|
|
<label name="account_stock_supplier"/>
|
|
<field name="account_stock_supplier"/>
|
|
<label name="account_stock_production"/>
|
|
<field name="account_stock_production"/>
|
|
<label name="account_stock_lost_found"/>
|
|
<field name="account_stock_lost_found"/>
|
|
</xpath>
|
|
</data>
|
|
]]>
|
|
</field>
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="template_view_form">
|
|
<field name="model">product.template</field>
|
|
<field name="inherit" ref="product.template_view_form"/>
|
|
<field name="arch" type="xml">
|
|
<![CDATA[
|
|
<data>
|
|
<xpath
|
|
expr="/form/notebook/page[@id='accounting']/field[@name='account_expense']"
|
|
position="after">
|
|
<label name="account_stock"/>
|
|
<field name="account_stock"/>
|
|
<newline/>
|
|
<label name="account_stock_customer"/>
|
|
<field name="account_stock_customer"/>
|
|
<label name="account_stock_supplier"/>
|
|
<field name="account_stock_supplier"/>
|
|
<label name="account_stock_production"/>
|
|
<field name="account_stock_production"/>
|
|
<label name="account_stock_lost_found"/>
|
|
<field name="account_stock_lost_found"/>
|
|
</xpath>
|
|
</data>
|
|
]]>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</tryton>
|