Trunk/7.0 account - set view inactive must handle children correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Low
|
OpenERP R&D Addons Team 3 |
Bug Description
if a parent account is set inactive it must handle child accounts correctly
it is not sufficient to check if any of the child accounts has associated move lines, this must also be prohibited for the future
if not the child accounts will not show up in certain tree views. (Chart of accounts)
to reproduce- load new deb with accounting and Austrian chart
set view
60000 Summe Personalaufwand
to inactive
result all 6x child accounts remain active but do not show up in chart off account. (60000 is missing)
following possibilities
* all "child of" must be set to inactive
* the parent id of the direct children must be
** set to null
** set to the parent of the inactive account.
the user should have the choice as all possibilities are valid options.
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 29 lines (+19/-0)1 file modifiedaccount/account_invoice.py (+19/-0)
Changed in openobject-addons: | |
status: | Incomplete → New |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | In Progress → Fix Committed |
I have to correct myself
set to null - is not a good option, because this will not allow further move lines as the child accounts do not belong to the same root account any more.