forked from OCA/e-commerce
-
Notifications
You must be signed in to change notification settings - Fork 4
/
product_links_view.xml
48 lines (44 loc) · 2 KB
/
product_links_view.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0" encoding="utf-8"?>
<!--
product_links_goodies for OpenERP
Copyright (C) 2012 Akretion Sébastien BEAU <[email protected]>
The licence is in the file __openerp__.py
-->
<openerp>
<data>
<!-- INHERITED VIEW FOR THE OBJECT : product_links -->
<record id="product_links_view_form" model="ir.ui.view">
<field name="name">product_links_goodies.product_links.view_form</field>
<field name="model">product.link</field>
<field name="inherit_id" ref="product_links.product_link_form" />
<field eval="16" name="priority"/>
<field name="type">form</field>
<field name="arch" type="xml">
<field name="type" position="after">
<group name='goodies_info' attrs="{'invisible':[('type','!=','goodies')]}" colspan="4">
<separator string="Goodies Information" colspan="4"/>
<field name="start_date"/>
<field name="end_date"/>
<field name="quantity"/>
<field name="uom_id"/>
<field name="supplier_goodies"/>
<field name="cost_price" attrs="{'invisible':[('supplier_goodies','!=',True)]}"/>
</group>
</field>
</field>
</record>
<record id="product_links_view_tree" model="ir.ui.view">
<field name="name">product_links_goodies.product_links.view_tree</field>
<field name="model">product.link</field>
<field name="inherit_id" ref="product_links.product_link_tree" />
<field eval="16" name="priority"/>
<field name="type">tree</field>
<field name="arch" type="xml">
<field name="type" position="after">
<field name="start_date"/>
<field name="end_date"/>
</field>
</field>
</record>
</data>
</openerp>