first commit
This commit is contained in:
@@ -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='with_refund']" position="after">
|
||||
<label name="with_agent"/>
|
||||
<field name="with_agent"/>
|
||||
</xpath>
|
||||
</data>
|
||||
22
modules/commission/view/agent_form.xml
Normal file
22
modules/commission/view/agent_form.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?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="type_"/>
|
||||
<field name="type_"/>
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
|
||||
<label name="plan"/>
|
||||
<field name="plan"/>
|
||||
<label name="currency"/>
|
||||
<field name="currency"/>
|
||||
|
||||
<field name="selections" colspan="4"/>
|
||||
<field name="products" colspan="4"/>
|
||||
</form>
|
||||
10
modules/commission/view/agent_list.xml
Normal file
10
modules/commission/view/agent_list.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="type_"/>
|
||||
<field name="company" expand="1"/>
|
||||
<field name="plan" expand="1" optional="0"/>
|
||||
<field name="pending_amount" optional="1"/>
|
||||
</tree>
|
||||
18
modules/commission/view/agent_selection_form.xml
Normal file
18
modules/commission/view/agent_selection_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. -->
|
||||
<form>
|
||||
<label name="agent"/>
|
||||
<field name="agent"/>
|
||||
<label name="sequence"/>
|
||||
<field name="sequence"/>
|
||||
<separator string="Criteria" id="criteria" colspan="4"/>
|
||||
<label name="start_date"/>
|
||||
<field name="start_date"/>
|
||||
<label name="end_date"/>
|
||||
<field name="end_date"/>
|
||||
<label name="party"/>
|
||||
<field name="party"/>
|
||||
<label name="employee"/>
|
||||
<field name="employee"/>
|
||||
</form>
|
||||
10
modules/commission/view/agent_selection_list.xml
Normal file
10
modules/commission/view/agent_selection_list.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"/>
|
||||
<field name="employee"/>
|
||||
<field name="agent"/>
|
||||
<field name="start_date"/>
|
||||
<field name="end_date"/>
|
||||
</tree>
|
||||
10
modules/commission/view/agent_selection_list_sequence.xml
Normal file
10
modules/commission/view/agent_selection_list_sequence.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 sequence="sequence">
|
||||
<field name="party"/>
|
||||
<field name="employee"/>
|
||||
<field name="agent"/>
|
||||
<field name="start_date"/>
|
||||
<field name="end_date"/>
|
||||
</tree>
|
||||
@@ -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. -->
|
||||
<form>
|
||||
<label name="from_"/>
|
||||
<field name="from_"/>
|
||||
<label name="to"/>
|
||||
<field name="to"/>
|
||||
<label name="type_"/>
|
||||
<field name="type_"/>
|
||||
|
||||
<field name="agents" colspan="4"/>
|
||||
</form>
|
||||
27
modules/commission/view/commission_form.xml
Normal file
27
modules/commission/view/commission_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>
|
||||
<label name="agent"/>
|
||||
<field name="agent"/>
|
||||
<label name="date"/>
|
||||
<field name="date"/>
|
||||
<label name="type_"/>
|
||||
<field name="type_"/>
|
||||
<label name="product"/>
|
||||
<field name="product"/>
|
||||
|
||||
<label name="origin"/>
|
||||
<field name="origin"/>
|
||||
<newline/>
|
||||
|
||||
<label name="base_amount"/>
|
||||
<field name="base_amount"/>
|
||||
<label name="amount"/>
|
||||
<field name="amount"/>
|
||||
|
||||
<label name="invoice_line"/>
|
||||
<field name="invoice_line"/>
|
||||
<label name="invoice_state"/>
|
||||
<field name="invoice_state"/>
|
||||
</form>
|
||||
12
modules/commission/view/commission_list.xml
Normal file
12
modules/commission/view/commission_list.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. -->
|
||||
<tree>
|
||||
<field name="type_"/>
|
||||
<field name="agent" expand="1"/>
|
||||
<field name="date" optional="0"/>
|
||||
<field name="base_amount" optional="1"/>
|
||||
<field name="amount" optional="0"/>
|
||||
<field name="invoice_state"/>
|
||||
<button name="invoice" multiple="1"/>
|
||||
</tree>
|
||||
10
modules/commission/view/invoice_form.xml
Normal file
10
modules/commission/view/invoice_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="/form/notebook/page[@id='info']/field[@name='company']"
|
||||
position="after">
|
||||
<label name="agent"/>
|
||||
<field name="agent"/>
|
||||
</xpath>
|
||||
</data>
|
||||
13
modules/commission/view/invoice_line_form.xml
Normal file
13
modules/commission/view/invoice_line_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="Commissions" id="commissions">
|
||||
<label name="principal"/>
|
||||
<field name="principal"/>
|
||||
<field name="commissions" colspan="4"/>
|
||||
<field name="from_commissions" colspan="4"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
10
modules/commission/view/party_form.xml
Normal file
10
modules/commission/view/party_form.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- 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 id="commissions" string="Commissions">
|
||||
<field name="agents" colspan="4" view_ids="commission.agent_selection_view_list_sequence"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
14
modules/commission/view/plan_form.xml
Normal file
14
modules/commission/view/plan_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="name"/>
|
||||
<field name="name"/>
|
||||
<newline/>
|
||||
<label name="commission_method"/>
|
||||
<field name="commission_method"/>
|
||||
<label name="commission_product"/>
|
||||
<field name="commission_product"/>
|
||||
<field name="lines" colspan="4"
|
||||
view_ids="commission.plan_line_view_list_sequence"/>
|
||||
</form>
|
||||
16
modules/commission/view/plan_line_form.xml
Normal file
16
modules/commission/view/plan_line_form.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?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="plan"/>
|
||||
<field name="plan"/>
|
||||
<label name="sequence"/>
|
||||
<field name="sequence"/>
|
||||
<label name="category"/>
|
||||
<field name="category"/>
|
||||
<label name="product"/>
|
||||
<field name="product"/>
|
||||
<separator id="formula" colspan="4"/>
|
||||
<label name="formula"/>
|
||||
<field name="formula" colspan="3"/>
|
||||
</form>
|
||||
10
modules/commission/view/plan_line_list.xml
Normal file
10
modules/commission/view/plan_line_list.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="plan" expand="1"/>
|
||||
<field name="sequence"/>
|
||||
<field name="category" expand="1"/>
|
||||
<field name="product" expand="1"/>
|
||||
<field name="formula" expand="2"/>
|
||||
</tree>
|
||||
8
modules/commission/view/plan_line_list_sequence.xml
Normal file
8
modules/commission/view/plan_line_list_sequence.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 sequence="sequence">
|
||||
<field name="category" expand="1"/>
|
||||
<field name="product" expand="1"/>
|
||||
<field name="formula" expand="2"/>
|
||||
</tree>
|
||||
6
modules/commission/view/plan_list.xml
Normal file
6
modules/commission/view/plan_list.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="name" expand="1"/>
|
||||
</tree>
|
||||
12
modules/commission/view/reporting_agent_graph_amount.xml
Normal file
12
modules/commission/view/reporting_agent_graph_amount.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. -->
|
||||
<graph>
|
||||
<x>
|
||||
<field name="agent"/>
|
||||
</x>
|
||||
<y>
|
||||
<field name="base_amount"/>
|
||||
<field name="amount"/>
|
||||
</y>
|
||||
</graph>
|
||||
11
modules/commission/view/reporting_agent_graph_number.xml
Normal file
11
modules/commission/view/reporting_agent_graph_number.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. -->
|
||||
<graph>
|
||||
<x>
|
||||
<field name="agent"/>
|
||||
</x>
|
||||
<y>
|
||||
<field name="number"/>
|
||||
</y>
|
||||
</graph>
|
||||
10
modules/commission/view/reporting_agent_list.xml
Normal file
10
modules/commission/view/reporting_agent_list.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 keyword_open="1">
|
||||
<field name="agent" expand="1"/>
|
||||
<field name="number" optional="1"/>
|
||||
<field name="base_amount" optional="0"/>
|
||||
<field name="base_amount_trend" expand="1" optional="0"/>
|
||||
<field name="amount" optional="0"/>
|
||||
</tree>
|
||||
@@ -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. -->
|
||||
<graph>
|
||||
<x>
|
||||
<field name="date"/>
|
||||
</x>
|
||||
<y>
|
||||
<field name="base_amount"/>
|
||||
<field name="amount"/>
|
||||
</y>
|
||||
</graph>
|
||||
@@ -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. -->
|
||||
<graph>
|
||||
<x>
|
||||
<field name="date"/>
|
||||
</x>
|
||||
<y>
|
||||
<field name="number"/>
|
||||
</y>
|
||||
</graph>
|
||||
@@ -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="date"/>
|
||||
<field name="number"/>
|
||||
<field name="base_amount"/>
|
||||
<field name="amount"/>
|
||||
</tree>
|
||||
18
modules/commission/view/reporting_context_form.xml
Normal file
18
modules/commission/view/reporting_context_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. -->
|
||||
<form>
|
||||
<group id="dates" colspan="2" col="4">
|
||||
<label name="from_date"/>
|
||||
<field name="from_date"/>
|
||||
<label name="to_date"/>
|
||||
<field name="to_date"/>
|
||||
</group>
|
||||
<label name="period"/>
|
||||
<field name="period"/>
|
||||
|
||||
<label name="type"/>
|
||||
<field name="type"/>
|
||||
<label name="invoiced"/>
|
||||
<field name="invoiced"/>
|
||||
</form>
|
||||
10
modules/commission/view/sale_form.xml
Normal file
10
modules/commission/view/sale_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="/form/notebook/page[@id='other']/field[@name='company']"
|
||||
position="after">
|
||||
<label name="agent"/>
|
||||
<field name="agent"/>
|
||||
</xpath>
|
||||
</data>
|
||||
11
modules/commission/view/sale_line_form.xml
Normal file
11
modules/commission/view/sale_line_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. -->
|
||||
<data>
|
||||
<xpath expr="/form/notebook/page[@id='general']" position="after">
|
||||
<page string="Commissions" id="commissions">
|
||||
<label name="principal"/>
|
||||
<field name="principal"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
9
modules/commission/view/stock_move_form.xml
Normal file
9
modules/commission/view/stock_move_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="//field[@name='cost_price']" position="after">
|
||||
<label name="commission_price"/>
|
||||
<field name="commission_price"/>
|
||||
</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='include_lost']" position="after">
|
||||
<label name="include_commission"/>
|
||||
<field name="include_commission" xexpand="0" width="25"/>
|
||||
</xpath>
|
||||
</data>
|
||||
10
modules/commission/view/template_form.xml
Normal file
10
modules/commission/view/template_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="/form/notebook" position="inside">
|
||||
<page string="Commissions" id="commissions">
|
||||
<field name="principals" colspan="4"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in New Issue
Block a user