← Back to team overview

openerp-india team mailing list archive

[Bug 1088219] Re: 7.0 account - set view inactive must handle children correctly

 

No i didn't miss this

I wrote "...this must also be prohibited for the future"

all children accounts  remain "active" and hence can be selected AFTER
the parent has been set to inactive.

you can try this
create an invoice, go to invoice line enter account - open account - open parent - set it to inactive go back and post/validate

the moves will be posted and shown correctly in journal items
but the parent account with all its children is missing in chart of accounts

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1088219

Title:
  7.0 account - set view inactive must handle children correctly

Status in OpenERP Addons (modules):
  Incomplete

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1088219/+subscriptions


References