Budgeting — Sample Actuals
v0.3.2 · 30 installs · free
What it does
budget_sample is a reference module, not a finished product. It shows how an external source
posts actual amounts into the budget module, so planned figures and real figures meet
on the same budget line.
It is meant to be read, copied and adapted. Replace its actual_fact entity with your own document
(an expense claim, a purchase, a timesheet) and keep the same posting pattern.
What it demonstrates
- A posting column on your own document —
actual_facthas an "A" column, Budget Posting, driven by a Posted checkbox. - Posting into another module's entity — ticking Posted adds the fact's
amountto theactual_amountof the referencedbudget.line. Unticking it reverses the amount. - Postings only on planned lines — the posting does not create budget lines, so a fact can only land on a line that already exists.
- Locked once posted — the budget line and the amount cannot be changed while the fact is posted.
- Extending another module's entity — the module adds an Actual Facts set to
budget.line, so a line shows the facts that make up its actual.
What it contains
| Entity | Purpose | Key fields |
|---|---|---|
| actual_fact | One actual amount against a budget line | budget_line, amount (at least 0.01), memo, Posted |
| budget.line (extension) | Adds the facts set to the budget line | actual_facts |
Views: Actual Facts (grid) and Budget Lines & Facts (budget lines; opening one shows its facts in a card layout). Role: budget_sample.admin, with full rights on facts and read access to budget categories, periods and lines. There is no seed or demo data.
How to use it
- Install
budgetand plan some budget lines. - Install
budget_sampleand add an actual fact against a line. - Tick Posted. The line's actual and variance update.
- Copy the
post_to_budgetcolumn definition into your own entity to feed the budget from your data.
Extends other modules
What this module adds to entities of other modules.
Budgeting budget
- Budget Line+ Actual Facts
What's inside
The module's own entities, views, reports, print templates and actions.
Entities 1
actual_factViews 2
Roles
Shipped with the module and assignable the moment it installs.
- Budgeting
budget_sample.admin— Sample Actuals administrators
No release notes yet.
Browse the full
module catalog.
Every module is metadata — install it in one click, then change anything.