first commit
This commit is contained in:
12
modules/account_product/view/analytic_account_rule_form.xml
Normal file
12
modules/account_product/view/analytic_account_rule_form.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?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. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='journal']" position="after">
|
||||
<newline/>
|
||||
<label name="product"/>
|
||||
<field name="product"/>
|
||||
<label name="product_category"/>
|
||||
<field name="product_category"/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?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. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='journal']" position="after">
|
||||
<field name="product" expand="1" optional="0"/>
|
||||
<field name="product_category" expand="1" optional="0"/>
|
||||
</xpath>
|
||||
</data>
|
||||
31
modules/account_product/view/category_form.xml
Normal file
31
modules/account_product/view/category_form.xml
Normal file
@@ -0,0 +1,31 @@
|
||||
<?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. -->
|
||||
<data>
|
||||
<xpath expr="/form/group[@id='checkboxes']" position="inside">
|
||||
<label name="accounting"/>
|
||||
<field name="accounting" xexpand="0" width="25"/>
|
||||
</xpath>
|
||||
<xpath
|
||||
expr="/form/notebook/page[@id='childs']"
|
||||
position="before">
|
||||
<page string="Accounting" col="4" id="accounting">
|
||||
<separator string="Accounts" id="accounts" colspan="4"/>
|
||||
<label name="account_parent"/>
|
||||
<field name="account_parent"/>
|
||||
<newline/>
|
||||
<label name="account_revenue"/>
|
||||
<field name="account_revenue"/>
|
||||
<label name="account_expense"/>
|
||||
<field name="account_expense"/>
|
||||
<separator string="Taxes" id="taxes" colspan="4"/>
|
||||
<label name="taxes_parent"/>
|
||||
<field name="taxes_parent"/>
|
||||
<label name="supplier_taxes_deductible_rate"/>
|
||||
<field name="supplier_taxes_deductible_rate"/>
|
||||
|
||||
<field name="customer_taxes" colspan="2"/>
|
||||
<field name="supplier_taxes" colspan="2"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
8
modules/account_product/view/category_product_form.xml
Normal file
8
modules/account_product/view/category_product_form.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?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. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='templates']" position="after">
|
||||
<field name="accounting_templates" widget="many2many" colspan="2"/>
|
||||
</xpath>
|
||||
</data>
|
||||
13
modules/account_product/view/configuration_form.xml
Normal file
13
modules/account_product/view/configuration_form.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?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. -->
|
||||
<data>
|
||||
<xpath expr="/form/field[@name='default_account_payable']"
|
||||
position="after">
|
||||
<separator id="product" string="Product" colspan="4"/>
|
||||
<label name="default_category_account_revenue"/>
|
||||
<field name="default_category_account_revenue"/>
|
||||
<label name="default_category_account_expense"/>
|
||||
<field name="default_category_account_expense"/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?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. -->
|
||||
<data>
|
||||
<xpath expr="/form/field[@name='account_payable']" position="after">
|
||||
<separator id="product" string="Product" colspan="4"/>
|
||||
<label name="category_account_revenue"/>
|
||||
<field name="category_account_revenue"/>
|
||||
<label name="category_account_expense"/>
|
||||
<field name="category_account_expense"/>
|
||||
</xpath>
|
||||
</data>
|
||||
13
modules/account_product/view/template_form.xml
Normal file
13
modules/account_product/view/template_form.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?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. -->
|
||||
<data>
|
||||
<xpath
|
||||
expr="/form/notebook/page[@id='general']"
|
||||
position="after">
|
||||
<page string="Accounting" col="4" id="accounting">
|
||||
<label name="account_category"/>
|
||||
<field name="account_category"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
8
modules/account_product/view/template_tree.xml
Normal file
8
modules/account_product/view/template_tree.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?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. -->
|
||||
<data>
|
||||
<xpath expr="/tree/field[@name='type']" position="after">
|
||||
<field name="account_category" expand="1" optional="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in New Issue
Block a user