Remove accounts from products
The edition of accounting categories are limited to accounting administrators. If a product does not have an accounting category, the default value defined on the configuration are used. issue3805 review45111002
This commit is contained in:
1 parent
4344dc7c08
commit
dc6e017e2d
12 files changed
+91
-409
No files matched your search
@@ -4,11 +4,6 @@ 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_product_account_revenue"/>
|
||||
<field name="default_product_account_revenue"/>
|
||||
<label name="default_product_account_expense"/>
|
||||
<field name="default_product_account_expense"/>
|
||||
<separator id="category" string="Category" colspan="4"/>
|
||||
<label name="default_category_account_revenue"/>
|
||||
<field name="default_category_account_revenue"/>
|
||||
|
||||
@@ -3,11 +3,6 @@
|
||||
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="product_account_revenue"/>
|
||||
<field name="product_account_revenue"/>
|
||||
<label name="product_account_expense"/>
|
||||
<field name="product_account_expense"/>
|
||||
<separator id="category" string="Category" colspan="4"/>
|
||||
<label name="category_account_revenue"/>
|
||||
<field name="category_account_revenue"/>
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
<?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" position="inside">
|
||||
<newline/>
|
||||
<label name="default_accounts_category"/>
|
||||
<field name="default_accounts_category"/>
|
||||
<label name="default_taxes_category"/>
|
||||
<field name="default_taxes_category"/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -8,20 +8,6 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<page string="Accounting" col="4" id="accounting">
|
||||
<label name="account_category"/>
|
||||
<field name="account_category"/>
|
||||
<separator string="Accounts" id="accounts" colspan="4"/>
|
||||
<label name="accounts_category"/>
|
||||
<field name="accounts_category"/>
|
||||
<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_category"/>
|
||||
<field name="taxes_category"/>
|
||||
<newline/>
|
||||
<field name="customer_taxes" colspan="2"/>
|
||||
<field name="supplier_taxes" colspan="2"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in new issue
Block a user