first commit
This commit is contained in:
@@ -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="Product Recommendation" id="product_recommendation" colspan="4"/>
|
||||
<label name="product_recommendation_method"/>
|
||||
<field name="product_recommendation_method"/>
|
||||
<label name="product_recommendation_size"/>
|
||||
<field name="product_recommendation_size"/>
|
||||
</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="//group[@id='checkboxes']" position="inside">
|
||||
<label name="recommendable"/>
|
||||
<field name="recommendable" xexpand="0" width="25"/>
|
||||
</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='salable']" position="after">
|
||||
<field name="recommendable" optional="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
8
modules/sale_product_recommendation/view/sale_form.xml
Normal file
8
modules/sale_product_recommendation/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="//field[@name='lines']" position="after">
|
||||
<field name="recommended_products" colspan="4" view_ids="product.product_view_tree_simple"/>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in New Issue
Block a user