Change diff issue13891002_20001 for 4.0 series

This commit is contained in:
Raimon Esteve 2016-05-30 15:20:52 +02:00
parent 3fc77e30cf
commit fd28c50795
1 changed files with 5 additions and 15 deletions

View File

@ -1,19 +1,10 @@
# HG changeset patch
# User Sergi Almacellas Abellana <sergi@koolpi.com>
Add company access rule for inventories
issue4482
review13891002
Index: trytond/trytond/modules/stock/inventory.xml
===================================================================
--- a/trytond/trytond/modules/stock/inventory.xml
+++ b/trytond/trytond/modules/stock/inventory.xml
@@ -57,6 +57,15 @@
diff -r 95ad0421e638 trytond/trytond/modules/stock/inventory.xml
--- a/trytond/trytond/modules/stock/inventory.xml Wed May 11 11:24:37 2016 +0200
+++ b/trytond/trytond/modules/stock/inventory.xml Mon May 30 15:19:18 2016 +0200
@@ -59,6 +59,15 @@
<field name="name">inventory_line_tree</field>
</record>
+ <record model="ir.rule.group" id="rule_group_inventory">
+ <field name="model" search="[('model', '=', 'stock.inventory')]"/>
+ <field name="global_p" eval="True"/>
@ -26,4 +17,3 @@ Index: trytond/trytond/modules/stock/inventory.xml
<record model="ir.model.access" id="access_inventory">
<field name="model" search="[('model', '=', 'stock.inventory')]"/>
<field name="perm_read" eval="False"/>