← Back to team overview

openerp-india team mailing list archive

[Bug 1070418] 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

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1070418

Title:
  [6.1 / trunk] budget position should support view accounts

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  Hello,

  In account_budget module, when creating a budget position, the user
  can select view accounts and also accounts with consolidation
  children, in addition to normal accounts.

  However, when viewing budgets with positions containing only view
  accounts, the "practical amount" field is always zero.

  Since these type of accounts are accepted as budget positions, the
  system should take into account children and consolidation children
  when computing the practical amount.

  How to reproduce:
  1. install account_budget module
  2. create some moves on a general account
  3. create a budget position containing one *view* account -> debit and credit values are shown correctly in the budget position
  4. create a budget with one line referring to the above budget position -> the practical amount is always 0

  I attach a merge proposal.

  -sbi

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1070418/+subscriptions


References