account_analytic_plans, no distributions shown if the journal has no analytic journal set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Undecided
|
OpenERP Publisher's Warranty Team |
Bug Description
observed in v6 server 3577 addons 5032 web 4760
and also in trunk server 4004 addons 6475 web 2105
A journal has a field "analytic journal" that is not required. if you make for example a sales invoice, and select an analytic distribution in a line, you only see the distributions that have the analytic journal specified in the current journal (i.e. sale journal). That is OK.
However, if I leave empty the field "analytic journal" in the journal, I would expect to be able to choose from all distributions, but instead I get none. Since the field is not required, I would expect some reasonable behaviour here i.e. showing all distributions.
offending code:
http://
Thanks!
Related branches
- Xavier ALT (community): Disapprove
- Naresh(OpenERP) (community): Approve
-
Diff: 17 lines (+4/-3)1 file modifiedaccount_analytic_plans/account_analytic_plans.py (+4/-3)
tags: | added: maintenance |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
Changed in openobject-addons: | |
status: | New → Confirmed |
status: | Confirmed → In Progress |
Hello Leonardo Pistone,
We have fixed this issue in branch lp:~openerp-dev/openobject-addons/6.0-opw-382073-skh with,
Revision ID: <email address hidden>
Revision number:5040
This branch is under the review of our experts and will be merged after the approval.
Thanks