| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<odoo> |
| 3 |
|
| 4 |
<record id="product_template_view_form" model="ir.ui.view"> |
| 5 |
<field name="name">product.template.form.inherit.sale.product.configurator</field> |
| 6 |
<field name="model">product.template</field> |
| 7 |
<field name="inherit_id" ref="product.product_template_form_view"/> |
| 8 |
<field name="arch" type="xml"> |
| 9 |
<group name="upsell" position="attributes"> |
| 10 |
<attribute name="invisible">0</attribute> |
| 11 |
</group> |
| 12 |
<group name="upsell" position="inside"> |
| 13 |
<field name="optional_product_ids" |
| 14 |
widget="many2many_tags" |
| 15 |
options="{'color_field': 'color'}" |
| 16 |
domain="[('id', '!=', id), '|', ('company_id', '=', company_id), ('company_id', '=', False)]" |
| 17 |
context="{'search_product_product': True}" |
| 18 |
placeholder="Recommend when 'Adding to Cart' or quotation"/> |
| 19 |
</group> |
| 20 |
</field> |
| 21 |
</record> |
| 22 |
|
| 23 |
</odoo> |