first commit
This commit is contained in:
12
modules/sale_gift_card/view/account_configuration_form.xml
Normal file
12
modules/sale_gift_card/view/account_configuration_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. -->
|
||||
<data>
|
||||
<xpath expr="/form" position="inside">
|
||||
<separator string="Gift Card" id="gift_card" colspan="4"/>
|
||||
<label name="gift_card_account_expense"/>
|
||||
<field name="gift_card_account_expense"/>
|
||||
<label name="gift_card_account_revenue"/>
|
||||
<field name="gift_card_account_revenue"/>
|
||||
</xpath>
|
||||
</data>
|
||||
9
modules/sale_gift_card/view/account_type_form.xml
Normal file
9
modules/sale_gift_card/view/account_type_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="//group[@id='checkboxes']" position="inside">
|
||||
<label name="gift_card"/>
|
||||
<field name="gift_card" xexpand="0" width="25"/>
|
||||
</xpath>
|
||||
</data>
|
||||
9
modules/sale_gift_card/view/configuration_form.xml
Normal file
9
modules/sale_gift_card/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="//field[@name='sale_sequence']" position="after">
|
||||
<label name="gift_card_sequence"/>
|
||||
<field name="gift_card_sequence"/>
|
||||
</xpath>
|
||||
</data>
|
||||
23
modules/sale_gift_card/view/gift_card_form.xml
Normal file
23
modules/sale_gift_card/view/gift_card_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>
|
||||
<label name="number"/>
|
||||
<field name="number"/>
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
|
||||
<label name="product"/>
|
||||
<field name="product"/>
|
||||
<newline/>
|
||||
|
||||
<label name="value"/>
|
||||
<field name="value" symbol=""/>
|
||||
<label name="currency"/>
|
||||
<field name="currency"/>
|
||||
|
||||
<label name="origin"/>
|
||||
<field name="origin"/>
|
||||
<label name="spent_on"/>
|
||||
<field name="spent_on"/>
|
||||
</form>
|
||||
9
modules/sale_gift_card/view/gift_card_list.xml
Normal file
9
modules/sale_gift_card/view/gift_card_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="number" expand="2"/>
|
||||
<field name="product" optional="0"/>
|
||||
<field name="value" expand="1"/>
|
||||
</tree>
|
||||
10
modules/sale_gift_card/view/move_form.xml
Normal file
10
modules/sale_gift_card/view/move_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" position="inside">
|
||||
<page name="gift_cards">
|
||||
<field name="gift_cards" colspan="4"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
10
modules/sale_gift_card/view/sale_form.xml
Normal file
10
modules/sale_gift_card/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="gift_cards">
|
||||
<field name="gift_cards" colspan="4" widget="many2many"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
12
modules/sale_gift_card/view/sale_line_form.xml
Normal file
12
modules/sale_gift_card/view/sale_line_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. -->
|
||||
<data>
|
||||
<xpath expr="//notebook/page[@id='taxes']" position="after">
|
||||
<page id="gift_cards" string="Gift Cards">
|
||||
<label name="gift_card_email"/>
|
||||
<field name="gift_card_email"/>
|
||||
<field name="gift_cards" colspan="4"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
10
modules/sale_gift_card/view/sale_point_sale_form.xml
Normal file
10
modules/sale_gift_card/view/sale_point_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="//page[@id='sale']" position="after">
|
||||
<page name="gift_cards">
|
||||
<field name="gift_cards" colspan="4" widget="many2many"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
13
modules/sale_gift_card/view/sale_point_sale_line_form.xml
Normal file
13
modules/sale_gift_card/view/sale_point_sale_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="//page[@id='general']" position="after">
|
||||
<page id="gift_cards" string="Gift Cards">
|
||||
<label name="gift_card_email"/>
|
||||
<field name="gift_card_email"/>
|
||||
|
||||
<label name="gift_cards" colspan="4"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -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="product"/>
|
||||
<field name="product"/>
|
||||
<label name="amount"/>
|
||||
<field name="amount"/>
|
||||
|
||||
<label name="email"/>
|
||||
<field name="email"/>
|
||||
|
||||
<field name="sale" colspan="4" invisible="1"/>
|
||||
</form>
|
||||
9
modules/sale_gift_card/view/template_form.xml
Normal file
9
modules/sale_gift_card/view/template_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="//page[@id='general']/group[@id='checkboxes']" position="inside">
|
||||
<label name="gift_card"/>
|
||||
<field name="gift_card" xexpand="0" width="25"/>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in New Issue
Block a user