number of digits of account code

Bug #654668 reported by Ferdinand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP Austria Localization
Confirmed
Medium
Guewen Baconnier @ Camptocamp

Bug Description

the chart of account only loads if number of digits for the code is set to 2
(instead of 6 default) can this be set anywhere ?

Revision history for this message
Joël Grand-Guillaume @ camptocamp (jgrandguillaume-c2c) wrote :

To check please...

Changed in openerp-austria-localization:
importance: Undecided → Medium
assignee: nobody → Guewen Baconnier @ Camptocamp (gbaconnier-c2c)
Revision history for this message
Guewen Baconnier @ Camptocamp (gbaconnier-c2c) wrote :

Hello,

I tried to load it and it doesn't load at all even when the code is set to 2 digits.

But the problem that you encounter seems to be the following :
In the chart, accounts have the same beginning of code (ie.: 850 and 8500).
As the the code is right padded with 0 to the configured number of digits, OpenERP tries to create them with the same code (ie.: 850000).

Here are the 4 accounts which are problematics :
      <record id="account_850" model="account.account.template">
        <field name="code">850</field>
        <field name="name">Steuern vom Einkommen und vom Ertrag</field>
        <field name="user_type" ref="account_type_expense_at"/>
        <field name="parent_id" ref="account_585"/>
        <field name="type">other</field>
      </record>

      <record id="account_8500" model="account.account.template">
        <field name="code">8500</field>
        <field name="name">Körperschaftsteuer</field>
        <field name="user_type" ref="account_type_expense_at"/>
        <field name="parent_id" ref="account_585"/>
        <field name="type">other</field>
      </record>

     <record id="account_930" model="account.account.template">
        <field name="code">930</field>
        <field name="name">Gewinnrücklagen</field>
        <field name="user_type" ref="account_type_cash_equity_at"/>
        <field name="parent_id" ref="account_93"/>
        <field name="type">other</field>
     </record>

     <record id="account_930000" model="account.account.template">
        <field name="code">930000</field>
        <field name="name">ungebundene Kapitalrücklage</field>
        <field name="user_type" ref="account_type_cash_equity_at"/>
        <field name="parent_id" ref="account_92"/>
        <field name="type">other</field>
     </record>

Changed in openerp-austria-localization:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.