c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #24375
[Bug 783670] [NEW] account - level - wrong computation
Public bug reported:
account/account.py
def _get_level
currently the calculated level (except level 1) is very much random,
depending on the sequence of processed records
2 issues:
1) IMHO the function makes the wrong assumption that the level of the parent account is already calculated, which is not necessarily the case
2) the level (stored=True) of all childs must be recalculated if the level of a parent changes. IMHO this would also solve issue 1).
change of structure may be done any time manually.
** 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/783670
Title:
account - level - wrong computation
Status in OpenERP Modules (addons):
New
Bug description:
account/account.py
def _get_level
currently the calculated level (except level 1) is very much random,
depending on the sequence of processed records
2 issues:
1) IMHO the function makes the wrong assumption that the level of the parent account is already calculated, which is not necessarily the case
2) the level (stored=True) of all childs must be recalculated if the level of a parent changes. IMHO this would also solve issue 1).
change of structure may be done any time manually.
Follow ups
-
[Bug 783670] Re: account - level - wrong computation
From: qdp (OpenERP), 2011-10-26
-
[Bug 783670] Re: account - level - wrong computation
From: Priyesh (OpenERP), 2011-10-17
-
[Bug 783670] Re: account - level - wrong computation
From: Ferdinand @ Camptocamp, 2011-08-28
-
[Bug 783670] Re: account - level - wrong computation
From: Mustufa Rangwala (Open ERP), 2011-08-27
-
[Bug 783670] Re: account - level - wrong computation
From: Ferdinand @ Camptocamp, 2011-08-26
-
[Bug 783670] Re: account - level - wrong computation
From: Meera Trambadia (OpenERP), 2011-06-16
-
[Bug 783670] Re: account - level - wrong computation
From: Meera Trambadia (OpenERP), 2011-06-16
-
[Bug 783670] Re: account - level - wrong computation
From: Launchpad Bug Tracker, 2011-06-16
-
[Bug 783670] Re: account - level - wrong computation
From: Launchpad Bug Tracker, 2011-06-15
-
[Bug 783670] Re: account - level - wrong computation
From: Meera Trambadia (OpenERP), 2011-06-09
-
[Bug 783670] Re: account - level - wrong computation
From: Ferdinand @ Camptocamp, 2011-05-30
-
[Bug 783670] Re: account - level - wrong computation
From: Ferdinand @ Camptocamp, 2011-05-17
-
[Bug 783670] Re: account - level - wrong computation
From: Ferdinand @ Camptocamp, 2011-05-17
-
[Bug 783670] Re: account - level - wrong computation
From: Ferdinand @ Camptocamp, 2011-05-17
-
[Bug 783670] Re: account - level - wrong computation
From: Olivier Dony (OpenERP), 2011-05-17
-
[Bug 783670] Re: account - level - wrong computation
From: Vishal Parmar(Open ERP), 2011-05-17
-
[Bug 783670] [NEW] account - level - wrong computation
From: Ferdinand @ Camptocamp, 2011-05-16
References