first commit
This commit is contained in:
8
modules/company/view/company_config_start_form.xml
Normal file
8
modules/company/view/company_config_start_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. -->
|
||||
<form col="2">
|
||||
<image name="tryton-info" xexpand="0" xfill="0"/>
|
||||
<label string="You can now add your company into the system." id="add"
|
||||
yalign="0.5" xalign="0.0" xexpand="1"/>
|
||||
</form>
|
||||
27
modules/company/view/company_form.xml
Normal file
27
modules/company/view/company_form.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?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="party"/>
|
||||
<field name="party"/>
|
||||
<label name="currency"/>
|
||||
<field name="currency"/>
|
||||
<label name="timezone"/>
|
||||
<field name="timezone"/>
|
||||
<notebook colspan="6">
|
||||
<page name="employees" col="1">
|
||||
<field name="employees"/>
|
||||
</page>
|
||||
<page name="tax_identifiers">
|
||||
<field name="tax_identifiers" colspan="4"/>
|
||||
</page>
|
||||
<page string="Reports" col="1" id="reports">
|
||||
<separator name="logo"/>
|
||||
<field name="logo" widget="image" width="800" height="400"/>
|
||||
<separator name="header"/>
|
||||
<field name="header"/>
|
||||
<separator name="footer"/>
|
||||
<field name="footer"/>
|
||||
</page>
|
||||
</notebook>
|
||||
</form>
|
||||
8
modules/company/view/company_list.xml
Normal file
8
modules/company/view/company_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="1"/>
|
||||
<field name="currency" optional="1"/>
|
||||
<field name="timezone" optional="1"/>
|
||||
</tree>
|
||||
6
modules/company/view/company_list_simple.xml
Normal file
6
modules/company/view/company_list_simple.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?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="rec_name" expand="1" string="Company"/>
|
||||
</tree>
|
||||
19
modules/company/view/company_tax_identifier_form.xml
Normal file
19
modules/company/view/company_tax_identifier_form.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?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="tax_identifier">
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
<label name="sequence"/>
|
||||
<field name="sequence"/>
|
||||
|
||||
<label name="tax_identifier"/>
|
||||
<field name="tax_identifier" colspan="3"/>
|
||||
|
||||
<separator id="pattern" colspan="4"/>
|
||||
|
||||
<label name="country"/>
|
||||
<field name="country"/>
|
||||
<label name="organization"/>
|
||||
<field name="organization"/>
|
||||
</form>
|
||||
9
modules/company/view/company_tax_identifier_list.xml
Normal file
9
modules/company/view/company_tax_identifier_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 sequence="sequence">
|
||||
<field name="company" expand="1"/>
|
||||
<field name="country" expand="1"/>
|
||||
<field name="organization" expand="1"/>
|
||||
<field name="tax_identifier" expand="2"/>
|
||||
</tree>
|
||||
10
modules/company/view/cron_form.xml
Normal file
10
modules/company/view/cron_form.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?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="//notebook/page[@name='logs']" position="before">
|
||||
<page name="companies">
|
||||
<field name="companies" colspan="4"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
15
modules/company/view/employee_form.xml
Normal file
15
modules/company/view/employee_form.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?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="company"/>
|
||||
<field name="company"/>
|
||||
<label name="start_date"/>
|
||||
<field name="start_date"/>
|
||||
<label name="end_date"/>
|
||||
<field name="end_date"/>
|
||||
<label name="supervisor"/>
|
||||
<field name="supervisor"/>
|
||||
</form>
|
||||
6
modules/company/view/employee_list_simple.xml
Normal file
6
modules/company/view/employee_list_simple.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?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="rec_name" expand="1" string="Employee"/>
|
||||
</tree>
|
||||
10
modules/company/view/employee_tree.xml
Normal file
10
modules/company/view/employee_tree.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?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="1"/>
|
||||
<field name="company" expand="1" optional="1"/>
|
||||
<field name="supervisor" expand="1" optional="1"/>
|
||||
<field name="start_date" optional="1"/>
|
||||
<field name="end_date" optional="1"/>
|
||||
</tree>
|
||||
9
modules/company/view/sequence_form.xml
Normal file
9
modules/company/view/sequence_form.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. -->
|
||||
<data>
|
||||
<xpath expr="/form/field[@name='active']" position="after">
|
||||
<label name="company"/>
|
||||
<field name="company" colspan="3"/>
|
||||
</xpath>
|
||||
</data>
|
||||
8
modules/company/view/sequence_tree.xml
Normal file
8
modules/company/view/sequence_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="//field[@name='sequence_type']" position="after">
|
||||
<field name="company" expand="1" optional="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
17
modules/company/view/user_form.xml
Normal file
17
modules/company/view/user_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/notebook/page/separator[@name='signature']" position="before">
|
||||
<field name="companies" colspan="2" view_ids="company.company_view_list_simple"/>
|
||||
<field name="employees" colspan="2" view_ids="company.employee_view_list_simple"/>
|
||||
|
||||
<label name="company"/>
|
||||
<field name="company" widget="selection"/>
|
||||
<label name="employee"/>
|
||||
<field name="employee" widget="selection"/>
|
||||
|
||||
<label name="company_filter"/>
|
||||
<field name="company_filter"/>
|
||||
</xpath>
|
||||
</data>
|
||||
15
modules/company/view/user_form_preferences.xml
Normal file
15
modules/company/view/user_form_preferences.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?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/separator[@name='signature']" position="before">
|
||||
<label name="company"/>
|
||||
<group id="company" col="-1">
|
||||
<field name="company" widget="selection"/>
|
||||
<label name="company_filter"/>
|
||||
<field name="company_filter"/>
|
||||
</group>
|
||||
<label name="employee"/>
|
||||
<field name="employee" widget="selection"/>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in New Issue
Block a user