first commit
This commit is contained in:
21
modules/sale_product_customer/view/product_customer_form.xml
Normal file
21
modules/sale_product_customer/view/product_customer_form.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?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="template"/>
|
||||
<field name="template" colspan="3"/>
|
||||
<label name="product"/>
|
||||
<field name="product" colspan="3"/>
|
||||
<label name="party"/>
|
||||
<field name="party"/>
|
||||
<group id="sequence-active" col="-1" colspan="2">
|
||||
<label name="sequence"/>
|
||||
<field name="sequence"/>
|
||||
<label name="active"/>
|
||||
<field name="active"/>
|
||||
</group>
|
||||
<label name="name"/>
|
||||
<field name="name"/>
|
||||
<label name="code"/>
|
||||
<field name="code"/>
|
||||
</form>
|
||||
10
modules/sale_product_customer/view/product_customer_tree.xml
Normal file
10
modules/sale_product_customer/view/product_customer_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="template" expand="1"/>
|
||||
<field name="product" expand="1"/>
|
||||
<field name="party" expand="2"/>
|
||||
<field name="name" expand="1"/>
|
||||
<field name="code"/>
|
||||
</tree>
|
||||
@@ -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="template" expand="1"/>
|
||||
<field name="product" expand="1"/>
|
||||
<field name="party" expand="2"/>
|
||||
<field name="name" expand="1"/>
|
||||
<field name="code"/>
|
||||
</tree>
|
||||
@@ -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='product']" position="after">
|
||||
<label name="product_customer"/>
|
||||
<field name="product_customer"/>
|
||||
</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='product']" position="after">
|
||||
<label name="product_customer"/>
|
||||
<field name="product_customer"/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -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='product']" position="after">
|
||||
<field name="product_customer" expand="1" optional="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
9
modules/sale_product_customer/view/sale_line_form.xml
Normal file
9
modules/sale_product_customer/view/sale_line_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/notebook/page[@id='general']/field[@name='product']" position="after">
|
||||
<label name="product_customer"/>
|
||||
<field name="product_customer"/>
|
||||
</xpath>
|
||||
</data>
|
||||
8
modules/sale_product_customer/view/sale_line_tree.xml
Normal file
8
modules/sale_product_customer/view/sale_line_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="/tree/field[@name='product']" position="after">
|
||||
<field name="product_customer" optional="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -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="/tree/field[@name='product']" position="after">
|
||||
<field name="product_customer" optional="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
8
modules/sale_product_customer/view/template_form.xml
Normal file
8
modules/sale_product_customer/view/template_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="/form/notebook/page[@id='customers']/group[@id='customers_links']" position="before">
|
||||
<field name="product_customers" colspan="4" view_ids="sale_product_customer.product_customer_view_tree_sequence"/>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in New Issue
Block a user