diff --git a/addons/account/__terp__.py b/addons/account/__terp__.py index 0ca7332075e..51175f1268b 100644 --- a/addons/account/__terp__.py +++ b/addons/account/__terp__.py @@ -66,7 +66,6 @@ "product_data.xml", "product_view.xml", "account_security.xml", - "project/project_security.xml", "account_assert_test.xml", ], "translations" : { @@ -77,4 +76,3 @@ } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: - diff --git a/addons/account/account.py b/addons/account/account.py index b215c870507..7cd96ef6fea 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -231,7 +231,7 @@ class account_account(osv.osv): # 'parent_id': fields.many2many('account.account', 'account_account_rel', 'child_id', 'parent_id', 'Parents'), 'parent_id': fields.many2one('account.account','Parent', ondelete='cascade'), 'child_parent_ids':fields.one2many('account.account','parent_id','Children'), - 'child_consol_ids':fields.many2many('account.account', 'account_account_consol_rel', 'child_id', 'parent_id', 'Consolidated Children',domain=[('type','=','root'), ('type', '=', 'consolidation')]), + 'child_consol_ids':fields.many2many('account.account', 'account_account_consol_rel', 'child_id', 'parent_id', 'Consolidated Children',domain=[('type', '=', 'consolidation')]), 'child_id': fields.function(_get_child_ids, method=True, type='many2many',relation="account.account",string="Children Accounts"), # 'child_id': fields.many2many('account.account', 'account_account_rel', 'parent_id', 'child_id', 'Children'), diff --git a/addons/account/account_security.xml b/addons/account/account_security.xml index 33fda7ff04e..5fc01afd83d 100644 --- a/addons/account/account_security.xml +++ b/addons/account/account_security.xml @@ -1,930 +1,25 @@ - - - - - Financial Invoice - - - - Financial User - - - - Financial Admin - - - - - - - - Payment Term - - - - - - - - - Payment Term - - - - - - - - - - - - Payment Term Line - - - - - - - - - Payment Term Line - - - - - - - - - - - Account Type - - - - - - - - - Account Type - - - - - - - - - - - Account - - - - - - - - - Account - - - - - - - - - - - Journal View - - - - - - - - - Journal View - - - - - - - - - - - - Journal Column - - - - - - - - - Journal Column - - - - - - - - - - - - Journal - - - - - - - - - Journal - - - - - - - - - - - - Fiscal Year - - - - - - - - - Fiscal Year - - - - - - - - - - - - Period - - - - - - - - - Period - - - - - - - - - - - - Journal Period - - - - - - - - - Journal Period - - - - - - - - - - - - Entry - - - - - - - - - - - Entry - - - - - - - - - - - - Reconciliation - - - - - - - - - - - Reconciliation - - - - - - - - - - - - Tax Code - - - - - - - - - Tax Code - - - - - - - - - - - - Tax - - - - - - - - - Tax - - - - - - - - - - - - Budget Item - - - - - - - - - Budget Item - - - - - - - - - - Budget Item Endowment - - - - - - - - - Budget Item Endowment - - - - - - - - - - Model - - - - - - - - - Model - - - - - - - - - - Model Line - - - - - - - - - Model Line - - - - - - - - - - Subscription - - - - - - - - - Subscription - - - - - - - - - - Subscription Line - - - - - - - - - Subscription Line - - - - - - - - - - Bank Statement - - - - - - - - - Bank Statement - - - - - - - - - - Statement Reconcile - - - - - - - - - Statement Reconcile - - - - - - - - - - Statement Reconcile Line - - - - - - - - - Statement Reconcile Line - - - - - - - - - - - - Bank Statement Line - - - - - - - - - Bank Statement Line - - - - - - - - - - - - Entry Lines - - - - - - - - - Entry Lines - - - - - - - - - - - - Invoice - - - - - - - - - Invoice - - - - - - - - - - - - Invoice Line - - - - - - - - - Invoice Line - - - - - - - - - - - - Invoice Tax - - - - - - - - - Invoice Tax - - - - - - - - - - - - \ No newline at end of file + + Account Payment + + \ No newline at end of file diff --git a/addons/account/account_wizard.xml b/addons/account/account_wizard.xml index b0e0604b300..935d8eac3f7 100644 --- a/addons/account/account_wizard.xml +++ b/addons/account/account_wizard.xml @@ -3,7 +3,7 @@ - + diff --git a/addons/account/data/account_data2.xml b/addons/account/data/account_data2.xml index 02475a31902..28f240c4796 100644 --- a/addons/account/data/account_data2.xml +++ b/addons/account/data/account_data2.xml @@ -340,7 +340,7 @@ - + Expenses Journal @@ -350,7 +350,7 @@ - + @@ -361,7 +361,7 @@ - + @@ -370,7 +370,7 @@ general - + diff --git a/addons/account/project/project_security.xml b/addons/account/project/project_security.xml deleted file mode 100644 index f7f7dc7fa08..00000000000 --- a/addons/account/project/project_security.xml +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - Analytic Accounts - - - - - - - - - Analytic Accounts - - - - - - - - - - - - Analytic Journal - - - - - - - - - Analytic Journal - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/addons/account_analytic_analysis/__terp__.py b/addons/account_analytic_analysis/__terp__.py index bdecb2de23f..6e876cac931 100644 --- a/addons/account_analytic_analysis/__terp__.py +++ b/addons/account_analytic_analysis/__terp__.py @@ -41,6 +41,7 @@ Add menu to show relevant information for each manager.""", "update_xml" : [ "account_analytic_analysis_view.xml", "account_analytic_analysis_menu.xml", + "ir.model.access.csv", ], "demo_xml" : [], "active": False, diff --git a/addons/account_analytic_analysis/ir.model.access.csv b/addons/account_analytic_analysis/ir.model.access.csv new file mode 100644 index 00000000000..4a08a4aa60d --- /dev/null +++ b/addons/account_analytic_analysis/ir.model.access.csv @@ -0,0 +1 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink diff --git a/addons/account_analytic_plans/__terp__.py b/addons/account_analytic_plans/__terp__.py index 3fc3444e350..d01ab399ec2 100644 --- a/addons/account_analytic_plans/__terp__.py +++ b/addons/account_analytic_plans/__terp__.py @@ -38,7 +38,9 @@ ], "demo_xml" : [ ], - "update_xml" : ["model_wizard.xml","account_analytic_plans_view.xml", + "update_xml" : [ + "ir.model.access.csv", +"model_wizard.xml","account_analytic_plans_view.xml", "account_analytic_plans_report.xml"], "active": False, diff --git a/addons/account_analytic_plans/ir.model.access.csv b/addons/account_analytic_plans/ir.model.access.csv new file mode 100644 index 00000000000..73e19bb3d93 --- /dev/null +++ b/addons/account_analytic_plans/ir.model.access.csv @@ -0,0 +1,4 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_account_analytic_plan_line,account.analytic.plan.line,model_account_analytic_plan_line,base.group_user,1,0,0,0 +access_account_analytic_plan_instance,account.analytic.plan.instance,model_account_analytic_plan_instance,base.group_user,1,0,0,0 +access_account_analytic_plan_instance_line,account.analytic.plan.instance.line,model_account_analytic_plan_instance_line,base.group_user,1,0,0,0 diff --git a/addons/account_budget_crossover/__terp__.py b/addons/account_budget_crossover/__terp__.py index 39690790a06..f21b27bf0a1 100644 --- a/addons/account_budget_crossover/__terp__.py +++ b/addons/account_budget_crossover/__terp__.py @@ -22,7 +22,9 @@ "depends" : ["account"], "init_xml" : [], "demo_xml" : [], - "update_xml" : ["crossovered_budget_view.xml","crossovered_budget_report.xml","crossovered_budget_workflow.xml"], + "update_xml" : [ + "ir.model.access.csv", +"crossovered_budget_view.xml","crossovered_budget_report.xml","crossovered_budget_workflow.xml"], "active": False, "installable": True } diff --git a/addons/account_budget_crossover/ir.model.access.csv b/addons/account_budget_crossover/ir.model.access.csv new file mode 100644 index 00000000000..d8be1f31b2e --- /dev/null +++ b/addons/account_budget_crossover/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_crossovered_budget,crossovered.budget,model_crossovered_budget,base.group_user,1,0,0,0 +access_crossovered_budget_lines,crossovered.budget.lines,model_crossovered_budget_lines,base.group_user,1,0,0,0 diff --git a/addons/account_invoice_layout/__terp__.py b/addons/account_invoice_layout/__terp__.py index 6d71a61fd44..865f9df4a17 100644 --- a/addons/account_invoice_layout/__terp__.py +++ b/addons/account_invoice_layout/__terp__.py @@ -20,6 +20,8 @@ "init_xml" : [], "demo_xml" : [], "update_xml" : [ + "ir.model.access.csv", + "account_invoice_layout_view.xml", "account_invoice_layout_report.xml", ], diff --git a/addons/account_invoice_layout/ir.model.access.csv b/addons/account_invoice_layout/ir.model.access.csv new file mode 100644 index 00000000000..0b84973b841 --- /dev/null +++ b/addons/account_invoice_layout/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_notify_message,notify.message,model_notify_message,base.group_user,1,0,0,0 diff --git a/addons/account_payment/__terp__.py b/addons/account_payment/__terp__.py index 93d37888154..45196108416 100644 --- a/addons/account_payment/__terp__.py +++ b/addons/account_payment/__terp__.py @@ -39,9 +39,15 @@ * a basic mechanism to easily plug various automated payment. """, "demo_xml": [], - "update_xml": ["payment_wizard.xml", "payment_view.xml", - "payment_workflow.xml", "payment_sequence.xml", - "account_invoice_view.xml", "payment_report.xml"], + "update_xml": [ + "payment_wizard.xml", + "payment_view.xml", + "payment_workflow.xml", + "payment_sequence.xml", + "account_invoice_view.xml", + "payment_report.xml", + "ir.model.access.csv", + ], "active": False, "installable": True } diff --git a/addons/account_payment/ir.model.access.csv b/addons/account_payment/ir.model.access.csv new file mode 100644 index 00000000000..4b578e2d33f --- /dev/null +++ b/addons/account_payment/ir.model.access.csv @@ -0,0 +1,5 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_payment_type,payment.type,model_payment_type,base.group_user,1,0,0,0 +access_payment_mode,payment.mode,model_payment_mode,base.group_user,1,0,0,0 +access_payment_order,payment.order,model_payment_order,base.group_user,1,0,0,0 +access_payment_line,payment.line,model_payment_line,base.group_user,1,0,0,0 diff --git a/addons/account_report/__terp__.py b/addons/account_report/__terp__.py index 4bb4b482636..1018b57ae6b 100644 --- a/addons/account_report/__terp__.py +++ b/addons/account_report/__terp__.py @@ -36,7 +36,11 @@ "category" : "Generic Modules/Accounting", "init_xml" : [ ], "demo_xml" : [ ], - "update_xml" : [ "account_view.xml","account_report.xml" ], + "update_xml" : [ + "account_view.xml", + "account_report.xml", + "ir.model.access.csv", + ], # "translations" : { # "fr": "i18n/french_fr.csv" # }, diff --git a/addons/account_report/ir.model.access.csv b/addons/account_report/ir.model.access.csv new file mode 100644 index 00000000000..aeb498cde5a --- /dev/null +++ b/addons/account_report/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_account_report_report,account.report.report,model_account_report_report,base.group_user,1,0,0,0 diff --git a/addons/account_reporting/__terp__.py b/addons/account_reporting/__terp__.py index b25f7a1c2fd..8192cb331dd 100644 --- a/addons/account_reporting/__terp__.py +++ b/addons/account_reporting/__terp__.py @@ -9,6 +9,8 @@ "init_xml" : [ ], "demo_xml" : [ ], "update_xml" : [ + "ir.model.access.csv", + "account_view.xml", "account_report.xml", "account_data.xml", diff --git a/addons/account_reporting/ir.model.access.csv b/addons/account_reporting/ir.model.access.csv new file mode 100644 index 00000000000..ef9f29f8bef --- /dev/null +++ b/addons/account_reporting/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_color_rml,color.rml,model_color_rml,base.group_user,1,0,0,0 +access_account_report_bs,account.report.bs,model_account_report_bs,base.group_user,1,0,0,0 diff --git a/addons/association_vertical/aso_vertical_view.xml b/addons/association_vertical/aso_vertical_view.xml index ae2f43a0fd9..01fd9b39655 100644 --- a/addons/association_vertical/aso_vertical_view.xml +++ b/addons/association_vertical/aso_vertical_view.xml @@ -21,28 +21,28 @@ - + - + - + - + diff --git a/addons/association_vertical/crm_fund_data.xml b/addons/association_vertical/crm_fund_data.xml index 14db1c362f9..051de401ba7 100644 --- a/addons/association_vertical/crm_fund_data.xml +++ b/addons/association_vertical/crm_fund_data.xml @@ -27,7 +27,7 @@ - + @@ -45,7 +45,7 @@ - + @@ -79,7 +79,7 @@ - + @@ -96,7 +96,7 @@ - + @@ -133,7 +133,7 @@ - + diff --git a/addons/auction/__terp__.py b/addons/auction/__terp__.py index e0c23b6a71c..a8ee09a4a46 100644 --- a/addons/auction/__terp__.py +++ b/addons/auction/__terp__.py @@ -3,7 +3,9 @@ "name" : "Auction module", "version" : "1.0", "depends" : ["base","account","l10n_be","hr"], - "update_xml" : ["auction_view.xml", "auction_report.xml", "auction_wizard.xml"], + "update_xml" : [ + "ir.model.access.csv", +"auction_view.xml", "auction_report.xml", "auction_wizard.xml"], "demo_xml" : [ "auction_demo.xml" ], diff --git a/addons/auction/auction_view.xml b/addons/auction/auction_view.xml index 4bb8a9f840c..02400f4062b 100644 --- a/addons/auction/auction_view.xml +++ b/addons/auction/auction_view.xml @@ -2,7 +2,7 @@ - + ======================================================= Auction Management/Configuration/artist @@ -640,7 +640,7 @@ Auction Management/Auction Dates/Reporting auction.bid form - + diff --git a/addons/auction/ir.model.access.csv b/addons/auction/ir.model.access.csv new file mode 100644 index 00000000000..87826f27557 --- /dev/null +++ b/addons/auction/ir.model.access.csv @@ -0,0 +1,20 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_auction_artists,auction.artists,model_auction_artists,base.group_user,1,0,0,0 +access_auction_dates,auction.dates,model_auction_dates,base.group_user,1,0,0,0 +access_auction_deposit,auction.deposit,model_auction_deposit,base.group_user,1,0,0,0 +access_auction_deposit_cost,auction.deposit.cost,model_auction_deposit_cost,base.group_user,1,0,0,0 +access_auction_lot_category,auction.lot.category,model_auction_lot_category,base.group_user,1,0,0,0 +access_auction_lots,auction.lots,model_auction_lots,base.group_user,1,0,0,0 +access_auction_bid,auction.bid,model_auction_bid,base.group_user,1,0,0,0 +access_auction_lot_history,auction.lot.history,model_auction_lot_history,base.group_user,1,0,0,0 +access_report_buyer_auction,report.buyer.auction,model_report_buyer_auction,base.group_user,1,0,0,0 +access_report_seller_auction,report.seller.auction,model_report_seller_auction,base.group_user,1,0,0,0 +access_report_auction_view,report.auction.view,model_report_auction_view,base.group_user,1,0,0,0 +access_report_auction_object_date,report.auction.object.date,model_report_auction_object_date,base.group_user,1,0,0,0 +access_report_auction_estimation_adj_category,report.auction.estimation.adj.category,model_report_auction_estimation_adj_category,base.group_user,1,0,0,0 +access_report_auction_adjudication,report.auction.adjudication,model_report_auction_adjudication,base.group_user,1,0,0,0 +access_report_attendance,report.attendance,model_report_attendance,base.group_user,1,0,0,0 +access_report_deposit_border,report.deposit.border,model_report_deposit_border,base.group_user,1,0,0,0 +access_report_object_encoded,report.object.encoded,model_report_object_encoded,base.group_user,1,0,0,0 +access_report_object_encoded_manager,report.object.encoded.manager,model_report_object_encoded_manager,base.group_user,1,0,0,0 +access_report_unclassified_objects,report.unclassified.objects,model_report_unclassified_objects,base.group_user,1,0,0,0 diff --git a/addons/base_contact/__terp__.py b/addons/base_contact/__terp__.py index 6ec41c49644..9a680206a30 100644 --- a/addons/base_contact/__terp__.py +++ b/addons/base_contact/__terp__.py @@ -22,7 +22,9 @@ "depends" : ["base"], "init_xml" : [], "demo_xml" : [], - "update_xml" : ['base_contact_view.xml'], + "update_xml" : [ + "ir.model.access.csv", +'base_contact_view.xml'], "active": False, "installable": True } diff --git a/addons/base_contact/ir.model.access.csv b/addons/base_contact/ir.model.access.csv new file mode 100644 index 00000000000..1f1de402570 --- /dev/null +++ b/addons/base_contact/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_res_partner_contact,res.partner.contact,model_res_partner_contact,base.group_user,1,0,0,0 +access_res_partner_job,res.partner.job,model_res_partner_job,base.group_user,1,0,0,0 diff --git a/addons/base_module_record/__terp__.py b/addons/base_module_record/__terp__.py index cb5754af64a..625e0bdd8e8 100644 --- a/addons/base_module_record/__terp__.py +++ b/addons/base_module_record/__terp__.py @@ -27,7 +27,9 @@ How to use it: "depends" : ["base"], "init_xml" : [ ], "demo_xml" : [ ], - "update_xml" : [ "base_module_record_wizard.xml" ], + "update_xml" : [ + "ir.model.access.csv", + "base_module_record_wizard.xml" ], "installable": True } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/base_module_record/ir.model.access.csv b/addons/base_module_record/ir.model.access.csv new file mode 100644 index 00000000000..29dfb1835ca --- /dev/null +++ b/addons/base_module_record/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_ir_module_record,ir.module.record,model_ir_module_record,base.group_user,1,0,0,0 diff --git a/addons/base_setup/base_setup_data.xml b/addons/base_setup/base_setup_data.xml index b8f940f8ad9..02eff787ca9 100644 --- a/addons/base_setup/base_setup_data.xml +++ b/addons/base_setup/base_setup_data.xml @@ -8,12 +8,10 @@ base_setup.base_setup - + - - \ No newline at end of file diff --git a/addons/board/board_security.xml b/addons/board/board_security.xml new file mode 100644 index 00000000000..e7af75ff548 --- /dev/null +++ b/addons/board/board_security.xml @@ -0,0 +1,67 @@ + + + Board User + + + + Board Manager + + + + + board_board group_board + + + + + + + + + board_board group_board_manager + + + + + + + + + board_note group_board + + + + + + + + + board_note group_board_manager + + + + + + + + + board_note_type group_board + + + + + + + + + board_note_type group_board_manager + + + + + + + + \ No newline at end of file diff --git a/addons/board_account/board_account_demo.xml b/addons/board_account/board_account_demo.xml index 7206fefc1d5..690a07f633f 100644 --- a/addons/board_account/board_account_demo.xml +++ b/addons/board_account/board_account_demo.xml @@ -8,14 +8,14 @@ --> Accounting dashboard - + ir.ui.menu 0 - + - \ No newline at end of file + diff --git a/addons/board_association/board_association_demo.xml b/addons/board_association/board_association_demo.xml index 76d9e89ddeb..91c51ac40f4 100644 --- a/addons/board_association/board_association_demo.xml +++ b/addons/board_association/board_association_demo.xml @@ -8,12 +8,12 @@ --> Dashboard - + ir.ui.menu 1 - + diff --git a/addons/board_auction/board_auction_demo.xml b/addons/board_auction/board_auction_demo.xml index b63cb1d2d7b..eb525bacc99 100644 --- a/addons/board_auction/board_auction_demo.xml +++ b/addons/board_auction/board_auction_demo.xml @@ -4,7 +4,7 @@ Auction dashboard - + ir.ui.menu 4 diff --git a/addons/board_crm_configuration/board_crm_demo.xml b/addons/board_crm_configuration/board_crm_demo.xml index 39bc1f289f5..f05393aff0c 100644 --- a/addons/board_crm_configuration/board_crm_demo.xml +++ b/addons/board_crm_configuration/board_crm_demo.xml @@ -13,7 +13,7 @@ 3 --> - + diff --git a/addons/board_document/board_document_demo.xml b/addons/board_document/board_document_demo.xml index 5e8050acf19..dc059263b4c 100644 --- a/addons/board_document/board_document_demo.xml +++ b/addons/board_document/board_document_demo.xml @@ -8,7 +8,7 @@ --> Documents dashboard - + ir.ui.menu 1 diff --git a/addons/board_manufacturing/board_manufacturing_demo.xml b/addons/board_manufacturing/board_manufacturing_demo.xml index f5a026adf1e..20d09124782 100644 --- a/addons/board_manufacturing/board_manufacturing_demo.xml +++ b/addons/board_manufacturing/board_manufacturing_demo.xml @@ -3,12 +3,12 @@ Production dashboard - + ir.ui.menu 4 - + diff --git a/addons/board_project/board_project_demo.xml b/addons/board_project/board_project_demo.xml index 01268fa329d..3a2ad768105 100644 --- a/addons/board_project/board_project_demo.xml +++ b/addons/board_project/board_project_demo.xml @@ -14,13 +14,13 @@ 3 - + Don't forget the new development policies. - + Project diff --git a/addons/board_project/board_project_view.xml b/addons/board_project/board_project_view.xml index 72477c3e7d0..25e24e7634b 100644 --- a/addons/board_project/board_project_view.xml +++ b/addons/board_project/board_project_view.xml @@ -65,12 +65,12 @@ - - - - - - + + + + + + diff --git a/addons/board_sale/board_sale_demo.xml b/addons/board_sale/board_sale_demo.xml index ad66d9cf758..3499b2fabb8 100644 --- a/addons/board_sale/board_sale_demo.xml +++ b/addons/board_sale/board_sale_demo.xml @@ -8,7 +8,7 @@ --> Sales dashboard - + ir.ui.menu 1 diff --git a/addons/crm/crm_demo.xml b/addons/crm/crm_demo.xml index a387e40e5cc..649e67ee661 100644 --- a/addons/crm/crm_demo.xml +++ b/addons/crm/crm_demo.xml @@ -181,7 +181,7 @@ - + @@ -228,7 +228,7 @@ - + @@ -274,7 +274,7 @@ - + @@ -367,7 +367,7 @@ - + @@ -415,7 +415,7 @@ - + diff --git a/addons/crm/crm_security.xml b/addons/crm/crm_security.xml index 356e77e8318..75364d35e53 100644 --- a/addons/crm/crm_security.xml +++ b/addons/crm/crm_security.xml @@ -1,117 +1,9 @@ - - - - - - Customer Executive - Manager - - - - Customer Executive - - - - - - - - - CRM Case - - - - - - - - - CRM Case - - - - - - - - - - - Case Section - - - - - - - - - Case Section - - - - - - - - - - - Case Segmentation - - - - - - - - - Case Segmentation - - - - - - - - - - - Case Segmentation Rules - - - - - - - - - Case Segmentation Rules - - - - - - - - - - - Case History - - - - - - - - - Case History - - - - - - - - - \ No newline at end of file + + + Customer Executive - Manager + + + + Customer Executive - User + + \ No newline at end of file diff --git a/addons/crm/crm_view.xml b/addons/crm/crm_view.xml index 2704bc71e4e..e355719ef11 100644 --- a/addons/crm/crm_view.xml +++ b/addons/crm/crm_view.xml @@ -2,7 +2,7 @@ - + res.partner.events.form @@ -62,7 +62,7 @@ form - + Cases by section @@ -71,7 +71,7 @@ tree - + @@ -105,7 +105,7 @@ form - + @@ -196,7 +196,7 @@ form - + @@ -435,8 +435,8 @@ tree,form - - + + My Histories crm.case.history @@ -444,7 +444,7 @@ tree,form [('user_id','=',uid)] - + crm.segmentation.line.tree diff --git a/addons/crm_configuration/__terp__.py b/addons/crm_configuration/__terp__.py index 84395d3c033..7a188bb731e 100644 --- a/addons/crm_configuration/__terp__.py +++ b/addons/crm_configuration/__terp__.py @@ -26,6 +26,8 @@ "crm_opportunity_data.xml" ], "update_xml" : [ + "ir.model.access.csv", + "crm_bugs_demo.xml", "crm_jobs_demo.xml", "crm_lead_demo.xml", diff --git a/addons/crm_configuration/crm_bugs_data.xml b/addons/crm_configuration/crm_bugs_data.xml index 24aa183d6ce..69608dafbe0 100644 --- a/addons/crm_configuration/crm_bugs_data.xml +++ b/addons/crm_configuration/crm_bugs_data.xml @@ -10,7 +10,7 @@ - + @@ -34,7 +34,7 @@ - + @@ -66,7 +66,7 @@ - + @@ -81,7 +81,7 @@ - + @@ -97,7 +97,7 @@ - + @@ -113,7 +113,7 @@ - + @@ -129,7 +129,7 @@ - + @@ -161,7 +161,7 @@ - + @@ -177,7 +177,7 @@ - + @@ -210,7 +210,7 @@ - + @@ -229,7 +229,7 @@ - + @@ -245,7 +245,7 @@ - + diff --git a/addons/crm_configuration/crm_jobs_data.xml b/addons/crm_configuration/crm_jobs_data.xml index 1cfb63b3a7b..aa1e508b4cb 100644 --- a/addons/crm_configuration/crm_jobs_data.xml +++ b/addons/crm_configuration/crm_jobs_data.xml @@ -12,7 +12,7 @@ - + @@ -33,7 +33,7 @@ - + @@ -55,7 +55,7 @@ - + @@ -74,7 +74,7 @@ - + @@ -109,7 +109,7 @@ - + @@ -130,7 +130,7 @@ - + diff --git a/addons/crm_configuration/crm_lead_data.xml b/addons/crm_configuration/crm_lead_data.xml index 0857d2a769c..3b6ae85f3dd 100644 --- a/addons/crm_configuration/crm_lead_data.xml +++ b/addons/crm_configuration/crm_lead_data.xml @@ -12,7 +12,7 @@ - + @@ -31,7 +31,7 @@ - + @@ -69,7 +69,7 @@ - + @@ -88,7 +88,7 @@ - + @@ -108,7 +108,7 @@ - + @@ -126,7 +126,7 @@ - + diff --git a/addons/crm_configuration/crm_meeting_data.xml b/addons/crm_configuration/crm_meeting_data.xml index e7a1dd2f6ec..a6654007c5b 100644 --- a/addons/crm_configuration/crm_meeting_data.xml +++ b/addons/crm_configuration/crm_meeting_data.xml @@ -11,7 +11,7 @@ - + @@ -30,7 +30,7 @@ - + @@ -48,7 +48,7 @@ - + @@ -100,7 +100,7 @@ - + diff --git a/addons/crm_configuration/crm_opportunity_data.xml b/addons/crm_configuration/crm_opportunity_data.xml index c4a3248077f..7294a8e21dc 100644 --- a/addons/crm_configuration/crm_opportunity_data.xml +++ b/addons/crm_configuration/crm_opportunity_data.xml @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ - + @@ -48,7 +48,7 @@ - + @@ -85,7 +85,7 @@ - + diff --git a/addons/crm_configuration/ir.model.access.csv b/addons/crm_configuration/ir.model.access.csv new file mode 100644 index 00000000000..21a8937f9c1 --- /dev/null +++ b/addons/crm_configuration/ir.model.access.csv @@ -0,0 +1,4 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_crm_case_stage,crm.case.stage,model_crm_case_stage,base.group_user,1,0,0,0 +access_report_crm_case_section_stage,report.crm.case.section.stage,model_report_crm_case_section_stage,base.group_user,1,0,0,0 +access_report_crm_case_section_categ_stage,report.crm.case.section.categ.stage,model_report_crm_case_section_categ_stage,base.group_user,1,0,0,0 diff --git a/addons/crm_vertical/crm_vertical_shortcuts.xml b/addons/crm_vertical/crm_vertical_shortcuts.xml index 219626bf725..3c120f011e5 100644 --- a/addons/crm_vertical/crm_vertical_shortcuts.xml +++ b/addons/crm_vertical/crm_vertical_shortcuts.xml @@ -5,7 +5,7 @@ - + @@ -13,7 +13,7 @@ - + @@ -21,7 +21,7 @@ - + @@ -29,7 +29,7 @@ - + diff --git a/addons/delivery/__terp__.py b/addons/delivery/__terp__.py index 85a525b5e31..7923b840292 100644 --- a/addons/delivery/__terp__.py +++ b/addons/delivery/__terp__.py @@ -35,7 +35,12 @@ "depends" : ["sale","purchase", "stock",], "init_xml" : ["delivery_data.xml"], "demo_xml" : ["delivery_demo.xml"], - "update_xml" : ["delivery_view.xml","delivery_wizard.xml","partner_view.xml"], + "update_xml" : [ + "delivery_view.xml", + "delivery_wizard.xml", + "partner_view.xml", + "ir.model.access.csv", + ], "active": False, "installable": True, } diff --git a/addons/delivery/ir.model.access.csv b/addons/delivery/ir.model.access.csv new file mode 100644 index 00000000000..6333814759c --- /dev/null +++ b/addons/delivery/ir.model.access.csv @@ -0,0 +1,4 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_delivery_carrier,delivery.carrier,model_delivery_carrier,base.group_user,1,0,0,0 +access_delivery_grid,delivery.grid,model_delivery_grid,base.group_user,1,0,0,0 +access_delivery_grid_line,delivery.grid.line,model_delivery_grid_line,base.group_user,1,0,0,0 diff --git a/addons/event/__terp__.py b/addons/event/__terp__.py index 17de9067e4f..102b973b572 100644 --- a/addons/event/__terp__.py +++ b/addons/event/__terp__.py @@ -24,6 +24,8 @@ "demo_xml" : ["event_demo.xml"], "init_xml" : ["event_data.xml"], "update_xml" : [ + "ir.model.access.csv", + "event_wizard.xml","event_view.xml","event_sequence.xml" ], "active" : False, diff --git a/addons/event/event_demo.xml b/addons/event/event_demo.xml index 5f743c699a8..58a301326a4 100644 --- a/addons/event/event_demo.xml +++ b/addons/event/event_demo.xml @@ -59,7 +59,7 @@ 2008-01-01 23:00:00 - + 500 draft @@ -71,7 +71,7 @@ 2008-02-02 23:00:00 - + 500 @@ -82,7 +82,7 @@ 2008-04-04 23:00:00 - + 500 @@ -93,7 +93,7 @@ 2008-03-05 21:00:00 - + 350 confirm @@ -106,7 +106,7 @@ 200 - + True True diff --git a/addons/event/ir.model.access.csv b/addons/event/ir.model.access.csv new file mode 100644 index 00000000000..32994e277b8 --- /dev/null +++ b/addons/event/ir.model.access.csv @@ -0,0 +1,6 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_event_type,event.type,model_event_type,base.group_user,1,0,0,0 +access_event_event,event.event,model_event_event,base.group_user,1,0,0,0 +access_event_registration,event.registration,model_event_registration,base.group_user,1,0,0,0 +access_report_event_registration,report.event.registration,model_report_event_registration,base.group_user,1,0,0,0 +access_report_event_type_registration,report.event.type.registration,model_report_event_type_registration,base.group_user,1,0,0,0 diff --git a/addons/hr/__terp__.py b/addons/hr/__terp__.py index 3c56bd5da4d..bbabcddb466 100644 --- a/addons/hr/__terp__.py +++ b/addons/hr/__terp__.py @@ -51,7 +51,6 @@ "hr_report.xml", "hr_wizard.xml", "hr_department_view.xml", - "hr_security.xml", ], "active": False, "installable": True diff --git a/addons/hr/hr_demo.xml b/addons/hr/hr_demo.xml index dfdcb02e24c..9192f5666ca 100644 --- a/addons/hr/hr_demo.xml +++ b/addons/hr/hr_demo.xml @@ -35,7 +35,9 @@ Fabien Pinckaers - + + + diff --git a/addons/hr/hr_department_demo.xml b/addons/hr/hr_department_demo.xml index f4b713b8e82..6e5a38d4a7f 100644 --- a/addons/hr/hr_department_demo.xml +++ b/addons/hr/hr_department_demo.xml @@ -5,54 +5,54 @@ Management - + Administration - + Technical department - + IT - + Marketing - + Sales - + Sales Europe - + Sales America - + diff --git a/addons/hr/hr_security.xml b/addons/hr/hr_security.xml index 4d7291a7d37..4ec02e7aa55 100644 --- a/addons/hr/hr_security.xml +++ b/addons/hr/hr_security.xml @@ -1,159 +1,14 @@ - - - - HR Manager - - - - - Employee - - - - - - - - - - HR Department - - - - - - - - - HR Department - - - - - - - - - - - HR Timesheet Group - - - - - - - - - HR Timesheet Group - - - - - - - - - - - HR Employee Category - - - - - - - - - HR Employee Category - - - - - - - - - - - HR Employee - - - - - - - - - HR Employee - - - - - - - - - - - HR Employee Timesheet - - - - - - - - - HR Employee Timesheet - - - - - - - - - - - HR Timesheet Action Reason - - - - - - - - - HR Timesheet Action Reason - - - - - - - - - - - HR Attendance - - - - - - - - - HR Attendance - - - - - - - - + + + HR Manager + + + + + Employee + + + diff --git a/addons/hr/hr_view.xml b/addons/hr/hr_view.xml index 734fb2298aa..81bcc401dc8 100644 --- a/addons/hr/hr_view.xml +++ b/addons/hr/hr_view.xml @@ -3,7 +3,7 @@ - + - - HR Contract Period - - - - - - - - - HR Contract Period - - - - - - - - - - - HR Wages Type - - - - - - - - - HR Wages Type - - - - - - - - - - - HR Contract - - - - - - - - - HR Contract - - - - - - - - - - - HR Contract - - - - - - - - - HR Contract - - - - - - - - - \ No newline at end of file + + + HR Manager + + \ No newline at end of file diff --git a/addons/hr_contract/ir.model.access.csv b/addons/hr_contract/ir.model.access.csv new file mode 100644 index 00000000000..40130e98b21 --- /dev/null +++ b/addons/hr_contract/ir.model.access.csv @@ -0,0 +1,9 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_hr_contract_base.group_user,hr_contract base.group_user,model_hr_contract,base.group_user,1,0,0,0 +access_hr_contract_group_hr_manager,hr_contract group_hr_manager,model_hr_contract,group_hr_manager,1,1,1,1 +access_hr_contract_wage_type_group_hr_manager,hr_contract_wage_type group_hr_manager,model_hr_contract_wage_type,group_hr_manager,1,1,1,1 +access_hr_contract_wage_type_base.group_user,hr_contract_wage_type base.group_user,model_hr_contract_wage_type,base.group_user,1,0,0,0 +access_hr_contract_wage_type_period_group_hr_manager,hr_contract_wage_type_period group_hr_manager,model_hr_contract_wage_type_period,group_hr_manager,1,1,1,1 +access_hr_contract_wage_type_period_base.group_user,hr_contract_wage_type_period base.group_user,model_hr_contract_wage_type_period,base.group_user,1,0,0,0 +access_hr_employee_marital_status_group_hr_manager,hr_employee_marital_status group_hr_manager,model_hr_employee_marital_status,group_hr_manager,1,1,1,1 +access_hr_employee_marital_status_base.group_user,hr_employee_marital_status base.group_user,model_hr_employee_marital_status,base.group_user,1,0,0,0 diff --git a/addons/hr_expense/__terp__.py b/addons/hr_expense/__terp__.py index c05d0204fd8..5c021248736 100644 --- a/addons/hr_expense/__terp__.py +++ b/addons/hr_expense/__terp__.py @@ -49,7 +49,13 @@ """, "init_xml" : [], "demo_xml" : ["hr_expense_demo.xml", "hr.expense.expense.csv"], - "update_xml" : ["hr_expense_sequence.xml", "hr_expense_workflow.xml", "hr_expense_view.xml", "hr_expense_report.xml",], + "update_xml" : [ + "hr_expense_sequence.xml", + "hr_expense_workflow.xml", + "hr_expense_view.xml", + "hr_expense_report.xml", + "ir.model.access.csv", + ], "active": False, "installable": True } diff --git a/addons/hr_expense/ir.model.access.csv b/addons/hr_expense/ir.model.access.csv new file mode 100644 index 00000000000..6539e7ac526 --- /dev/null +++ b/addons/hr_expense/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_hr_expense_expense,hr.expense.expense,model_hr_expense_expense,base.group_user,1,0,0,0 +access_hr_expense_line,hr.expense.line,model_hr_expense_line,base.group_user,1,0,0,0 diff --git a/addons/hr_holidays/__terp__.py b/addons/hr_holidays/__terp__.py index 8d33bcaddfa..f4308488513 100644 --- a/addons/hr_holidays/__terp__.py +++ b/addons/hr_holidays/__terp__.py @@ -26,9 +26,15 @@ """, "depends" : ["hr","crm_configuration"], "init_xml" : [], + "update_xml" : [ + "ir.model.access.csv", + "hr_workflow.xml", + "hr_view.xml", + "hr_holidays_report.xml", + "hr_holidays_wizard.xml", + ], # "demo_xml" : ["hr_bel_holidays_2008.xml",], "demo_xml" : [], - "update_xml" : ["hr_workflow.xml","hr_view.xml","hr_holidays_report.xml","hr_holidays_wizard.xml",], "active": False, "installable": True } diff --git a/addons/hr_holidays/hr_view.xml b/addons/hr_holidays/hr_view.xml index 410803c1c27..21d49da0462 100644 --- a/addons/hr_holidays/hr_view.xml +++ b/addons/hr_holidays/hr_view.xml @@ -97,7 +97,7 @@ form tree,form - + @@ -227,7 +227,7 @@ form tree,form,graph - + My Available Holidays diff --git a/addons/hr_holidays/ir.model.access.csv b/addons/hr_holidays/ir.model.access.csv new file mode 100644 index 00000000000..718669d5a69 --- /dev/null +++ b/addons/hr_holidays/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_hr_holidays_per_user,hr.holidays.per.user,model_hr_holidays_per_user,base.group_user,1,0,0,0 diff --git a/addons/hr_timesheet/__terp__.py b/addons/hr_timesheet/__terp__.py index 2595ba25cab..88ba0f4e983 100644 --- a/addons/hr_timesheet/__terp__.py +++ b/addons/hr_timesheet/__terp__.py @@ -46,7 +46,12 @@ to set up a management by affair. "depends" : ["account", "hr", "base",], "init_xml" : ["hr_timesheet_data.xml"], "demo_xml" : ["hr_timesheet_demo.xml",], - "update_xml" : ["hr_timesheet_view.xml", "hr_timesheet_report.xml","hr_timesheet_wizard.xml"], + "update_xml" : [ + "hr_timesheet_view.xml", + "hr_timesheet_report.xml", + "hr_timesheet_wizard.xml", + "ir.model.access.csv", + ], "active": False, "installable": True } diff --git a/addons/hr_timesheet/hr_timesheet_demo.xml b/addons/hr_timesheet/hr_timesheet_demo.xml index f5f098ceba7..31060ddca4a 100644 --- a/addons/hr_timesheet/hr_timesheet_demo.xml +++ b/addons/hr_timesheet/hr_timesheet_demo.xml @@ -44,7 +44,7 @@ - + @@ -56,7 +56,7 @@ - + @@ -68,7 +68,7 @@ - + @@ -80,7 +80,7 @@ - + @@ -92,7 +92,7 @@ - + @@ -104,7 +104,7 @@ - + @@ -116,7 +116,7 @@ - + @@ -128,7 +128,7 @@ - + @@ -140,7 +140,7 @@ - + @@ -153,7 +153,7 @@ - + diff --git a/addons/hr_timesheet/hr_timesheet_wizard.xml b/addons/hr_timesheet/hr_timesheet_wizard.xml index 3b39fd49b32..f3c197a5ef2 100644 --- a/addons/hr_timesheet/hr_timesheet_wizard.xml +++ b/addons/hr_timesheet/hr_timesheet_wizard.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/addons/hr_timesheet/ir.model.access.csv b/addons/hr_timesheet/ir.model.access.csv new file mode 100644 index 00000000000..e3e5456432e --- /dev/null +++ b/addons/hr_timesheet/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_hr_analytic_timesheet,hr.analytic.timesheet,model_hr_analytic_timesheet,base.group_user,1,0,0,0 diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet_demo.xml b/addons/hr_timesheet_sheet/hr_timesheet_sheet_demo.xml index c9f42691f3c..435e94c9efb 100644 --- a/addons/hr_timesheet_sheet/hr_timesheet_sheet_demo.xml +++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet_demo.xml @@ -3,7 +3,7 @@ Sheet 0 - + @@ -15,11 +15,7 @@ Sheet 1 - - + @@ -112,4 +108,4 @@ - \ No newline at end of file + diff --git a/addons/idea/__terp__.py b/addons/idea/__terp__.py index 6091a7c1cc8..d24abe82159 100644 --- a/addons/idea/__terp__.py +++ b/addons/idea/__terp__.py @@ -9,7 +9,9 @@ "depends" : ['base'], "init_xml" : [ ], "demo_xml" : [ ], - "update_xml" : ['idea_view.xml', 'idea_workflow.xml'], + "update_xml" : [ + "ir.model.access.csv", +'idea_view.xml', 'idea_workflow.xml'], "installable": True } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/idea/ir.model.access.csv b/addons/idea/ir.model.access.csv new file mode 100644 index 00000000000..4b23bfa0540 --- /dev/null +++ b/addons/idea/ir.model.access.csv @@ -0,0 +1,6 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_idea_category,idea.category,model_idea_category,base.group_user,1,0,0,0 +access_idea_idea,idea.idea,model_idea_idea,base.group_user,1,0,0,0 +access_idea_comment,idea.comment,model_idea_comment,base.group_user,1,0,0,0 +access_idea_vote,idea.vote,model_idea_vote,base.group_user,1,0,0,0 +access_idea_vote_stat,idea.vote.stat,model_idea_vote_stat,base.group_user,1,0,0,0 diff --git a/addons/membership/__terp__.py b/addons/membership/__terp__.py index 19311f6ebb0..5b65f1d9bb3 100644 --- a/addons/membership/__terp__.py +++ b/addons/membership/__terp__.py @@ -15,6 +15,8 @@ "membership_data.xml", ], "update_xml" : [ + "ir.model.access.csv", + "membership_view.xml","membership_wizard.xml" ], "active" : False, diff --git a/addons/membership/ir.model.access.csv b/addons/membership/ir.model.access.csv new file mode 100644 index 00000000000..4a08a4aa60d --- /dev/null +++ b/addons/membership/ir.model.access.csv @@ -0,0 +1 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink diff --git a/addons/mrp/mrp_data.xml b/addons/mrp/mrp_data.xml index c315f519a81..8cca7f01d7d 100644 --- a/addons/mrp/mrp_data.xml +++ b/addons/mrp/mrp_data.xml @@ -34,7 +34,7 @@ Run mrp scheduler - + 1 days -1 diff --git a/addons/mrp/mrp_security.xml b/addons/mrp/mrp_security.xml index 02f2efb8d4e..050fb1bc5f7 100644 --- a/addons/mrp/mrp_security.xml +++ b/addons/mrp/mrp_security.xml @@ -1,290 +1,5 @@ - - - - - - Production Manager - - - - Workers - - - - - - - - - - - - - - - - - - - - - Workcenter - - - - - - - - - Workcenter - - - - - - - - - - - Property - - - - - - - - - Property - - - - - - - - - - - Property Group - - - - - - - - - Property Group - - - - - - - - - - - Routing - - - - - - - - - Routing - - - - - - - - - - - Workcenter Routing - - - - - - - - - Workcenter Routing - - - - - - - - - - - Bill of Material - - - - - - - - - Bill of Material - - - - - - - - - - - Bom Revision - - - - - - - - - Bom Revision - - - - - - - - - - - Production - - - - - - - - - Production - - - - - - - - - - - Procurement - - - - - - - - - Procurement - - - - - - - - - - - Production Product Line - - - - - - - - - Production Product Line - - - - - - - - - - - Production Product Line - - - - - - - - - Production Product Line - - - - - - - - - - - Stock Move - - - - - - - - - Stock Move - - - - - - - - - - - - Stock Move - - - - - - - - - Stock Move - - - - - - - - - \ No newline at end of file + + + Production Manager + + \ No newline at end of file diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml index cb1915db55a..21355828ef7 100644 --- a/addons/mrp/mrp_view.xml +++ b/addons/mrp/mrp_view.xml @@ -27,7 +27,7 @@ form tree,form - + diff --git a/addons/mrp/scripts/scheduler.py b/addons/mrp/scripts/scheduler.py index 96b009c57ab..aceeeeb96e5 100644 --- a/addons/mrp/scripts/scheduler.py +++ b/addons/mrp/scripts/scheduler.py @@ -31,8 +31,8 @@ import xmlrpclib sock = xmlrpclib.ServerProxy('http://localhost:8069/xmlrpc/wizard') -wiz_id = sock.create('trunk', 3, 'admin', 'mrp.procurement.compute.all') -sock.execute('trunk', 3, 'admin', wiz_id, {'form': {'po_cycle': 1.0, 'po_lead': 1.0, 'user_id': 3, 'schedule_cycle': 1.0, 'picking_lead': 1.0, 'security_lead': 50.0, 'automatic': False}, 'ids': [], 'report_type': 'pdf', 'model': 'ir.ui.menu', 'id': False}, 'compute', {}) +wiz_id = sock.create('trunk', 1, 'admin', 'mrp.procurement.compute.all') +sock.execute('trunk', 1, 'admin', wiz_id, {'form': {'po_cycle': 1.0, 'po_lead': 1.0, 'user_id': 3, 'schedule_cycle': 1.0, 'picking_lead': 1.0, 'security_lead': 50.0, 'automatic': False}, 'ids': [], 'report_type': 'pdf', 'model': 'ir.ui.menu', 'id': False}, 'compute', {}) # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/point_of_sale/__terp__.py b/addons/point_of_sale/__terp__.py index 6ddb5ae00bf..2b0def1b195 100644 --- a/addons/point_of_sale/__terp__.py +++ b/addons/point_of_sale/__terp__.py @@ -18,7 +18,9 @@ Main features : "depends": ["sale", "purchase", "account", "account_tax_include"], "init_xml": [], "demo_xml": [], - "update_xml": ["pos_report.xml", "pos_wizard.xml", "pos_view.xml", "pos_sequence.xml", "pos_data.xml", "pos_workflow.xml"], + "update_xml": [ + "ir.model.access.csv", +"pos_report.xml", "pos_wizard.xml", "pos_view.xml", "pos_sequence.xml", "pos_data.xml", "pos_workflow.xml"], "installable": True, } diff --git a/addons/point_of_sale/ir.model.access.csv b/addons/point_of_sale/ir.model.access.csv new file mode 100644 index 00000000000..4bbbc21714d --- /dev/null +++ b/addons/point_of_sale/ir.model.access.csv @@ -0,0 +1,6 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_pos_config_journal,pos.config.journal,model_pos_config_journal,base.group_user,1,0,0,0 +access_pos_order,pos.order,model_pos_order,base.group_user,1,0,0,0 +access_pos_order_line,pos.order.line,model_pos_order_line,base.group_user,1,0,0,0 +access_pos_payment,pos.payment,model_pos_payment,base.group_user,1,0,0,0 +access_report_transaction_pos,report.transaction.pos,model_report_transaction_pos,base.group_user,1,0,0,0 diff --git a/addons/processus/__terp__.py b/addons/processus/__terp__.py index ab4013cab86..508a8dea3bc 100644 --- a/addons/processus/__terp__.py +++ b/addons/processus/__terp__.py @@ -13,7 +13,6 @@ This module allows you to manage your processus for the end-users. "demo_xml" : [], "update_xml" : [ 'processus_view.xml', - 'ir.model.access.csv', "processus_report.xml"], "active": False, "installable": True diff --git a/addons/processus/ir.model.access.csv b/addons/processus/ir.model.access.csv index 1819b4e4c67..e092c3e2f65 100644 --- a/addons/processus/ir.model.access.csv +++ b/addons/processus/ir.model.access.csv @@ -1,9 +1,5 @@ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink -access_processus,processus.processus,model_processus_processus,,1,0,0,0 -access_node,processus.node,model_processus_node,,1,0,0,0 -access_transition,processus.transition,model_processus_transition,,1,0,0,0 -access_action,processus.transition.action,model_processus_transition_action,,1,0,0,0 -access_group_processus,processus.processus,model_processus_processus,base.group_admin,1,1,1,1 -access_group_node,processus.node,model_processus_node,base.group_admin,1,1,1,1 -access_group_transition,processus.transition,model_processus_transition,base.group_admin,1,1,1,1 -access_group_action,processus.transition.action,model_processus_transition_action,base.group_admin,1,1,1,1 +access_processus_processus,processus.processus,model_processus_processus,base.group_user,1,0,0,0 +access_processus_node,processus.node,model_processus_node,base.group_user,1,0,0,0 +access_processus_transition,processus.transition,model_processus_transition,base.group_user,1,0,0,0 +access_processus_transition_action,processus.transition.action,model_processus_transition_action,base.group_user,1,0,0,0 \ No newline at end of file diff --git a/addons/product/product_security.xml b/addons/product/product_security.xml index 9bc6724dd14..cffce5169fd 100644 --- a/addons/product/product_security.xml +++ b/addons/product/product_security.xml @@ -1,114 +1,5 @@ - - - - - - Product Manager - - - - - - - - - Product - - - - - - - - - Product - - - - - - - - - - - Product Template - - - - - - - - - Product Template - - - - - - - - - - - Product Pricelist - - - - - - - - - Product Pricelist - - - - - - - - - - - Product Pricelist Version - - - - - - - - - Product Pricelist Version - - - - - - - - - - - Product Pricelist Item - - - - - - - - - Product Pricelist Item - - - - - - - - - - \ No newline at end of file + + + Product Manager + + \ No newline at end of file diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index 46c726d923c..aad162bd279 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -3,7 +3,7 @@ - + product.product.tree diff --git a/addons/project/project_demo.xml b/addons/project/project_demo.xml index 118b43810b2..4f10508ddb8 100644 --- a/addons/project/project_demo.xml +++ b/addons/project/project_demo.xml @@ -10,7 +10,7 @@ 584.0 1 Tiny ERP Integration - + 216.0 @@ -19,7 +19,7 @@ Study + Prototype - + 264.0 @@ -27,7 +27,7 @@ Specific Developements - + 104.0 @@ -35,12 +35,12 @@ Install, data import, configuration - + 38.0 - + BoM, After sales returns, interventions. Tracability. Specific adaptation to MRP @@ -106,7 +106,7 @@ 29 24.0 - + MRP; functionnal layer done @@ -165,7 +165,7 @@ 40 32.0 - + In house trainings 2007-06-06 @@ -174,7 +174,7 @@ 50 1 24.0 - + Validation + latest modifications. @@ -207,4 +207,4 @@ Latest in house tests - \ No newline at end of file + diff --git a/addons/project/project_security.xml b/addons/project/project_security.xml index a86527a8809..44f5c17ea09 100644 --- a/addons/project/project_security.xml +++ b/addons/project/project_security.xml @@ -1,98 +1,5 @@ - - - - - - Project Manager - - - - Project Member - - - - - - - - - Project - - - - - - - - - Project - - - - - - - - - - - Project Task - - - - - - - - - Project Task - - - - - - - - - - Project Task - - - - - - - - - - - Project Task Work - - - - - - - - - Project Task Work - - - - - - - - - - Project Task Work - - - - - - - - - - \ No newline at end of file + + + Project Manager + + \ No newline at end of file diff --git a/addons/project/project_view.xml b/addons/project/project_view.xml index ac1d515441b..b49885c4bd7 100644 --- a/addons/project/project_view.xml +++ b/addons/project/project_view.xml @@ -2,7 +2,7 @@ - + diff --git a/addons/project_gtd/__terp__.py b/addons/project_gtd/__terp__.py index c236f95943e..914ceb9c269 100644 --- a/addons/project_gtd/__terp__.py +++ b/addons/project_gtd/__terp__.py @@ -8,7 +8,9 @@ "description": "", "init_xml" : [], "demo_xml" : ["project_gtd_demo.xml"], - "update_xml": ["project_gtd_view.xml","project_gtd_wizard.xml"], + "update_xml": [ + "ir.model.access.csv", +"project_gtd_view.xml","project_gtd_wizard.xml"], "active": False, "installable": True } diff --git a/addons/project_gtd/ir.model.access.csv b/addons/project_gtd/ir.model.access.csv new file mode 100644 index 00000000000..3a15c2a42e1 --- /dev/null +++ b/addons/project_gtd/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_project_gtd_context,project.gtd.context,model_project_gtd_context,base.group_user,1,0,0,0 +access_project_gtd_timebox,project.gtd.timebox,model_project_gtd_timebox,base.group_user,1,0,0,0 diff --git a/addons/project_gtd/project_gtd_demo.xml b/addons/project_gtd/project_gtd_demo.xml index 56d8dda0b19..8fc668ed283 100644 --- a/addons/project_gtd/project_gtd_demo.xml +++ b/addons/project_gtd/project_gtd_demo.xml @@ -25,7 +25,7 @@ Daily - + daily @@ -37,7 +37,7 @@ Weekly - + weekly @@ -49,7 +49,7 @@ Monthly - + other @@ -61,7 +61,7 @@ Long Term - + other diff --git a/addons/purchase/purchase_security.xml b/addons/purchase/purchase_security.xml index 3dd713dd4f7..f036fc4a837 100644 --- a/addons/purchase/purchase_security.xml +++ b/addons/purchase/purchase_security.xml @@ -1,93 +1,5 @@ - - - - - - Purchase Manager - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Purchase Order - - - - - - - - - Purchase Order - - - - - - - - - - - Purchase Order Line - - - - - - - - - Purchase Order Line - - - - - - - - - \ No newline at end of file + + + Purchase Manager + + \ No newline at end of file diff --git a/addons/purchase/purchase_unit_test.xml b/addons/purchase/purchase_unit_test.xml index b179e8f1ba0..6eb611aacf3 100644 --- a/addons/purchase/purchase_unit_test.xml +++ b/addons/purchase/purchase_unit_test.xml @@ -75,7 +75,7 @@ confirmed - + approved diff --git a/addons/report_account/__terp__.py b/addons/report_account/__terp__.py index 27aebb5d661..7b9c20baf54 100644 --- a/addons/report_account/__terp__.py +++ b/addons/report_account/__terp__.py @@ -36,7 +36,10 @@ "description": "A module that adds new reports based on the account module.", "init_xml" : [], "demo_xml" : [], - "update_xml" : ["report_receivable_view.xml"], + "update_xml" : [ + "report_receivable_view.xml", + "ir.model.access.csv", + ], "active": False, "installable": True } diff --git a/addons/report_account/ir.model.access.csv b/addons/report_account/ir.model.access.csv new file mode 100644 index 00000000000..162e26600ff --- /dev/null +++ b/addons/report_account/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_report_account_receivable,report.account.receivable,model_report_account_receivable,base.group_user,1,0,0,0 diff --git a/addons/report_analytic/__terp__.py b/addons/report_analytic/__terp__.py index 0168880430c..c5928486e18 100644 --- a/addons/report_analytic/__terp__.py +++ b/addons/report_analytic/__terp__.py @@ -36,7 +36,10 @@ "description": "A module that adds new reports based on analytic accounts.", "init_xml" : [], "demo_xml" : [], - "update_xml" : ["report_analytic_view.xml"], + "update_xml" : [ + "report_analytic_view.xml", + "ir.model.access.csv", + ], "active": False, "installable": True } diff --git a/addons/report_analytic/ir.model.access.csv b/addons/report_analytic/ir.model.access.csv new file mode 100644 index 00000000000..5f9181889cb --- /dev/null +++ b/addons/report_analytic/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_report_analytic_account_close,report.analytic.account.close,model_report_analytic_account_close,base.group_user,1,0,0,0 diff --git a/addons/report_analytic_line/__terp__.py b/addons/report_analytic_line/__terp__.py index 7b2ff187ab8..bb2b0f8ec42 100644 --- a/addons/report_analytic_line/__terp__.py +++ b/addons/report_analytic_line/__terp__.py @@ -39,6 +39,7 @@ ], "update_xml" : [ "report_analytic_line_view.xml", + "ir.model.access.csv", ], "active": False, "installable": True diff --git a/addons/report_analytic_line/ir.model.access.csv b/addons/report_analytic_line/ir.model.access.csv new file mode 100644 index 00000000000..cc9b921b502 --- /dev/null +++ b/addons/report_analytic_line/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_report_account_analytic_line_to_invoice,report.account.analytic.line.to.invoice,model_report_account_analytic_line_to_invoice,base.group_user,1,0,0,0 diff --git a/addons/report_crm/__terp__.py b/addons/report_crm/__terp__.py index a82c1af8c1f..efec1f3d174 100644 --- a/addons/report_crm/__terp__.py +++ b/addons/report_crm/__terp__.py @@ -36,7 +36,10 @@ "description": "A module that adds new reports based on CRM cases.", "init_xml" : [], "demo_xml" : [], - "update_xml" : ["report_crm_view.xml"], + "update_xml" : [ + "report_crm_view.xml", + "ir.model.access.csv", + ], "active": False, "installable": True } diff --git a/addons/report_crm/ir.model.access.csv b/addons/report_crm/ir.model.access.csv new file mode 100644 index 00000000000..6324447e3ae --- /dev/null +++ b/addons/report_crm/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_report_crm_case_user,report.crm.case.user,model_report_crm_case_user,base.group_user,1,0,0,0 +access_report_crm_case_categ,report.crm.case.categ,model_report_crm_case_categ,base.group_user,1,0,0,0 diff --git a/addons/report_intrastat/__terp__.py b/addons/report_intrastat/__terp__.py index fe593571224..0978187d916 100644 --- a/addons/report_intrastat/__terp__.py +++ b/addons/report_intrastat/__terp__.py @@ -36,7 +36,10 @@ "description": "A module that adds intrastat reports.", "init_xml" : ["report_intrastat_data.xml",], "demo_xml" : [], - "update_xml" : ["report_intrastat_view.xml",], + "update_xml" : [ + "report_intrastat_view.xml", + "ir.model.access.csv", + ], "active": False, "installable": True } diff --git a/addons/report_intrastat/ir.model.access.csv b/addons/report_intrastat/ir.model.access.csv new file mode 100644 index 00000000000..cb354173518 --- /dev/null +++ b/addons/report_intrastat/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_report_intrastat_code,report.intrastat.code,model_report_intrastat_code,base.group_user,1,0,0,0 +access_report_intrastat,report.intrastat,model_report_intrastat,base.group_user,1,0,0,0 diff --git a/addons/report_mrp/__terp__.py b/addons/report_mrp/__terp__.py index 29ed5dbcce4..593abf2d6ab 100644 --- a/addons/report_mrp/__terp__.py +++ b/addons/report_mrp/__terp__.py @@ -36,7 +36,10 @@ "description": "A module that adds new reports based on MRP cases.", "init_xml": [], "demo_xml": [], - "update_xml": ["report_mrp_view.xml"], + "update_xml": [ + "report_mrp_view.xml", + "ir.model.access.csv", + ], "installable": True } diff --git a/addons/report_mrp/ir.model.access.csv b/addons/report_mrp/ir.model.access.csv new file mode 100644 index 00000000000..aa413e2d248 --- /dev/null +++ b/addons/report_mrp/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_report_workcenter_load,report.workcenter.load,model_report_workcenter_load,base.group_user,1,0,0,0 +access_report_mrp_inout,report.mrp.inout,model_report_mrp_inout,base.group_user,1,0,0,0 diff --git a/addons/report_project/__terp__.py b/addons/report_project/__terp__.py index 0cc48f25055..a90d80bc83b 100644 --- a/addons/report_project/__terp__.py +++ b/addons/report_project/__terp__.py @@ -36,7 +36,10 @@ "description": "A module that adds some reports on the sales", "init_xml" : [], "demo_xml" : [], - "update_xml" : ["report_project_view.xml"], + "update_xml" : [ + "report_project_view.xml", + "ir.model.access.csv", + ], "active": False, "installable": True } diff --git a/addons/report_project/ir.model.access.csv b/addons/report_project/ir.model.access.csv new file mode 100644 index 00000000000..9dbded5a90a --- /dev/null +++ b/addons/report_project/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_report_project_task_user,report.project.task.user,model_report_project_task_user,base.group_user,1,0,0,0 +access_report_project_task,report.project.task,model_report_project_task,base.group_user,1,0,0,0 diff --git a/addons/report_purchase/__terp__.py b/addons/report_purchase/__terp__.py index c05bde1a4a9..953afc4db6e 100644 --- a/addons/report_purchase/__terp__.py +++ b/addons/report_purchase/__terp__.py @@ -35,7 +35,10 @@ "category" : "Generic Modules/Sales & Purchases", "init_xml" : [], "demo_xml" : [], - "update_xml" : ["report_purchase_view.xml"], + "update_xml" : [ + "report_purchase_view.xml", + "ir.model.access.csv", + ], "active": False, "installable": True } diff --git a/addons/report_purchase/ir.model.access.csv b/addons/report_purchase/ir.model.access.csv new file mode 100644 index 00000000000..0083635432c --- /dev/null +++ b/addons/report_purchase/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_report_purchase_order_product,report.purchase.order.product,model_report_purchase_order_product,base.group_user,1,0,0,0 +access_report_purchase_order_category,report.purchase.order.category,model_report_purchase_order_category,base.group_user,1,0,0,0 diff --git a/addons/report_sale/__terp__.py b/addons/report_sale/__terp__.py index 6186dff5559..a17affd5fb7 100644 --- a/addons/report_sale/__terp__.py +++ b/addons/report_sale/__terp__.py @@ -46,7 +46,11 @@ """, "init_xml" : [], "demo_xml" : [], - "update_xml" : ["report_sale_view.xml","report_sale_graph.xml"], + "update_xml" : [ + "report_sale_view.xml", + "report_sale_graph.xml", + "ir.model.access.csv", + ], "active": False, "installable": True } diff --git a/addons/report_sale/ir.model.access.csv b/addons/report_sale/ir.model.access.csv new file mode 100644 index 00000000000..9bc76aeda2b --- /dev/null +++ b/addons/report_sale/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_report_sale_order_product,report.sale.order.product,model_report_sale_order_product,base.group_user,1,0,0,0 +access_report_sale_order_category,report.sale.order.category,model_report_sale_order_category,base.group_user,1,0,0,0 diff --git a/addons/report_stock/__terp__.py b/addons/report_stock/__terp__.py index 43966a7d4f8..35d0899abc9 100644 --- a/addons/report_stock/__terp__.py +++ b/addons/report_stock/__terp__.py @@ -42,7 +42,10 @@ """, "init_xml" : [], "demo_xml" : [], - "update_xml" : ["report_stock_view.xml",], + "update_xml" : [ + "report_stock_view.xml", + "ir.model.access.csv", + ], "active": False, "installable": True } diff --git a/addons/report_stock/ir.model.access.csv b/addons/report_stock/ir.model.access.csv new file mode 100644 index 00000000000..1fe712a6a59 --- /dev/null +++ b/addons/report_stock/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_report_stock_prodlots,report.stock.prodlots,model_report_stock_prodlots,base.group_user,1,0,0,0 diff --git a/addons/report_task/__terp__.py b/addons/report_task/__terp__.py index 1617b1ff13f..737fb67c43c 100644 --- a/addons/report_task/__terp__.py +++ b/addons/report_task/__terp__.py @@ -36,6 +36,7 @@ 'init_xml' : [], 'update_xml': [ 'report_task_view.xml', + "ir.model.access.csv", ], 'active': False, 'installable': True diff --git a/addons/report_task/ir.model.access.csv b/addons/report_task/ir.model.access.csv new file mode 100644 index 00000000000..d506ecabe5b --- /dev/null +++ b/addons/report_task/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_report_task_user_pipeline_open,report.task.user.pipeline.open,model_report_task_user_pipeline_open,base.group_user,1,0,0,0 diff --git a/addons/sale/__terp__.py b/addons/sale/__terp__.py index 46c20a4f913..3f840114d05 100644 --- a/addons/sale/__terp__.py +++ b/addons/sale/__terp__.py @@ -52,7 +52,6 @@ - delivery costs """, "update_xml" : [ - "sale_workflow.xml", "sale_sequence.xml", "sale_data.xml", diff --git a/addons/sale/sale_demo.xml b/addons/sale/sale_demo.xml index 67584eb2a3b..53796da223f 100644 --- a/addons/sale/sale_demo.xml +++ b/addons/sale/sale_demo.xml @@ -9,7 +9,7 @@ - + diff --git a/addons/sale/sale_security.xml b/addons/sale/sale_security.xml index 84a48e4f765..71330a9d7a2 100644 --- a/addons/sale/sale_security.xml +++ b/addons/sale/sale_security.xml @@ -1,177 +1,144 @@ - - - - - - Sale Manager - - - Salesman - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Mrp procurement - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Mrp procurement - - - - - - - - - - - Sale Order - - - - - - - - - Sale Order - - - - - - - - - - Sale Order - - - - - - - - - - - Sale Order Line - - - - - - - - - Sale Order Line - - - - - - - - - - Sale Order Line - - - - - - - - - - \ No newline at end of file + + + Salesman + + + + + account_invoice group_sale_salesman + + + + + + + + + account_invoice account.group_sale_manager + + + + + + + + + account_invoice_line group_sale_salesman + + + + + + + + + account_invoice_line account.group_sale_manager + + + + + + + + + account_invoice_tax account.group_sale_manager + + + + + + + + + account_invoice_tax group_sale_salesman + + + + + + + + + mrp_procurement account.group_sale_manager + + + + + + + + + mrp_procurement group_sale_salesman + + + + + + + + + sale_order account.group_sale_manager + + + + + + + + + sale_order base.group_user + + + + + + + + + sale_order_line group_sale_salesman + + + + + + + + + sale_order_line account.group_sale_manager + + + + + + + + + sale_order_line base.group_user + + + + + + + + + stock_move account.group_sale_manager + + + + + + + + + stock_move group_sale_salesman + + + + + + + + \ No newline at end of file diff --git a/addons/sale/sale_unit_test.xml b/addons/sale/sale_unit_test.xml index 89b64507f95..2e0e77ec3c8 100644 --- a/addons/sale/sale_unit_test.xml +++ b/addons/sale/sale_unit_test.xml @@ -5,7 +5,7 @@ - + @@ -43,7 +43,7 @@ manual - + progress diff --git a/addons/sale/sale_view.xml b/addons/sale/sale_view.xml index 893c6597086..e1d8012733a 100644 --- a/addons/sale/sale_view.xml +++ b/addons/sale/sale_view.xml @@ -41,7 +41,7 @@ form - + diff --git a/addons/sale_journal/picking_journal_view.xml b/addons/sale_journal/picking_journal_view.xml index 36a5830503a..60b38200c6d 100644 --- a/addons/sale_journal/picking_journal_view.xml +++ b/addons/sale_journal/picking_journal_view.xml @@ -56,7 +56,7 @@ tree,form - + @@ -67,7 +67,7 @@ [] - + diff --git a/addons/sale_journal/picking_journal_view_report.xml b/addons/sale_journal/picking_journal_view_report.xml index c73b8ab4198..dae1fb7a6af 100644 --- a/addons/sale_journal/picking_journal_view_report.xml +++ b/addons/sale_journal/picking_journal_view_report.xml @@ -57,7 +57,7 @@ [('name','=',time.strftime('%Y-%m-01'))] - + diff --git a/addons/scrum/__terp__.py b/addons/scrum/__terp__.py index 117da98e70f..10ee69c7e53 100644 --- a/addons/scrum/__terp__.py +++ b/addons/scrum/__terp__.py @@ -56,7 +56,12 @@ * http://controlchaos.com """, "demo_xml" : ["scrum_demo.xml"], - "update_xml": ["scrum_view.xml","scrum_report.xml", "scrum_wizard.xml"], + "update_xml": [ + "scrum_view.xml", + "scrum_report.xml", + "scrum_wizard.xml", + "ir.model.access.csv", + ], "active": False, "installable": True } diff --git a/addons/scrum/ir.model.access.csv b/addons/scrum/ir.model.access.csv new file mode 100644 index 00000000000..604df36dce2 --- /dev/null +++ b/addons/scrum/ir.model.access.csv @@ -0,0 +1,5 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_scrum_team,scrum.team,model_scrum_team,base.group_user,1,0,0,0 +access_scrum_sprint,scrum.sprint,model_scrum_sprint,base.group_user,1,0,0,0 +access_scrum_product_backlog,scrum.product.backlog,model_scrum_product_backlog,base.group_user,1,0,0,0 +access_scrum_meeting,scrum.meeting,model_scrum_meeting,base.group_user,1,0,0,0 diff --git a/addons/scrum/scrum_demo.xml b/addons/scrum/scrum_demo.xml index 4ec1b43644d..0da89078df8 100644 --- a/addons/scrum/scrum_demo.xml +++ b/addons/scrum/scrum_demo.xml @@ -19,7 +19,7 @@ 2005-12-20 Sprint for V3.2.0 - + open @@ -190,4 +190,4 @@ - \ No newline at end of file + diff --git a/addons/stock/__terp__.py b/addons/stock/__terp__.py index 92c553a71da..7e41b9f65a5 100644 --- a/addons/stock/__terp__.py +++ b/addons/stock/__terp__.py @@ -38,13 +38,15 @@ "update_xml" : [ "stock_workflow.xml", "stock_data.xml", - "stock_incoterms.xml","stock_wizard.xml", + "stock_incoterms.xml", + "stock_wizard.xml", "stock_view.xml", "stock_report.xml", "stock_sequence.xml", "product_data.xml", "product_view.xml", - "partner_view.xml" + "partner_view.xml", + "ir.model.access.csv", ], "active": False, "installable": True diff --git a/addons/stock/ir.model.access.csv b/addons/stock/ir.model.access.csv new file mode 100644 index 00000000000..94254f9d951 --- /dev/null +++ b/addons/stock/ir.model.access.csv @@ -0,0 +1,12 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_stock_incoterms,stock.incoterms,model_stock_incoterms,base.group_user,1,0,0,0 +access_stock_location,stock.location,model_stock_location,base.group_user,1,0,0,0 +access_stock_tracking,stock.tracking,model_stock_tracking,base.group_user,1,0,0,0 +access_stock_picking,stock.picking,model_stock_picking,base.group_user,1,0,0,0 +access_stock_production_lot,stock.production.lot,model_stock_production_lot,base.group_user,1,0,0,0 +access_stock_production_lot_revision,stock.production.lot.revision,model_stock_production_lot_revision,base.group_user,1,0,0,0 +access_stock_move,stock.move,model_stock_move,base.group_user,1,0,0,0 +access_stock_inventory,stock.inventory,model_stock_inventory,base.group_user,1,0,0,0 +access_stock_inventory_line,stock.inventory.line,model_stock_inventory_line,base.group_user,1,0,0,0 +access_stock_warehouse,stock.warehouse,model_stock_warehouse,base.group_user,1,0,0,0 +access_stock_picking_move_wizard,stock.picking.move.wizard,model_stock_picking_move_wizard,base.group_user,1,0,0,0 diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml index d1ae72353f9..0864f57b4a4 100644 --- a/addons/stock/stock_view.xml +++ b/addons/stock/stock_view.xml @@ -2,7 +2,7 @@ - + ============================= Inventory Line diff --git a/addons/subscription/__terp__.py b/addons/subscription/__terp__.py index aa509c7d755..62da3096f1e 100644 --- a/addons/subscription/__terp__.py +++ b/addons/subscription/__terp__.py @@ -34,7 +34,9 @@ "depends" : ["base"], "init_xml" : [], "demo_xml" : [], - "update_xml" : ["subscription_view.xml"], + "update_xml" : [ + "ir.model.access.csv", + "subscription_view.xml"], "active": False, "installable": True } diff --git a/addons/subscription/ir.model.access.csv b/addons/subscription/ir.model.access.csv new file mode 100644 index 00000000000..c4da7f24187 --- /dev/null +++ b/addons/subscription/ir.model.access.csv @@ -0,0 +1,5 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_subscription_document,subscription.document,model_subscription_document,base.group_user,1,0,0,0 +access_subscription_document_fields,subscription.document.fields,model_subscription_document_fields,base.group_user,1,0,0,0 +access_subscription_subscription,subscription.subscription,model_subscription_subscription,base.group_user,1,0,0,0 +access_subscription_subscription_history,subscription.subscription.history,model_subscription_subscription_history,base.group_user,1,0,0,0 diff --git a/addons/subscription/subscription_view.xml b/addons/subscription/subscription_view.xml index b15d9e2673b..9951eaa8514 100644 --- a/addons/subscription/subscription_view.xml +++ b/addons/subscription/subscription_view.xml @@ -3,7 +3,7 @@ - +