~openerp-community/openobject-addons/mgmtsystem

« back to all changes in this revision

Viewing changes to product_images_repository/product_image_view.xml

  • Committer: Guewen Baconnier @ CampToCamp
  • Date: 2011-02-04 14:04:12 UTC
  • Revision ID: guewen.baconnier@camptocamp.com-20110204140412-as7ntrmjnjbxa0f3
[ADD] Module product_images_repository, allow to store product's images in a repository on your server with a wizard to upload them on it.

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 model="ir.ui.view" id="view_product_image_form_inherit">
 
5
            <field name="name">product.images.form.inherit</field>
 
6
            <field name="model">product.images</field>
 
7
            <field name="type">form</field>
 
8
            <field name="inherit_id" ref="product_images_olbs.view_product_image_form"/>
 
9
            <field name="arch" type="xml">
 
10
                <xpath expr="/form/notebook/page[@string='Image']/group" position="before">
 
11
                        <separator string="Simple update image (use the shortcut on the right sidebar to simply attach a new media)" colspan="4" />
 
12
                        <field name="product_id" invisible="1" />
 
13
                    <button name="%(modify_product_media_act_window)d" string="Modify the image" type="action" attrs="{'readonly':[('product_id','=',False)]}" />
 
14
                        <separator string="Advanced media informations" colspan="4" />
 
15
                </xpath>
 
16
            </field>
 
17
        </record>
 
18
        </data>
 
19
</openerp>