~openerp-commiter/openobject-addons/extra-6.0

« back to all changes in this revision

Viewing changes to product_m2mcategories/product_view.xml

  • Committer: Sharoon Thomas
  • Date: 2009-08-16 04:28:55 UTC
  • mto: (3589.29.29 trunk-extra-addons)
  • mto: This revision was merged to the branch mainline in revision 3768.
  • Revision ID: sharoonthomas@teagarden.in-20090816042855-7cpmh10wwfphfbly
[ADD]product_m2mcategories:Allows for provision of multiple categories for a single product

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<openerp>
 
3
    <data>
 
4
        <record id="product_normal_form_view_rem_categid" model="ir.ui.view">
 
5
            <field name="name">product.normal.form</field>
 
6
            <field name="model">product.product</field>
 
7
            <field name="inherit_id" ref="product.product_normal_form_view" />
 
8
            <field name="type">form</field>
 
9
            <field eval="7" name="priority"/>
 
10
            <field name="arch" type="xml">
 
11
                <xpath expr="/form/notebook/page/group/field[@name='categ_id']" position="replace"/>
 
12
            </field>
 
13
        </record>
 
14
        <record id="product_normal_form_view_add_categids" model="ir.ui.view">
 
15
            <field name="name">product.normal.form</field>
 
16
            <field name="model">product.product</field>
 
17
            <field name="inherit_id" ref="product.product_normal_form_view" />
 
18
            <field name="type">form</field>
 
19
            <field eval="7" name="priority"/>
 
20
            <field name="arch" type="xml">
 
21
                <xpath expr="/form/notebook/page[@string='Information']" position="after">
 
22
                    <page string="Categorisation">
 
23
                        <field name="categ_id" colspan="2"/>
 
24
                        <newline/>
 
25
                        <separator string="Classification Categories" colspan="2"/>
 
26
                        <newline/>
 
27
                        <field name="categ_ids" nolabel="1" colspan="2"/>
 
28
                    </page>
 
29
                </xpath>
 
30
            </field>
 
31
        </record>
 
32
    </data>
 
33
</openerp>
 
 
b'\\ No newline at end of file'