[MOD] stock_*, delivery : Modifications in access rights
bzr revid: vir@tinyerp.com-20100806105011-y4nnkgw377i4kkly
This commit is contained in:
@@ -6,4 +6,6 @@
|
||||
"access_delivery_grid_manager","delivery.grid","model_delivery_grid","base.group_sale_manager",1,1,1,1
|
||||
"access_delivery_grid_line_manager","delivery.grid.line","model_delivery_grid_line","base.group_sale_manager",1,1,1,1
|
||||
"access_delivery_carrier_partner_manager","delivery.carrier partner_manager","model_delivery_carrier","base.group_partner_manager",1,0,0,0
|
||||
"access_delivery_carrier_stock_worker","delivery.carrier stock_worker","model_delivery_carrier","stock.group_stock_user",1,0,0,0
|
||||
"access_delivery_carrier_stock_system","delivery.carrier stock_system","model_delivery_carrier","base.group_system",1,1,1,1
|
||||
"access_delivery_grid_system","delivery.grid.system","model_delivery_grid","base.group_system",1,1,1,1
|
||||
"access_delivery_grid_line_system","delivery.grid.line.system","model_delivery_grid_line","base.group_system",1,1,1,1
|
||||
|
||||
|
@@ -219,7 +219,7 @@
|
||||
<field name="search_view_id" eval="False"/>
|
||||
<field name="context">{'contact_display': 'partner', 'search_default_real':1, 'search_default_location_type_internal':1,'search_default_group_product':1,'search_default_group_location':1,'group_by':[], 'group_by_no_leaf':1}</field>
|
||||
</record>
|
||||
<menuitem action="action_stock_inventory_report" id="menu_action_stock_inventory_report" parent="next_id_61" sequence="4"/>
|
||||
<menuitem action="action_stock_inventory_report" id="menu_action_stock_inventory_report" parent="next_id_61" sequence="4" groups="base.group_system,base.group_user"/>
|
||||
|
||||
|
||||
</data>
|
||||
|
||||
@@ -1,28 +1,54 @@
|
||||
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
|
||||
"access_stock_incoterms_all","stock.incoterms all","model_stock_incoterms",,1,0,0,0
|
||||
"access_stock_incoterms_manager","stock.incoterms manager","model_stock_incoterms",stock.group_stock_manager,1,1,1,1
|
||||
"access_stock_incoterms_manager","stock.incoterms manager","model_stock_incoterms","stock.group_stock_manager",1,1,1,1
|
||||
"access_stock_warehouse_manager","stock.warehouse.manager","model_stock_warehouse","stock.group_stock_manager",1,1,1,1
|
||||
"access_stock_warehouse_user","stock.warehouse.user","model_stock_warehouse","base.group_user",1,0,0,0
|
||||
"access_stock_location_manager","stock.location.manager","model_stock_location","stock.group_stock_manager",1,1,1,1
|
||||
"access_stock_location_user","stock.location.user","model_stock_location","base.group_user",1,0,0,0
|
||||
"access_stock_location_manager","stock.location.manager","model_stock_location","stock.group_stock_manager",1,0,0,0
|
||||
"access_stock_location_user","stock.location.user","model_stock_location","base.group_user",1,1,1,1
|
||||
"access_stock_journal_user","stock.journal.user","model_stock_journal","base.group_user",1,0,0,0
|
||||
"access_stock_journal_manager","stock.journal.manager","model_stock_journal","stock.group_stock_manager",1,1,1,1
|
||||
"access_stock_tracking","stock.tracking","model_stock_tracking","stock.group_stock_user",1,1,1,0
|
||||
"access_stock_picking","stock.picking","model_stock_picking","stock.group_stock_user",1,1,1,1
|
||||
"access_stock_production_lot","stock.production.lot","model_stock_production_lot","stock.group_stock_user",1,1,1,0
|
||||
"access_stock_tracking_user","stock.tracking user","model_stock_tracking","stock.group_stock_user",1,1,1,1
|
||||
"access_stock_tracking_manager","stock.tracking manager","model_stock_tracking","stock.group_stock_manager",1,0,0,0
|
||||
"access_stock_tracking_system","stock.tracking systen","model_stock_tracking","base.group_system",1,0,0,0
|
||||
"access_stock_picking_user","stock.picking user","model_stock_picking","stock.group_stock_user",1,1,1,1
|
||||
"access_stock_picking_manager","stock.picking manager","model_stock_picking","stock.group_stock_manager",1,0,0,0
|
||||
"access_stock_picking_system","stock.picking system","model_stock_picking","base.group_system",1,0,0,0
|
||||
"access_stock_production_lot_manager","stock.production.lot manager","model_stock_production_lot","stock.group_stock_manager",1,0,0,0
|
||||
"access_stock_production_lot_system","stock.production.lot system","model_stock_production_lot","base.group_system",1,0,0,0
|
||||
"access_stock_production_lot_user","stock.production.lot user","model_stock_production_lot","stock.group_stock_user",1,1,1,1
|
||||
"access_stock_production_lot_revision","stock.production.lot.revision","model_stock_production_lot_revision","stock.group_stock_user",1,1,1,1
|
||||
"access_stock_move","stock.move","model_stock_move","stock.group_stock_user",1,1,1,1
|
||||
"access_stock_inventory","stock.inventory","model_stock_inventory","stock.group_stock_user",1,1,1,1
|
||||
"access_stock_inventory_line","stock.inventory.line","model_stock_inventory_line","stock.group_stock_user",1,1,1,1
|
||||
"access_stock_move_manager","stock.move manager","model_stock_move","stock.group_stock_manager",1,0,0,0
|
||||
"access_stock_move_user","stock.move user","model_stock_move","stock.group_stock_user",1,1,1,1
|
||||
"access_stock_move_system","stock.move system","model_stock_move","base.group_system",1,0,0,0
|
||||
"access_stock_inventory_user","stock.inventory user","model_stock_inventory","stock.group_stock_user",1,1,1,1
|
||||
"access_stock_inventory_system","stock.inventory system","model_stock_inventory","base.group_system",1,0,0,0
|
||||
"access_stock_inventory_manager","stock.inventory manager","model_stock_inventory","stock.group_stock_manager",1,0,0,0
|
||||
"access_stock_inventory_line_user","stock.inventory.line user","model_stock_inventory_line","stock.group_stock_user",1,1,1,1
|
||||
"access_stock_inventory_line_manager","stock.inventory.line manager","model_stock_inventory_line","stock.group_stock_manager",1,0,0,0
|
||||
"access_stock_inventory_line_system","stock.inventory.line system","model_stock_inventory_line","base.group_system",1,0,0,0
|
||||
"access_stock_report_prodlots","stock.report.prodlots","model_stock_report_prodlots","stock.group_stock_manager",1,0,0,0
|
||||
"access_stock_location_product_manager","stock.location product manager","model_stock_location","product.group_product_manager",1,0,0,0
|
||||
"access_stock_lines_date","report.stock.lines.date all","model_report_stock_lines_date",stock.group_stock_user,1,0,0,0
|
||||
"access_stock_lines_date_user","report.stock.lines.date user","model_report_stock_lines_date","stock.group_stock_user",1,0,0,0
|
||||
"access_stock_lines_date_manager","report.stock.lines.date manager","model_report_stock_lines_date","stock.group_stock_manager",1,1,1,1
|
||||
"access_stock_lines_date_system","report.stock.lines.date system","model_report_stock_lines_date","base.group_system",1,0,0,0
|
||||
"access_stock_report_tracklots","stock.report.tracklots","model_stock_report_tracklots","stock.group_stock_user",1,1,1,1
|
||||
"access_report_products_to_received_planned","report.products.to.received.planned","model_report_products_to_received_planned","stock.group_stock_user",1,1,1,1
|
||||
"access_report_delivery_products_planned","report.delivery.products.planned","model_report_delivery_products_planned","stock.group_stock_user",1,1,1,1
|
||||
"access_report_stock_move","report.stock.move","model_report_stock_move","stock.group_stock_user",1,0,0,0
|
||||
"access_report_stock_move","report.stock.move","model_report_stock_move","stock.group_stock_manager",1,1,1,1
|
||||
"access_report_stock_inventory","report.stock.inventory","model_report_stock_inventory","stock.group_stock_user",1,1,1,1
|
||||
"access_report_stock_inventory","report.stock.inventory","model_report_stock_inventory","stock.group_stock_manager",1,1,1,1
|
||||
"access_report_stock_picking","report.stock.picking","model_report_stock_picking","stock.group_stock_user",1,1,1,1
|
||||
"access_report_stock_picking","report.stock.picking","model_report_stock_picking","stock.group_stock_manager",1,1,1,1
|
||||
"access_report_stock_move_user","report.stock.move user","model_report_stock_move","stock.group_stock_user",1,0,0,0
|
||||
"access_report_stock_move_system","report.stock.move system","model_report_stock_move","base.group_system",1,0,0,0
|
||||
"access_report_stock_move_manager","report.stock.move manager","model_report_stock_move","stock.group_stock_manager",1,1,1,1
|
||||
"access_report_stock_inventory_user","report.stock.inventory user","model_report_stock_inventory","stock.group_stock_user",1,1,1,1
|
||||
"access_report_stock_inventory_manager","report.stock.inventory manager","model_report_stock_inventory","stock.group_stock_manager",1,1,1,1
|
||||
"access_report_stock_inventory_system","report.stock.inventory system","model_report_stock_inventory","base.group_system",1,0,0,0
|
||||
"access_report_stock_picking_user","report.stock.picking user","model_report_stock_picking","stock.group_stock_user",1,1,1,1
|
||||
"access_report_stock_picking_manager","report.stock.picking manager","model_report_stock_picking","stock.group_stock_manager",1,1,1,1
|
||||
"access_report_stock_picking_system","report.stock.picking system","model_report_stock_picking","base.group_system",1,0,0,0
|
||||
"access_stock_warehouse_system","stock.warehouse.system","model_stock_warehouse","base.group_system",1,1,1,1
|
||||
"access_stock_location_system","stock.location.system","model_stock_location","base.group_system",1,1,1,1
|
||||
"access_stock_journal_system","stock.journal.system","model_stock_journal","base.group_system",1,1,1,1
|
||||
"access_product_product_stock","product_product_stock","product.model_product_product","base.group_system",1,0,0,0
|
||||
"access_product_template_stock_system","product.template stock system","product.model_product_template","base.group_system",1,0,0,0
|
||||
"access_product_product_stock_user","product_product_stock_user","product.model_product_product","stock.group_stock_user",1,1,1,1
|
||||
"access_product_template_stock_user","product.template stock user","product.model_product_template","stock.group_stock_user",1,1,1,1
|
||||
"access_product_product_stock_manager","product_product_stock_manager","product.model_product_product","stock.group_stock_manager",1,0,0,0
|
||||
"access_product_template_stock_manager","product.template stock manager","product.model_product_template","stock.group_stock_manager",1,0,0,0
|
||||
|
||||
|
@@ -6,15 +6,23 @@
|
||||
<field name="name">Warehouse / Manager</field>
|
||||
</record>
|
||||
<record id="group_stock_user" model="res.groups">
|
||||
<field name="name">Warehouse / Worker</field>
|
||||
<field name="name">Warehouse / User</field>
|
||||
</record>
|
||||
|
||||
<record model='ir.ui.menu' id='menu_stock_root'>
|
||||
<field name="groups_id" eval="[(6,0,[ref('group_stock_manager'),ref('group_stock_user')])]"/>
|
||||
<field name="groups_id" eval="[(6,0,[ref('group_stock_manager'),ref('group_stock_user'),ref('base.group_system')])]"/>
|
||||
</record>
|
||||
|
||||
<record model='ir.ui.menu' id='menu_stock_configuration'>
|
||||
<field name="groups_id" eval="[(6,0,[ref('group_stock_manager')])]"/>
|
||||
<record model='ir.ui.menu' id='menu_action_location_tree'>
|
||||
<field name="groups_id" eval="[(6,0,[ref('group_stock_manager'),ref('group_stock_user'),ref('base.group_system')])]"/>
|
||||
</record>
|
||||
|
||||
<record model='ir.ui.menu' id='menu_action_tracking_form'>
|
||||
<field name="groups_id" eval="[(6,0,[ref('group_stock_manager'),ref('group_stock_user'),ref('base.group_system')])]"/>
|
||||
</record>
|
||||
|
||||
<record model='ir.ui.menu' id='menu_action_production_lot_form'>
|
||||
<field name="groups_id" eval="[(6,0,[ref('group_stock_manager'),ref('group_stock_user'),ref('base.group_system')])]"/>
|
||||
</record>
|
||||
|
||||
<!-- multi -->
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<menuitem id="menu_stock_products_moves" name="Products Moves" parent="menu_stock_root" sequence="2"/>
|
||||
<menuitem id="menu_stock_product" name="Product" parent="menu_stock_root" sequence="6"/>
|
||||
<menuitem action="product.product_normal_action" id="menu_stock_products_menu" parent="menu_stock_product" sequence="1"/>
|
||||
<menuitem id="menu_stock_configuration" name="Configuration" parent="menu_stock_root" sequence="15"/>
|
||||
<menuitem id="menu_stock_configuration" name="Configuration" parent="menu_stock_root" sequence="15" groups="base.group_system"/>
|
||||
<menuitem id="menu_warehouse_config" name="Warehouse mangement" parent="menu_stock_configuration" sequence="1" groups="base.group_system"/>
|
||||
<menuitem id="menu_stock_inventory_control" name="Inventory Control" parent="menu_stock_root" sequence="4"/>
|
||||
|
||||
@@ -485,7 +485,7 @@
|
||||
<field name="view_id" ref="view_location_tree2"/>
|
||||
<field name="context">{'full':1, 'search_default_in_location':1}</field>
|
||||
</record>
|
||||
<menuitem action="action_location_form" id="menu_action_location_form" parent="menu_warehouse_config" />
|
||||
<menuitem action="action_location_form" id="menu_action_location_form" parent="menu_warehouse_config" groups="base.group_system"/>
|
||||
|
||||
<record id="view_location_tree" model="ir.ui.view">
|
||||
<field name="name">stock.location.tree</field>
|
||||
@@ -545,7 +545,7 @@
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_id" ref="view_warehouse_tree"/>
|
||||
</record>
|
||||
<menuitem action="action_warehouse_form" id="menu_action_warehouse_form" parent="menu_warehouse_config"/>
|
||||
<menuitem action="action_warehouse_form" id="menu_action_warehouse_form" parent="menu_warehouse_config" groups="base.group_system"/>
|
||||
|
||||
<record id="stock_picking_move_wizard_form" model="ir.ui.view">
|
||||
<field name="name">stock.picking.move.wizard.form</field>
|
||||
@@ -1962,7 +1962,7 @@
|
||||
<menuitem
|
||||
action="action_stock_journal_form"
|
||||
id="menu_action_stock_journal_form"
|
||||
groups="base.group_extended"
|
||||
groups="base.group_extended,base.group_system"
|
||||
parent="menu_warehouse_config" />
|
||||
|
||||
</data>
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
|
||||
"access_stock_planning","stock.planning","model_stock_planning","stock.group_stock_user",1,1,1,1
|
||||
"access_stock_period","stock.period","model_stock_period","stock.group_stock_user",1,1,1,1
|
||||
"access_stock_sale_forecast","stock.sale.forecast","model_stock_sale_forecast","stock.group_stock_user",1,1,1,1
|
||||
"access_stock_planning_system","stock.planning system","model_stock_planning","base.group_system",1,0,0,0
|
||||
"access_stock_planning_manager","stock.planning manager","model_stock_planning","stock.group_stock_manager",1,0,0,0
|
||||
"access_stock_planning_user","stock.planning user","model_stock_planning","stock.group_stock_user",1,1,1,1
|
||||
"access_stock_period_","stock.period","model_stock_period","base.group_system",1,1,1,1
|
||||
"access_stock_sale_forecast_user","stock.sale.forecast user","model_stock_sale_forecast","base.group_sale_salesman",1,1,1,1
|
||||
"access_stock_sale_forecast_manager","stock.sale.forecast manager","model_stock_sale_forecast","base.group_sale_manager",1,0,0,0
|
||||
"access_stock_sale_forecast_system","stock.sale.forecast system","model_stock_sale_forecast","base.group_system",1,0,0,0
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
<data>
|
||||
<menuitem id="menu_stock_period_main"
|
||||
name="Stock and Sales Periods"
|
||||
parent="base.menu_base_config" sequence="20"/>
|
||||
parent="base.menu_base_config" groups="base.group_system" sequence="20"/>
|
||||
|
||||
<!-- Periods tree and form section -->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user