diff options
| author | Goffin Simon <sig@odoo.com> | 2016-02-23 15:16:04 +0100 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2016-02-24 09:58:02 +0100 |
| commit | 56241b33685b448668e5942e22fa377c4afba15d (patch) | |
| tree | fa9a81cd485bb29ee753a73c8fabeaa6221cb9f3 /addons/web_editor/static/src/js/transcoder.js | |
| parent | 53742a4a70dfef02fa90615d546eb6e1824afdc7 (diff) | |
[FIX] account_budget: To print the summary of a budget
The theoritical amount is computed as:
theo amt = ellapsed time / total time period * planned amount
where:
total time period is the difference between date_to and date_from defined
on the crossevered budget line.
ellapsed time is the difference between today and date_from.
The achievment(percentage) on a crossevered budget line is computed as:
percentage = practical amt / theo amt
where:
practical amt is the sum of all account analytic lines valid in the
crossevered budget line period.
When computing the report of a summary, the ellapsed time is equal
to the difference between date_to and date_from defined for the summary and
the practical amount only takes the account analytic lines in the summary
period.
opw:669545
Diffstat (limited to 'addons/web_editor/static/src/js/transcoder.js')
0 files changed, 0 insertions, 0 deletions
