← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 781746] Re: [account_budget] raising exception within fields.function blocks the system

 

*** This bug is a duplicate of bug 710644 ***
    https://bugs.launchpad.net/bugs/710644

** This bug has been marked a duplicate of bug 710644
   [trunk][account_budget] Problems while adding a budget line with a budgetary position without analytic account
 * You can subscribe to bug 710644 by following this link: https://bugs.launchpad.net/openobject-addons/+bug/710644/+subscribe

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/781746

Title:
  [account_budget] raising exception within fields.function blocks the
  system

Status in OpenERP Modules (addons):
  New

Bug description:
  http://bazaar.launchpad.net/~openerp/openobject-addons/6.0/view/4579/account_budget/account_budget.py#L111
  see line 119: when 'account_ids' field of 'account.budget.post' is empty, it raises the exception.
  But this causes wrong behaviours.
  If you try for instance to create a 'crossovered.budget.lines' with an 'account.budget.post' without 'account_ids', you won't be able to modify the budget nor to create a new one anymore.

  If really needed, 'account_ids' should be set to required


References