+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<openerp>
- <data>
- <record id="view_product_form_procurement_button" model="ir.ui.view">
- <field name="name">product.product.form</field>
- <field name="model">product.product</field>
- <field name="inherit_id" ref="procurement.product_form_view_procurement_button"/>
- <field name="arch" type="xml">
- <xpath expr="//button[@name='%(procurement.act_make_procurement)d']" position="replace">
- <button string="Request Procurement" name="%(procurement.act_make_procurement)d" type="action" attrs="{'invisible': [('membership','=', True)]}"/>
- </xpath>
- <xpath expr="//button[@name='%(procurement.product_open_orderpoint)d']" position="replace">
- <button string="Orderpoints" name="%(procurement.product_open_orderpoint)d" type="action" attrs="{'invisible': [('membership','=', True)]}"/>
- </xpath>
- </field>
- </record>
- </data>
-</openerp>