[FIX] stock: add missing group on server action
This action is called from a product.template view and should be possible to be executed by any stock user X-original-commit: 177d5e833989a40726eff040ec1cc25bdef48c06
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
<record model="ir.actions.server" id="action_open_routes">
|
||||
<field name="name">Routes</field>
|
||||
<field name="model_id" ref="product.model_product_template"/>
|
||||
<field name="groups_id" eval="[(4,ref('stock.group_stock_user'))]"/>
|
||||
<field name="state">code</field>
|
||||
<field name="code">
|
||||
action = model.action_open_routes_diagram()
|
||||
|
||||
Reference in New Issue
Block a user