Remove default read access
issue2067 review109003
This commit is contained in:
@@ -72,5 +72,22 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="value" eval="'ir.sequence,' + str(ref('sequence_shipment_internal'))"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.model.access" id="access_configuration">
|
||||
<field name="model" search="[('model', '=', 'stock.configuration')]"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_delete" eval="False"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.model.access" id="access_configuration_admin">
|
||||
<field name="model" search="[('model', '=', 'stock.configuration')]"/>
|
||||
<field name="group" ref="group_stock_admin"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_write" eval="True"/>
|
||||
<field name="perm_create" eval="True"/>
|
||||
<field name="perm_delete" eval="True"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</tryton>
|
||||
|
||||
+2
-2
@@ -189,7 +189,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
|
||||
<record model="ir.model.access" id="access_inventory">
|
||||
<field name="model" search="[('model', '=', 'stock.inventory')]"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_read" eval="False"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_delete" eval="False"/>
|
||||
@@ -205,7 +205,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
|
||||
<record model="ir.model.access" id="access_inventory_line">
|
||||
<field name="model" search="[('model', '=', 'stock.inventory.line')]"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_read" eval="False"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_delete" eval="False"/>
|
||||
|
||||
@@ -150,7 +150,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
|
||||
<record model="ir.model.access" id="access_move">
|
||||
<field name="model" search="[('model', '=', 'stock.move')]"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_read" eval="False"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_delete" eval="False"/>
|
||||
|
||||
@@ -14,6 +14,11 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="model">party.party,-1</field>
|
||||
<field name="action" ref="act_shipment_out_form2"/>
|
||||
</record>
|
||||
<record model="ir.action-res.group"
|
||||
id="act_shipment_out_form2-group_stock">
|
||||
<field name="action" ref="act_shipment_out_form2"/>
|
||||
<field name="group" ref="group_stock"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.action.act_window" id="act_shipment_out_form3">
|
||||
<field name="name">Supplier Shipments</field>
|
||||
@@ -26,6 +31,11 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="model">party.party,-1</field>
|
||||
<field name="action" ref="act_shipment_out_form3"/>
|
||||
</record>
|
||||
<record model="ir.action-res.group"
|
||||
id="act_shipment_out_form3-group_stock">
|
||||
<field name="action" ref="act_shipment_out_form3"/>
|
||||
<field name="group" ref="group_stock"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</tryton>
|
||||
|
||||
+16
@@ -58,6 +58,14 @@ this repository contains the full copyright notices and license terms. -->
|
||||
|
||||
<record model="ir.model.access" id="access_period">
|
||||
<field name="model" search="[('model', '=', 'stock.period')]"/>
|
||||
<field name="perm_read" eval="False"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_delete" eval="False"/>
|
||||
</record>
|
||||
<record model="ir.model.access" id="access_period_stock">
|
||||
<field name="model" search="[('model', '=', 'stock.period')]"/>
|
||||
<field name="group" ref="group_stock"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
@@ -107,6 +115,14 @@ this repository contains the full copyright notices and license terms. -->
|
||||
|
||||
<record model="ir.model.access" id="access_period_cache_cache">
|
||||
<field name="model" search="[('model', '=', 'stock.period.cache')]"/>
|
||||
<field name="perm_read" eval="False"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_delete" eval="False"/>
|
||||
</record>
|
||||
<record model="ir.model.access" id="access_period_cache_cache_stock">
|
||||
<field name="model" search="[('model', '=', 'stock.period.cache')]"/>
|
||||
<field name="group" ref="group_stock"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
|
||||
@@ -62,6 +62,11 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="model">product.product,-1</field>
|
||||
<field name="action" ref="wizard_location_open"/>
|
||||
</record>
|
||||
<record model="ir.action-res.group"
|
||||
id="wizard_location_open-group_stock">
|
||||
<field name="action" ref="wizard_location_open"/>
|
||||
<field name="group" ref="group_stock"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="product_stock_date_init_view_form">
|
||||
<field name="model">stock.product_stock_date.init</field>
|
||||
|
||||
+5
-5
@@ -1415,7 +1415,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<!-- Model Access -->
|
||||
<record model="ir.model.access" id="access_shipment_in">
|
||||
<field name="model" search="[('model', '=', 'stock.shipment.in')]"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_read" eval="False"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_delete" eval="False"/>
|
||||
@@ -1439,7 +1439,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
|
||||
<record model="ir.model.access" id="access_shipment_out">
|
||||
<field name="model" search="[('model', '=', 'stock.shipment.out')]"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_read" eval="False"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_delete" eval="False"/>
|
||||
@@ -1463,7 +1463,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
|
||||
<record model="ir.model.access" id="access_shipment_internal">
|
||||
<field name="model" search="[('model', '=', 'stock.shipment.internal')]"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_read" eval="False"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_delete" eval="False"/>
|
||||
@@ -1487,7 +1487,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
|
||||
<record model="ir.model.access" id="access_shipment_out_return">
|
||||
<field name="model" search="[('model', '=', 'stock.shipment.out.return')]"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_read" eval="False"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_delete" eval="False"/>
|
||||
@@ -1511,7 +1511,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
|
||||
<record model="ir.model.access" id="access_shipment_in_return">
|
||||
<field name="model" search="[('model', '=', 'stock.shipment.in.return')]"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_read" eval="False"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_delete" eval="False"/>
|
||||
|
||||
@@ -50,6 +50,12 @@ this repository contains the full copyright notices and license terms. -->
|
||||
</record>
|
||||
<menuitem name="Inventory & Stock" sequence="3" id="menu_stock"
|
||||
icon="tryton-inventory"/>
|
||||
<record model="ir.ui.menu-res.group"
|
||||
id="menu_stock_group_stock">
|
||||
<field name="menu" ref="menu_stock"/>
|
||||
<field name="group" ref="group_stock"/>
|
||||
</record>
|
||||
|
||||
<menuitem name="Configuration" parent="menu_stock"
|
||||
id="menu_configuration" sequence="0" icon="tryton-preferences"/>
|
||||
<record model="ir.ui.menu-res.group"
|
||||
|
||||
Reference in New Issue
Block a user