budget position should support view accounts
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Medium
|
OpenERP R&D Addons Team 3 | |||
OpenERP Community Backports (Addons) | Status tracked in 7.0 | |||||
6.1 |
Fix Released
|
Undecided
|
Unassigned | |||
7.0 |
Fix Released
|
Undecided
|
Unassigned |
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
Related branches
- Lionel Sausin - Initiatives/Numérigraphe (community): Needs Fixing
- Stefan Rijnhart (Opener) (community): Needs Fixing
- qdp (OpenERP): Pending requested
- OpenERP Core Team: Pending requested
-
Diff: 14 lines (+2/-0)1 file modifiedaccount_budget/account_budget.py (+2/-0)
- Holger Brunn (Therp): Approve (code review)
- Guewen Baconnier @ Camptocamp: Approve
- Stefan Rijnhart (Opener): Approve
- Stéphane Bidoul (Acsone) (community): Approve (code review and test)
-
Diff: 14 lines (+2/-0)1 file modifiedaccount_budget/account_budget.py (+2/-0)
- Pedro Manuel Baeza: Approve
- Stefan Rijnhart (Opener): Approve
- Holger Brunn (Therp): Approve (test, code review)
-
Diff: 14 lines (+2/-0)1 file modifiedaccount_budget/account_budget.py (+2/-0)
Changed in openobject-addons: | |
status: | Incomplete → New |
Changed in openobject-addons: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
Changed in ocb-addons: | |
status: | New → Fix Released |
tags: | added: budget |
summary: |
- [6.1 / trunk] budget position should support view accounts + budget position should support view accounts |
Changed in openobject-addons: | |
status: | Confirmed → Fix Committed |
Hello Stephane,
Could not understand your issue properly, please provide the steps to reproduce the issue also elaborate more on this,
Thanks and waiting for your reply