1
<?xml version="1.0" encoding="utf-8"?>
5
<record model="ir.ui.view" id="product_relation_form">
6
<!-- must be unique in this module. -->
7
<field name="name">product.relation.form</field>
8
<field name="model">magento.product.relation</field>
9
<!--parent python entity -->
10
<!-- modulename.view -->
11
<field name="type">form</field>
12
<field name="arch" type="xml">
14
<field name="product_id" select="1" />
15
<field name="related_product" select="1" />
16
<field name="type" select="1" />
17
<separator string="Magento Values" colspan="4"/>
18
<field name="value_ids" colspan="4" nolabel="1">
21
<field name="value" />
25
<field name="value" />
32
<record model="ir.ui.view" id="product_relation_tree">
33
<!-- must be unique in this module. -->
34
<field name="name">product.relation.tree</field>
35
<field name="model">magento.product.relation</field>
36
<!--parent python entity -->
37
<!-- modulename.view -->
38
<field name="type">form</field>
39
<field name="arch" type="xml">
41
<field name="product_id" select="1" />
42
<field name="related_product" select="1" />
43
<field name="type" select="1" />
48
<record model="ir.ui.view" id="product_custom_product">
49
<field name="name">product.normal.form.custom.inherit</field>
50
<field name="model">product.product</field>
51
<field name="inherit_id" ref="product.product_normal_form_view"/>
52
<field name="type">form</field>
53
<field name="arch" type="xml">
54
<notebook position="inside">
55
<page string="Magento Product Link">
56
<separator string="Cross Selling " colspan="4"/>
57
<field name="magerp_cross_selling" colspan="4" nolabel="1" >
59
<field name="related_product" select="1" />
60
<field name="type" select="1" />
61
<separator string="Magento Values" colspan="4"/>
62
<field name="value_ids" colspan="4" nolabel="1">
65
<field name="value" />
69
<field name="value" />
75
<!-- <separator string="Related Selling " colspan="4"/>
76
<field name="magerp_related_selling" nolabel="1" domain="[('type', '=', 'related')]"/>
77
<separator string="Up Selling " colspan="4"/>
78
<field name="magerp_up_selling" nolabel="1" domain="[('type', '=', 'up_sell')]"/> -->
b'\\ No newline at end of file'