← Back to team overview

openerp-india team mailing list archive

[Bug 925994] Re: account_analytic_plans, no distributions shown if the journal has no analytic journal set

 

** Tags added: maintenance

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP Publisher's Warranty Team (openerp-opw)

-- 
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/925994

Title:
  account_analytic_plans, no distributions shown if the journal has no
  analytic journal set

Status in OpenERP Addons (modules):
  New

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://bazaar.launchpad.net/~openerp/openobject-addons/6.0/view/head:/account_analytic_plans/account_analytic_plans.py#L114

  Thanks!

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


References