OCA / account-budgeting

38 stars 113 forks source link

[12.0][ADD] budget_control [WIP] #36

Open kittiu opened 4 years ago

kittiu commented 4 years ago

Note: start in [12.0] budget expected to continue in [13.0] as soon an required dependencies are ready.

Overview of Budget Control for Public Sector

This is a set of modules aimed for efficiently manage budgeting for public sector. It will include the following features,

Current WIP: https://github.com/OCA/account-budgeting/pull/35


Budget Process

image

Before new Fiscal Year

  1. Prepare new Budget Period

    • Budget Manager :: Create budget period for new fiscal year, identify all expense group.
  2. Create Budget Control Sheets

    • Budget Manager :: Prepare draft (inactive) budget control sheet with allocated budget for every budget code (analytic)

During Fiscal Year

  1. Budget Commitment and Actual
    • Budget commitment on PR/PO/EX
    • Budget actual in INV
    • Budget Balance = Budget Allocation - Budget Consumed (all commit + actual)
  2. Budget Monitoring and Control
    • Budget Manager and Users will have visibility of all budgets (based on permission)
    • At any point, if the confirmation of a any document will result in Budget Balance < 0.0, system will block the document confirm and show warning message that budget is not enough
  3. Budget Transfer
    • Budget User and Budget Manager :: can always transfer unused budget from one budget code (analytic) to another. Optional approval process is possible. During budget transfer process, budget will be locked for transferring budget code (analytic).

Year End Closing Process

In additional to normal account closing process, we will have a new budget closing process too.

  1. Budget Commitment Carry Forward

    • Budget Manager :: can see all document (PR/PO/EX) with commitment amount of the current fiscal year, after confirm, those commitment amount will be moved to next fiscal year.
  2. Budget Initial Allocation

    • Budget Manager :: can use commitment amount forwarded as the initial budget allocation.
kittiu commented 4 years ago

cc @sbidoul @lmignon This will be the scope I try to achieved.