Skip to content

Commit

Permalink
Merge PR #692 into 12.0
Browse files Browse the repository at this point in the history
Signed-off-by lreficent
  • Loading branch information
OCA-git-bot committed Sep 3, 2019
2 parents fce3e7c + 0299c67 commit 5b06a89
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stock_request/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"name": "Stock Request",
"summary": "Internal request for stock",
"version": "12.0.1.1.1",
"version": "12.0.1.1.2",
"license": "LGPL-3",
"website": "https://github.com/stock-logistics-warehouse",
"author": "Eficent, "
Expand Down
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 5b06a89

Please sign in to comment.