Skip to content

Commit

Permalink
[FIX] stock_request: Inventory users now can validate Transfers from …
Browse files Browse the repository at this point in the history
…SRs _compute_qty
  • Loading branch information
HviorForgeFlow authored and OCA-git-bot committed Sep 3, 2019
1 parent fce3e7c commit a894105
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions stock_request/security/stock_request_security.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,16 @@
<field name="perm_unlink" eval="True"/>
<field name="domain_force">[('requested_by','=',user.id)]</field>
</record>

<record id="stock_request_user_inventory_user_rule" model="ir.rule">
<field name="name">Stock Request User Inventory User</field>
<field name="model_id" ref="model_stock_request"/>
<field name="groups" eval="[(6,0, [ref('stock.group_stock_user')])]"/>
<field name="perm_read" eval="True"/>
<field name="perm_write" eval="True"/>
<field name="perm_create" eval="False"/>
<field name="perm_unlink" eval="False"/>
</record>

<record id="stock_request_manager_rule" model="ir.rule">
<field name="name">Stock Request Manager</field>
Expand Down

0 comments on commit a894105

Please sign in to comment.