product_view.xml 570 Bytes
Newer Older
François C. committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<?xml version="1.0" encoding="utf-8"?>
<openerp>
  <data>
    <record id="product_weight_form_view" model="ir.ui.view">
      <field name="name">product.weight.form</field>
      <field name="model">product.template</field>
      <field name="inherit_id" ref="product.product_template_form_view"/>
      <field name="arch" type="xml">
	    <field name="weight_net" position="after">
	            <button name="%(action_view_product_weight_update)d" type="action" string="update weights" class="oe_link" />
	    </field>
      </field>
    </record>
  </data>
</openerp>