c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #24087
[Bug 781746] Re: [account_budget] raising exception within fields.function blocks the system
** Description changed:
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 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 the budget line anymore.
If really needed, 'account_ids' should be set to required
** Description changed:
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 the budget line anymore.
+ 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
--
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