forked from OCA/product-attribute
-
Notifications
You must be signed in to change notification settings - Fork 0
/
product_view.xml
32 lines (28 loc) · 1.17 KB
/
product_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
<?xml version="1.0" encoding="utf-8"?>
<!--
product_quick_stock_rule 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_product -->
<record id="product_product_view_form" model="ir.ui.view">
<field name="name">product_quick_stock_rule.product_product.view_form</field>
<field name="model">product.product</field>
<field name="inherit_id" ref="product.product_normal_form_view" />
<field eval="30" name="priority"/>
<field name="type">form</field>
<field name="arch" type="xml">
<data>
<field name="orderpoint_ids" position="before">
<group name="quick_rule" colspan="2" col="4">
<field name="active_rule"/>
<field name="qty_min" attrs="{'readonly':[('active_rule', '=', False)]}"/>
</group>
</field>
</data>
</field>
</record>
</data>
</openerp>