1
<?xml version="1.0" encoding="UTF-8"?>
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" />