← Back to team overview

openerp-community-reviewer team mailing list archive

[Merge] lp:~camptocamp/account-budgeting/vre-budget-responsible-group into lp:account-budgeting

 

Vincent Renaville@camptocamp has proposed merging lp:~camptocamp/account-budgeting/vre-budget-responsible-group into lp:account-budgeting.

Requested reviews:
  Account Core Editors (account-core-editors)

For more details, see:
https://code.launchpad.net/~camptocamp/account-budgeting/vre-budget-responsible-group/+merge/223705

Hello,

In some case, people need to create budget lines from project , without being a financial manager.

So I create a group Budget Responsible.

Vincent

-- 
https://code.launchpad.net/~camptocamp/account-budgeting/vre-budget-responsible-group/+merge/223705
Your team Account Core Editors is requested to review the proposed merge of lp:~camptocamp/account-budgeting/vre-budget-responsible-group into lp:account-budgeting.
=== modified file 'budget/__openerp__.py'
--- budget/__openerp__.py	2014-04-23 13:53:39 +0000
+++ budget/__openerp__.py	2014-06-19 09:55:40 +0000
@@ -42,6 +42,7 @@
              ],
  "data": ["budget_view.xml",
           "analytic_view.xml",
+          "security/security.xml",
           "security/ir.model.access.csv"
           ],
  "test": ["test/analytic_amount.yml"],

=== modified file 'budget/security/ir.model.access.csv'
--- budget/security/ir.model.access.csv	2013-12-16 15:36:16 +0000
+++ budget/security/ir.model.access.csv	2014-06-19 09:55:40 +0000
@@ -3,4 +3,5 @@
 "access_budget_budget","budget.budget","model_budget_budget","account.group_account_manager",1,1,1,1
 "access_budget_version","budget.version","model_budget_version","account.group_account_manager",1,1,1,1
 "access_budget_line","budget.line","model_budget_line","account.group_account_manager",1,1,1,1
+"access_budget_line_responsible","budget.line","model_budget_line","group_budget_responsible",1,1,1,1
 "access_budget_allocation_type","budget.allocation","model_budget_allocation_type","account.group_account_manager",1,1,1,1
\ No newline at end of file

=== added file 'budget/security/security.xml'
--- budget/security/security.xml	1970-01-01 00:00:00 +0000
+++ budget/security/security.xml	2014-06-19 09:55:40 +0000
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+    <data>
+        <record model="res.groups" id="group_budget_responsible">
+            <field name="name">Budget Responsible</field>
+        </record>
+
+    </data>
+</openerp>


Follow ups