Tryton should allow to enter budget for accounts or analytic accounts. A budget is a plan over a period to define the balance per sets of accounts.
It should be possible to define a budget based on accounts or analytic accounts. It should be possible to compare actual with budget.
account_budget
should define Mixin to be reused for other similar modules.
- name:
Char
- company:
Many2One
tocompany.company
- fiscalyear:
Many2One
toaccount.fiscalyear
- parent:
Many2One
toaccount.budget
- children:
One2Many
toaccount.budget
- amount:
Numeric
in company currency - accounts:
Many2Many
ofaccount.account
- balance:
Function
ofNumeric
with the sum of accounts balance over the fiscal year including the children budget. - periods:
One2Many
toaccount.budget.period
sum of period must be <= than amount
sum of children must be <= than amount
account must be only once per budget root
- budget:
Many2One
toaccount.budget
- period:
Many2One
toaccount.period
- amount:
Numeric
in company currency - balance:
Function
ofNumeric
with the sum of accounts balance over the period.
unique per budget and period
A wizard should allow to copy the entire budget tree but changing the fiscal year by a new one (skipping the period as no direct link could be done). It must also have an option to zero the amount.
A wizard should allow to distribute the amount of a budget over all the period using a selected method (default: evenly).
Same as account.budget
but over date period.
- Modules base on sale, project etc.
- Budget debit/credit amount