Only allow the purchase request group to create quotations

issue9029
review262891002
This commit is contained in:
Maxime Richez committed 2020-03-25 23:52:03 +01:00
1 parent 5c54e2a430
commit 8ab3d649b2
2 files changed
+6

No files matched your search

+2
View File
@@ -1,3 +1,5 @@
* Only allow the purchase request group to create quotations
Version 5.4.0 - 2019-11-04
* Bug fixes (see mercurial logs for details)
+4
View File
@@ -124,6 +124,10 @@ this repository contains the full copyright notices and license terms. -->
<field name="model">purchase.request,-1</field>
<field name="action" ref="wizard_create_quotation"/>
</record>
<record model="ir.action-res.group" id="wizard_create_quotation_group_purchase_request">
<field name="action" ref="wizard_create_quotation"/>
<field name="group" ref="purchase_request.group_purchase_request"/>
</record>
<record model="ir.rule.group" id="rule_group_request_quotation">
<field name="name">User in company</field>