first commit
This commit is contained in:
17
modules/customs/view/category_form.xml
Normal file
17
modules/customs/view/category_form.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?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="customs"/>
|
||||
<field name="customs" xexpand="0" width="25"/>
|
||||
</xpath>
|
||||
<xpath expr="/form/notebook" position="inside">
|
||||
<page string="Customs" id="customs">
|
||||
<label name="tariff_codes_parent"/>
|
||||
<field name="tariff_codes_parent"/>
|
||||
<field name="tariff_codes" colspan="4"
|
||||
view_ids="customs.product-tariff_code_view_list_sequence"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
14
modules/customs/view/customs_agent_form.xml
Normal file
14
modules/customs/view/customs_agent_form.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?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. -->
|
||||
<form>
|
||||
<label name="party"/>
|
||||
<field name="party"/>
|
||||
<label name="active"/>
|
||||
<field name="active"/>
|
||||
|
||||
<label name="address"/>
|
||||
<field name="address"/>
|
||||
<label name="tax_identifier"/>
|
||||
<field name="tax_identifier"/>
|
||||
</form>
|
||||
8
modules/customs/view/customs_agent_list.xml
Normal file
8
modules/customs/view/customs_agent_list.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. -->
|
||||
<tree>
|
||||
<field name="party" expand="2"/>
|
||||
<field name="address" expand="1" optional="0"/>
|
||||
<field name="tax_identifier" expand="1" optional="1"/>
|
||||
</tree>
|
||||
21
modules/customs/view/customs_agent_selection_form.xml
Normal file
21
modules/customs/view/customs_agent_selection_form.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?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. -->
|
||||
<form cursor="agent">
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
<label name="active"/>
|
||||
<field name="active"/>
|
||||
|
||||
<label name="agent"/>
|
||||
<field name="agent"/>
|
||||
<label name="sequence"/>
|
||||
<field name="sequence"/>
|
||||
|
||||
<separator string="Criteria" id="criteria" colspan="4"/>
|
||||
|
||||
<label name="from_country"/>
|
||||
<field name="from_country"/>
|
||||
<label name="to_country"/>
|
||||
<field name="to_country"/>
|
||||
</form>
|
||||
9
modules/customs/view/customs_agent_selection_list.xml
Normal file
9
modules/customs/view/customs_agent_selection_list.xml
Normal file
@@ -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. -->
|
||||
<tree>
|
||||
<field name="company" expand="1" optional="1"/>
|
||||
<field name="from_country" expand="1" optional="0"/>
|
||||
<field name="to_country" expand="1"/>
|
||||
<field name="agent" expand="2"/>
|
||||
</tree>
|
||||
@@ -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. -->
|
||||
<tree editable="1" sequence="sequence">
|
||||
<field name="company" expand="1" optional="1"/>
|
||||
<field name="from_country" expand="1" optional="0"/>
|
||||
<field name="to_country" expand="1"/>
|
||||
<field name="agent" expand="2"/>
|
||||
</tree>
|
||||
31
modules/customs/view/duty_rate_form.xml
Normal file
31
modules/customs/view/duty_rate_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. -->
|
||||
<form>
|
||||
<label name="tariff_code"/>
|
||||
<field name="tariff_code"/>
|
||||
<label name="type"/>
|
||||
<field name="type"/>
|
||||
|
||||
<label name="country"/>
|
||||
<field name="country" colspan="3"/>
|
||||
<label name="organization"/>
|
||||
<field name="organization" colspan="3"/>
|
||||
|
||||
<label name="start_date"/>
|
||||
<field name="start_date"/>
|
||||
<label name="end_date"/>
|
||||
<field name="end_date"/>
|
||||
<separator string="Computation" id="computation" colspan="4"/>
|
||||
<label name="computation_type"/>
|
||||
<field name="computation_type"/>
|
||||
<newline/>
|
||||
<label name="amount"/>
|
||||
<field name="amount"/>
|
||||
<label name="currency"/>
|
||||
<field name="currency"/>
|
||||
<newline/>
|
||||
<label name="uom"/>
|
||||
<field name="uom"/>
|
||||
<newline/>
|
||||
</form>
|
||||
11
modules/customs/view/duty_rate_list.xml
Normal file
11
modules/customs/view/duty_rate_list.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?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. -->
|
||||
<tree>
|
||||
<field name="tariff_code" expand="1"/>
|
||||
<field name="country" expand="1"/>
|
||||
<field name="organization" expand="1"/>
|
||||
<field name="type"/>
|
||||
<field name="start_date"/>
|
||||
<field name="end_date"/>
|
||||
</tree>
|
||||
11
modules/customs/view/product-tariff_code_form.xml
Normal file
11
modules/customs/view/product-tariff_code_form.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?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. -->
|
||||
<form col="6">
|
||||
<label name="product"/>
|
||||
<field name="product"/>
|
||||
<label name="tariff_code"/>
|
||||
<field name="tariff_code"/>
|
||||
<label name="sequence"/>
|
||||
<field name="sequence"/>
|
||||
</form>
|
||||
13
modules/customs/view/product-tariff_code_list.xml
Normal file
13
modules/customs/view/product-tariff_code_list.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. -->
|
||||
<tree>
|
||||
<field name="product" expand="2"/>
|
||||
<field name="tariff_code" expand="1"/>
|
||||
<field name="organization" optional="0"/>
|
||||
<field name="country" optional="0"/>
|
||||
<field name="start_day" optional="1"/>
|
||||
<field name="start_month" optional="1"/>
|
||||
<field name="end_day" optional="1"/>
|
||||
<field name="end_month" optional="1"/>
|
||||
</tree>
|
||||
13
modules/customs/view/product-tariff_code_list_sequence.xml
Normal file
13
modules/customs/view/product-tariff_code_list_sequence.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. -->
|
||||
<tree sequence="sequence">
|
||||
<field name="product" expand="2"/>
|
||||
<field name="tariff_code" expand="1"/>
|
||||
<field name="organization" optional="0"/>
|
||||
<field name="country" optional="0"/>
|
||||
<field name="start_day" optional="1"/>
|
||||
<field name="start_month" optional="1"/>
|
||||
<field name="end_day" optional="1"/>
|
||||
<field name="end_month" optional="1"/>
|
||||
</tree>
|
||||
28
modules/customs/view/tariff_code_form.xml
Normal file
28
modules/customs/view/tariff_code_form.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?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. -->
|
||||
<form>
|
||||
<label name="code"/>
|
||||
<field name="code"/>
|
||||
<label name="active"/>
|
||||
<field name="active"/>
|
||||
<label name="description"/>
|
||||
<field name="description" colspan="3"/>
|
||||
|
||||
<label name="country"/>
|
||||
<field name="country" colspan="3"/>
|
||||
|
||||
<label name="organization"/>
|
||||
<field name="organization" colspan="3"/>
|
||||
|
||||
<label id="from" string="From"/>
|
||||
<group id="start" col="2">
|
||||
<field name="start_day"/>
|
||||
<field name="start_month" widget="selection"/>
|
||||
</group>
|
||||
<label id="to" string="To"/>
|
||||
<group id="end" col="2">
|
||||
<field name="end_day"/>
|
||||
<field name="end_month" widget="selection"/>
|
||||
</group>
|
||||
</form>
|
||||
8
modules/customs/view/tariff_code_list.xml
Normal file
8
modules/customs/view/tariff_code_list.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. -->
|
||||
<tree>
|
||||
<field name="code" expand="1"/>
|
||||
<field name="country" expand="1"/>
|
||||
<field name="organization" expand="1"/>
|
||||
</tree>
|
||||
18
modules/customs/view/template_form.xml
Normal file
18
modules/customs/view/template_form.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?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" position="inside">
|
||||
<page string="Customs" id="customs">
|
||||
<label name="customs_category"/>
|
||||
<field name="customs_category"/>
|
||||
<label name="country_of_origin"/>
|
||||
<field name="country_of_origin"/>
|
||||
|
||||
<label name="tariff_codes_category"/>
|
||||
<field name="tariff_codes_category"/>
|
||||
<field name="tariff_codes" colspan="4"
|
||||
view_ids="customs.product-tariff_code_view_list_sequence"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in New Issue
Block a user