You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
674 B

<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<!-- server action for rfq creation-->
<record id="action_product_rfq" model="ir.actions.server">
<field name="name">Create RFQ</field>
<field name="groups_id" eval="[(4, ref('purchase.group_purchase_user'))]"/>
<field name="model_id" ref="product.model_product_product"/>
<field name="binding_model_id" ref="product.model_product_product"/>
<field name="binding_view_types">list</field>
<field name="state">code</field>
<field name="code">
if records:
action = records.action_create_rfq()
</field>
</record>
</odoo>