~elbati/product-extra-addons/fix-updating-product-sequence

« back to all changes in this revision

Viewing changes to product_quick_stock_rule/product_view.xml

  • Committer: sebastien beau
  • Date: 2012-05-21 12:59:56 UTC
  • Revision ID: sebastien.beau@akretion.com.br-20120521125956-x1x56tvfahgczpy0
[ADD] add the module product_quick_stock_rule to manage easily your stock rule ;)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<!--
 
3
  product_quick_stock_rule for OpenERP
 
4
  Copyright (C) 2012 Akretion Sébastien BEAU <sebastien.beau@akretion.com>
 
5
  The licence is in the file __openerp__.py
 
6
-->
 
7
 
 
8
<openerp>
 
9
    <data>
 
10
    
 
11
        <!-- INHERITED VIEW FOR THE OBJECT : product_product -->
 
12
 
 
13
        <record id="product_product_view_form" model="ir.ui.view">
 
14
            <field name="name">product_quick_stock_rule.product_product.view_form</field>
 
15
            <field name="model">product.product</field>
 
16
            <field name="inherit_id" ref="product.product_normal_form_view" />
 
17
            <field eval="16" name="priority"/>
 
18
            <field name="type">form</field>
 
19
            <field name="arch" type="xml">
 
20
                <data>
 
21
                    <field name="orderpoint_ids" position="before">
 
22
                        <group name="quick_rule" colspan="2" col="4">
 
23
                            <field name="active_rule"/>
 
24
                            <field name="qty_min" attrs="{'readonly':[('active_rule', '=', False)]}"/>
 
25
                        </group>
 
26
                    </field>
 
27
                </data>
 
28
            </field>
 
29
        </record>
 
30
 
 
31
    </data>
 
32
</openerp>