← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 588776] Re: Error when closing fiscal year

 

hello everyone,

we decided not to apply the above patch but instead we will put a
constraint like "if an account has children then it has to be of
type='view'".

Indeed, the problem here is more generic and allowing this structure of
chart of accounts (even with the patch) doesn't garantee at all that the
other part of the accounting of OpenERP will work fine: it hasn't been
build for such situations.

So we wiill soon (before v6) add the constraint depicted above on the
account.account, but also on the account.account.template in order to
detect the wrong configuration existing currently and fix it directly in
the l10n_* modules by setting the type of parent account  to 'view'.

Thanks for your contribution,
Quentin

** Changed in: openobject-addons/trunk
       Status: Confirmed => Fix Committed

-- 
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/588776

Title:
  Error when closing fiscal year

Status in OpenObject Addons Modules:
  Invalid
Status in OpenObject Addons 5.0 series:
  Confirmed
Status in OpenObject Addons trunk series:
  Invalid

Bug description:
  using 5.0.9

When closing a fiscal year (with the wizard_fisclayear_close.py module) onaccounts with
balance deferal method , the balance can be taken in account two times if account are not set
in a very specific way.

example taken from the french account_plan

10  Type= View
101000 TYpe=Other Deferal=Balance 
101300 type=Other Deferal=Balance  

The closing balance if 101300 shows 1000 and the closing balance of 101000 shows also 1000 (since it is the sum of what is
into 101000 (0) and what is in 101300 (1000)

WIth this configuration when closing the fiscal year an entry for both 101300 AND 101000 are created in the opening journal
After the closing 101300 has a balance of 1000 but 101000 has a balance of 2000.

To solve this beahviour just define 101000 as view type but the underlying problem is that you cannot pout entries in a 
parent account and children account with balance deferal modes.

Maurice