-
-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[12.0][ADD] budget_management [WIP] #32
Conversation
3a3206a
to
4ff2197
Compare
Usage of budget_managementThis module is the base of all the 3 addons in this PR. It targeted user who want to easily plan and strictly control budget at Analytic Account level. For example, user want to control Project-A and Project-B on its expenses Preparation1. Create new Project-A and Project-B
2. Create KPIs (mis.report), i.e., for material expenses, and service expenses
Assume material expense and service expense refer to account code 5001 and 5002 respectively. As sample, I also create products that use those accounts for expense Note: Make sure both KPI lines are budgetable 3. Create Budget Management for the control period, i.e., for fiscal 2019
A Budget Management is used as configurator to manage budget for a set of KPI, of multiple projects (analytic account), for a set period of time. Select the KPI Template form (2), and note that the new Budget (mis.budget) is auto created. On budget management,
As At this point, if user try to confirm a vendor bill for Project-A or Project-B, system should not allow, as a budget control sheet for each project is not set. We should allocate the amount for both project first, to use the budget. 4. Create Budget Control Sheet
User will create budget control and allocate amount for each project (analytic account).
From below picture, we have setup for Project-A to budget for material 6,000 and service 3,000. Repeat the same for Project-B. Operation - Budget Check on Vendor Bill1. Review current budget reportAt this point, user can browse to MIS Report - FY2019, to see the overall budget report for both Project-A and Project-B as following, But from the Budget Control - FY2019 for Project-A, click on Preview button will already show the current budget consumption report as follow, i.e., for Project-A, available amount for material and expense are 6,000 and 3,000 respectively. 2. Confirm vendor bill to test on budget checkCreate a new Vendor Bill for Project-A and Project-B, and attempt to over budget for Project-A. The system will block user from validating document. Fill in a reasonable amount and this document will pass the budget check. Now, go back to preview budget report again and see the actual amount being adjusted. |
Usage of budget_management_purchase, budget_management_expenseThese 2 modules is used to expand the budget control to cover purchase and expense document. When confirm the 2 document, system will also log the budget moves and consider them as budget commitment in budget report. Once the addons are installed, user will see more options, On each document, i.e., Purchase Order, will create budget moves, Those budget moves from Purchase and Expense will also reflect in budget reports, i.e., for Project-A |
4ff2197
to
61f5a48
Compare
d62ee13
to
d11fedb
Compare
Please feel free to leave your comment or feature request here. ;) |
16189a3
to
6a69bc4
Compare
6a69bc4
to
71dab18
Compare
Change module to budget_control, moved to #35 |
@kittiu All this work looks really promising. Thank you for this work. We have to manage public accounting for some of our clients and upon reading the description I have the feeling that our approach could benefit greatly from these addons. |
@lmignon glad that you are interested. There are more to come, i..e, close year end budget commitment carry over, budget transfer between costcenter (analytic), more dimensions for more budget monitoring report, etc. We plan to use in v13 as well, but since no mis_builder, we also can't do. You can help expedite the v13 mis_buider, hehe. |
Hi @kittiu, I'm interested to see this feature. I wonder if the budget management expense will consider the Approved / Paid Employee Advance as in https://github.com/OCA/hr/tree/12.0/hr_expense_advance_clearing |
Hi @hitrosol BUT in the coming project we are doing, it seem that customer want to commit in Advance too. |
Hi @kittiu I also found some situation where the reallocation of the expense is conducted through the Journal Entries. Will you put the budget validation in Journal Entries whenever user Approve it ? Good job for this module :) |
Hi @hitrosol Yes, we check on account.move - post(). So, it will cover the case. For hr_expense_advance_clearing. We agree to make it work on hr advance also. It will cover both cases in the future. You have project or experiences with public budgeting? Thank you for your comment. As this progress, would love more comment from you. |
By the way, this PR is closed, as I want to move discuss here to the issue. In future, let's discuss there :) |
These module make use of module
mis_buider_budget
infrastructure for budget control, but add more features toThis PR consist of 3 addons
budget_management
: this addon provide main models for configuration.budget.management
- setup a data range (i.e., yearly) configuration of how budget will be controlled (by which KPI, analytic account and whether invoice to be controlled by which budget allocated)budget.control
- provide easier way to allocated budget items for each analytic account, by kpi vs time periodbudget_management_purchase
: to consider purchase confirmation as another source of budget consumption (budget moves), and also lock budget during purchase confirm.budget_management_expense
: to consider expense approved as another source of budget consumption (budget moves), and also lock budget during expense approval.budget_management_sale
: to consider sales approved as another source of budget consumption (budget moves), but not locking as sales is always OK.budget_management_purchase_request
: to consider PR approved as another source of budget consumption (budget moves), and also lock budget during PR approval.Pending task in this PR