1
<?xml version="1.0" encoding="utf-8"?>
3
product_links_goodies for OpenERP
4
Copyright (C) 2012 Akretion Sébastien BEAU <sebastien.beau@akretion.com>
5
The licence is in the file __openerp__.py
11
<!-- INHERITED VIEW FOR THE OBJECT : product_links -->
13
<record id="product_links_view_form" model="ir.ui.view">
14
<field name="name">product_links_goodies.product_links.view_form</field>
15
<field name="model">product.link</field>
16
<field name="inherit_id" ref="product_links.product_link_form" />
17
<field eval="16" name="priority"/>
18
<field name="type">form</field>
19
<field name="arch" type="xml">
20
<field name="type" position="after">
21
<group name='goodies_info' attrs="{'invisible':[('type','!=','goodies')]}" colspan="4">
22
<separator string="Goodies Information" colspan="4"/>
23
<field name="start_date"/>
24
<field name="end_date"/>
25
<field name="quantity"/>
26
<field name="supplier_goodies"/>
27
<field name="cost_price" attrs="{'invisible':[('supplier_goodies','!=',True)]}"/>
33
<record id="product_links_view_tree" model="ir.ui.view">
34
<field name="name">product_links_goodies.product_links.view_tree</field>
35
<field name="model">product.link</field>
36
<field name="inherit_id" ref="product_links.product_link_tree" />
37
<field eval="16" name="priority"/>
38
<field name="type">tree</field>
39
<field name="arch" type="xml">
40
<field name="type" position="after">
41
<field name="start_date"/>
42
<field name="end_date"/>