first commit
This commit is contained in:
16
modules/sale_promotion_coupon/view/coupon_form.xml
Normal file
16
modules/sale_promotion_coupon/view/coupon_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 cursor="number_of_use">
|
||||
<label name="promotion"/>
|
||||
<field name="promotion"/>
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
|
||||
<label name="number_of_use"/>
|
||||
<field name="number_of_use"/>
|
||||
<label name="per_party"/>
|
||||
<field name="per_party"/>
|
||||
|
||||
<field name="numbers" colspan="4"/>
|
||||
</form>
|
||||
9
modules/sale_promotion_coupon/view/coupon_list.xml
Normal file
9
modules/sale_promotion_coupon/view/coupon_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="promotion" expand="1"/>
|
||||
<field name="number_of_use"/>
|
||||
<field name="per_party"/>
|
||||
</tree>
|
||||
19
modules/sale_promotion_coupon/view/coupon_number_form.xml
Normal file
19
modules/sale_promotion_coupon/view/coupon_number_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>
|
||||
<label name="coupon"/>
|
||||
<field name="coupon" create="0"/>
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
|
||||
<label name="number"/>
|
||||
<field name="number"/>
|
||||
<label name="active"/>
|
||||
<field name="active"/>
|
||||
|
||||
<label name="start_date"/>
|
||||
<field name="start_date"/>
|
||||
<label name="end_date"/>
|
||||
<field name="end_date"/>
|
||||
</form>
|
||||
10
modules/sale_promotion_coupon/view/coupon_number_list.xml
Normal file
10
modules/sale_promotion_coupon/view/coupon_number_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="company" expand="1" optional="1"/>
|
||||
<field name="coupon" expand="1"/>
|
||||
<field name="number" expand="1"/>
|
||||
<field name="start_date" optional="1"/>
|
||||
<field name="end_date" optional="1"/>
|
||||
</tree>
|
||||
10
modules/sale_promotion_coupon/view/promotion_form.xml
Normal file
10
modules/sale_promotion_coupon/view/promotion_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="//page[@id='products']" position="after">
|
||||
<page name="coupons">
|
||||
<field name="coupons" mode="form,tree"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
10
modules/sale_promotion_coupon/view/sale_form.xml
Normal file
10
modules/sale_promotion_coupon/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="//notebook/page[@id='sale']" position="after">
|
||||
<page name="coupons">
|
||||
<field name="coupons" colspan="4"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in New Issue
Block a user