2013-06-05 08:56:26 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
<record model="ir.ui.view" id="product_product_ext_form_view2">
|
|
|
|
<field name="name">product_extended.product.form.view</field>
|
2014-11-24 16:24:49 +00:00
|
|
|
<field name="model">product.template</field>
|
2013-06-05 08:56:26 +00:00
|
|
|
<field name="priority">3</field>
|
2014-11-24 16:24:49 +00:00
|
|
|
<field name="inherit_id" ref="product.product_template_only_form_view" />
|
2013-06-05 08:56:26 +00:00
|
|
|
<field name="arch" type="xml">
|
|
|
|
<field name="standard_price" position="after">
|
2013-06-06 14:48:35 +00:00
|
|
|
<button name="%(action_view_compute_price_wizard)d" string="Recompute price from BoM"
|
|
|
|
type="action" attrs="{'invisible': [('cost_method', '!=', 'standard')]}"
|
2014-04-15 11:29:15 +00:00
|
|
|
groups="stock_account.group_inventory_valuation"/>
|
2013-06-05 08:56:26 +00:00
|
|
|
</field>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
</data>
|
|
|
|
</openerp>
|
|
|
|
|