[trunk][account_budget] Problems while adding a budget line with a budgetary position without analytic account
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_
"""
To my mind the field 'account_ids' should be required for all budgetary position to avoid this kind of problems.
Related branches
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Low |
status: | New → Confirmed |
Hello Olivier,
yes we can put required=true on accounts to avoid the warning.
I make this bug wishlist for now.
Thanks,
mra