Comment 4 for bug 1070418

Revision history for this message
Stéphane Bidoul (Acsone) (sbi) wrote : Re: [6.1 / trunk] budget position should support view accounts

Hello Amit,

Here is a more detailed procedure to reproduce.
- v7, new database, no demo data
- install budget management module
- select Belgium Accounting package
- install Accounting and Finance
- create and validate a customer invoice for 100€ on account "701000 Ventes en Belgique", and analytic account "My Analytic Account", with date 2012-12-21
- In Accounting > Configuration > Budgets, create a budget position named "My Position" and add account "701 Ventes de produits finis" to it. Account 701 is a view account including account 701000.
- In Accounting > Budgets, create a budget named "My Budget", with duration one month (December since we created the invoice in December)
- In the new budget, add a budget line for position "My Position", duration one month (December), analytic account "My Analytic Account" and planned amount 200€ then save
- -> planned amount = 200.00: ok
  -> theoretical amount = 133.33: ok
  -> practical amount = 0.00 NOK (should be 100.00, with my patch)

Note that setting the same analytic account on the invoice and budget position is very important.

-sbi