← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 654668] Re: number of digits of account code

 

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

-- 
number of digits of account code
https://bugs.launchpad.net/bugs/654668
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenERP Austria Localization: Confirmed

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 ?