← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Public bug reported:

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', system raises the exception but you don't see any message and nothing happens.

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

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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', system raises the exception but you don't see any message and nothing happens.

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


Follow ups

References