← Back to team overview

openerp-india team mailing list archive

[Bug 1017534] Re: l10n_pl: initial setup fails when default language is polish

 

*** This bug is a duplicate of bug 967176 ***
    https://bugs.launchpad.net/bugs/967176

** This bug has been marked a duplicate of bug 967176
   l10n_ch: initial setup fails when default language is french

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

Title:
  l10n_pl: initial setup fails when default language is polish

Status in OpenERP Addons (modules):
  New

Bug description:
  
  Steps to reproduce:
    * Install a fresh OpenERP 6.1 server from lp:openobject-server/6.1 
   and lp:openobject-addons/6.1

    * Create a new database and select "Polish" as default language
    * Install the "account_accountant" module from the welcome screen
    * Set "Plan comptable" to "Polska- Plan kont"
    * Next -> Crash!

  This issue *does not* appear when I select english as the default
  language for the new database.

  
  The web interface shows an error message:

    OpenERP Warning

  Constraint Error

  Kod dziennika musi być unikalny w ramach firmy !

  The log file contains:
  2012-06-25 14:15:13,332 28367 INFO ? openerp.osv.orm: Computing parent left and right for table account_account...
  2012-06-25 14:15:13,576 28367 ERROR ? openerp.sql_db: bad query: insert into "account_journal" (id,"default_debit_account_id","update_posted","code","user_id","name","analytic_journal_id","default_credit_account_id","group_invoice_lines","company_id","centralisation","sequence_id","allow_date","entry_posted","type","view_id",create_uid,create_date) values (29,2202,E'False',E'FZK',1,E'Dziennik korekt zakupu',NULL,2202,E'False',1,E'False',56,E'False',E'False',E'purchase_refund',5,1,(now() at time zone 'UTC'))
  Traceback (most recent call last):
    File "/usr/src/openerp/server-6.1/openerp/sql_db.py", line 212, in execute
      res = self._obj.execute(query, params)
  IntegrityError: duplicate key value violates unique constraint "account_journal_code_company_uniq"

  2012-06-25 14:15:13,577 28367 ERROR magisterka openerp.netsvc: Constraint Error
  Kod dziennika musi być unikalny w ramach firmy !

  The problem is similar to the bug report: 967176
  https://bugs.launchpad.net/openobject-addons/+bug/967176

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


References