~extra-addons-commiter/product-extra-addons/oerp6.1-stable-product-images-renamed

« back to all changes in this revision

Viewing changes to product_images/views/product_images_view.xml

  • Committer: Alexis de Lattre
  • Date: 2012-11-27 09:04:01 UTC
  • Revision ID: alexis@via.ecp.fr-20121127090401-i4sg19g67ggmm60n
Add image on product.category.
Update description and clean-up headers and some code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
                                </xpath>
52
52
                        </field>
53
53
                </record>
 
54
 
 
55
        <record id="image_on_product_category" model="ir.ui.view">
 
56
            <field name="name">image_on_product.category</field>
 
57
            <field name="model">product.category</field>
 
58
            <field name="inherit_id" ref="product.product_category_form_view" />
 
59
            <field name="type">form</field>
 
60
            <field name="arch" type="xml">
 
61
                <field name="type" position="after">
 
62
                    <notebook colspan="4">
 
63
                        <page string="Image">
 
64
                            <field name="image_name" colspan="4"/>
 
65
                            <field name="image" widget="image" nolabel="1" filename="image_name" colspan="4"/>
 
66
                        </page>
 
67
                    </notebook>
 
68
                </field>
 
69
            </field>
 
70
        </record>
 
71
 
54
72
        </data>
55
73
</openerp>