[trunk][account_budget] Problems while adding a budget line with a budgetary position without analytic account

Bug #710644 reported by Olivier DOSSMANN
32
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP R&D Addons Team 3

Bug Description

Addons: revno. 4393
Server: revno. 3335
Client: revno. 1806
Client-web: revno. 4491

How to reproduce the problem (try it with the web client for an example) :
- Create a new database (with demo data, account_budget module and French accountancy)
- Go to Accounting > Budget > Budget
- Go to the buget named "Budget 2012: Optimistic"
- Edit it
- Click on the "New" button to add a new budget line
- Click on budgetary position fields in order to see all budgetary position
- Create a new budgetary position WITHOUT accounts
- Save it
- Save the budget line
- All budgets lines vanish

No warning, no error appears.
If you launch the OpenERP GTK client, and go to this budget named "Budget 2012: Optimistic", you got an error :
"""
  The General Budget 'name_of_the_budgetary_position' has no Accounts!
"""

To my mind the field 'account_ids' should be required for all budgetary position to avoid this kind of problems.

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

Hello Olivier,

yes we can put required=true on accounts to avoid the warning.
I make this bug wishlist for now.

Thanks,
mra

Changed in openobject-addons:
importance: Low → Wishlist
Revision history for this message
TeMPO (info-tempo-consulting) wrote :

OpenERP 6.1

Dear all

even if you setup an account in the budgetary position when you try to enter a budget linest you get a message
The following fields are invalid "Analytic account"

The fact is that I don't want to use analytic

Cheerss

Revision history for this message
TeMPO (info-tempo-consulting) wrote :

Dear all

 the problem is related to the fact that I could install account_budget without account_analytical

Cheers

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.