first commit
This commit is contained in:
23
modules/sale_complaint/view/action_form.xml
Normal file
23
modules/sale_complaint/view/action_form.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?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="complaint"/>
|
||||
<field name="complaint" colspan="5"/>
|
||||
|
||||
<label name="action"/>
|
||||
<field name="action"/>
|
||||
<label name="result"/>
|
||||
<field name="result"/>
|
||||
|
||||
<field name="sale_lines" colspan="6" product="line"/>
|
||||
|
||||
<field name="invoice_lines" colspan="6" product="line"/>
|
||||
|
||||
<label name="quantity"/>
|
||||
<field name="quantity" symbol="unit"/>
|
||||
<label name="unit_price"/>
|
||||
<field name="unit_price"/>
|
||||
<label name="amount"/>
|
||||
<field name="amount"/>
|
||||
</form>
|
||||
15
modules/sale_complaint/view/action_form_promotion_coupon.xml
Normal file
15
modules/sale_complaint/view/action_form_promotion_coupon.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="//field[@name='invoice_lines']" position="after">
|
||||
<label name="promotion_coupon"/>
|
||||
<field name="promotion_coupon"/>
|
||||
<label name="promotion_coupon_number"/>
|
||||
<field name="promotion_coupon_number"/>
|
||||
|
||||
<label name="promotion_coupon_duration"/>
|
||||
<field name="promotion_coupon_duration"/>
|
||||
<newline/>
|
||||
</xpath>
|
||||
</data>
|
||||
16
modules/sale_complaint/view/action_line_form.xml
Normal file
16
modules/sale_complaint/view/action_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 col="6">
|
||||
<label name="line"/>
|
||||
<field name="line"/>
|
||||
<label name="action"/>
|
||||
<field name="action"/>
|
||||
<newline/>
|
||||
|
||||
<label name="quantity"/>
|
||||
<field name="quantity" symbol="unit"/>
|
||||
<label name="unit_price"/>
|
||||
<field name="unit_price"/>
|
||||
<field name="amount"/>
|
||||
</form>
|
||||
10
modules/sale_complaint/view/action_line_list.xml
Normal file
10
modules/sale_complaint/view/action_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 editable="1">
|
||||
<field name="line"/>
|
||||
<field name="action"/>
|
||||
<field name="quantity" symbol="unit"/>
|
||||
<field name="unit_price"/>
|
||||
<field name="amount"/>
|
||||
</tree>
|
||||
9
modules/sale_complaint/view/action_list.xml
Normal file
9
modules/sale_complaint/view/action_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="complaint" expand="1"/>
|
||||
<field name="action" expand="1"/>
|
||||
<field name="amount" sum="1"/>
|
||||
<field name="result"/>
|
||||
</tree>
|
||||
51
modules/sale_complaint/view/complaint_form.xml
Normal file
51
modules/sale_complaint/view/complaint_form.xml
Normal file
@@ -0,0 +1,51 @@
|
||||
<?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="customer">
|
||||
<label name="reference"/>
|
||||
<field name="reference"/>
|
||||
<label name="number"/>
|
||||
<field name="number"/>
|
||||
|
||||
<label name="customer"/>
|
||||
<field name="customer"/>
|
||||
<label name="date"/>
|
||||
<field name="date"/>
|
||||
<notebook>
|
||||
<page string="Complaint" id="complaint">
|
||||
<label name="type"/>
|
||||
<field name="type" widget="selection"/>
|
||||
<label name="origin"/>
|
||||
<field name="origin"/>
|
||||
<separator name="description" colspan="2"/>
|
||||
<newline/>
|
||||
<field name="description" colspan="2"/>
|
||||
<field name="actions" colspan="2"/>
|
||||
</page>
|
||||
<page string="Other Info" id="other">
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
<newline/>
|
||||
|
||||
<label name="submitted_by"/>
|
||||
<field name="submitted_by"/>
|
||||
<label name="cancelled_by"/>
|
||||
<field name="cancelled_by"/>
|
||||
|
||||
<label name="approved_by"/>
|
||||
<field name="approved_by"/>
|
||||
<label name="rejected_by"/>
|
||||
<field name="rejected_by"/>
|
||||
</page>
|
||||
</notebook>
|
||||
<label name="state"/>
|
||||
<field name="state"/>
|
||||
<group col="-1" colspan="2" id="buttons">
|
||||
<button name="cancel" icon="tryton-cancel"/>
|
||||
<button name="draft"/>
|
||||
<button name="wait" icon="tryton-forward"/>
|
||||
<button name="approve" icon="tryton-forward"/>
|
||||
<button name="reject" icon="tryton-close"/>
|
||||
<button name="process" icon="tryton-launch"/>
|
||||
</group>
|
||||
</form>
|
||||
13
modules/sale_complaint/view/complaint_list.xml
Normal file
13
modules/sale_complaint/view/complaint_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="company" expand="1" optional="1"/>
|
||||
<field name="number" expand="1"/>
|
||||
<field name="reference" expand="1" optional="1"/>
|
||||
<field name="date" optional="0"/>
|
||||
<field name="customer" expand="2"/>
|
||||
<field name="type"/>
|
||||
<field name="state"/>
|
||||
<button name="process" multiple="1"/>
|
||||
</tree>
|
||||
9
modules/sale_complaint/view/configuration_form.xml
Normal file
9
modules/sale_complaint/view/configuration_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='sale_sequence']" position="after">
|
||||
<label name="complaint_sequence"/>
|
||||
<field name="complaint_sequence"/>
|
||||
</xpath>
|
||||
</data>
|
||||
8
modules/sale_complaint/view/party_form.xml
Normal file
8
modules/sale_complaint/view/party_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="//link[@name='sale.act_sale_line_relate']" position="after">
|
||||
<link icon="tryton-sale-complaint" name="sale_complaint.act_complaint_relate_party" empty="hide"/>
|
||||
</xpath>
|
||||
</data>
|
||||
8
modules/sale_complaint/view/sale_form.xml
Normal file
8
modules/sale_complaint/view/sale_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="//group[@id='links']" position="inside">
|
||||
<link icon="tryton-sale-complaint" name="sale_complaint.act_complaint_relate_sale"/>
|
||||
</xpath>
|
||||
</data>
|
||||
12
modules/sale_complaint/view/type_form.xml
Normal file
12
modules/sale_complaint/view/type_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. -->
|
||||
<form>
|
||||
<label name="name"/>
|
||||
<field name="name"/>
|
||||
<label name="active"/>
|
||||
<field name="active"/>
|
||||
|
||||
<label name="origin"/>
|
||||
<field name="origin"/>
|
||||
</form>
|
||||
7
modules/sale_complaint/view/type_list.xml
Normal file
7
modules/sale_complaint/view/type_list.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?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="2"/>
|
||||
<field name="origin" expand="1"/>
|
||||
</tree>
|
||||
Reference in New Issue
Block a user