← Back to team overview

openerp-india team mailing list archive

[Bug 932633] Re: [6.0.3] Purchase invoice error

 

Hello Vishal,

After try on new db, this work well.
But this don't give me where is the problème on original db.

I don't know i can to find something.
Regards Yves

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

Title:
  [6.0.3] Purchase invoice error

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  Hi,
  OpenERP v6.0.3 revision :
  server           3584
  client            1936
  client-web   4761
  addons         5056

  when i create a purchase invoice i have on client-web a message
  "ERREUR:  valeur trop longue pour le type character varying(250)" and
  it is impossible to continue.

  On server log i copie complete error :

  [2012-02-15 11:07:12,818][cymerp2012] ERROR:db.cursor:bad query: insert into "res_log" (id,"user_id","name","context","read","res_model","res_id","secondary",create_uid,create_date) values (984,3,E'La facture ''SI: '' est en attente de validation.',E'{''lang'': u''fr_FR'', ''project_id'': 3, ''tz'': u''Europe/Paris'', ''search_view'': 445, ''active_model'': ''ir.ui.menu'', ''department_id'': False, ''journal_type'': ''purchase'', ''section_id'': False, ''_terp_view_name'': u''Factures fournisseur'', ''client'': ''web'', ''active_ids'': [232], ''type'': ''in_invoice'', ''active_id'': 232}',E'False',E'account.invoice',183,E'False',3,now())
  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/openerp-server/sql_db.py", line 131, in execute
      res = self._obj.execute(query, params)
  DataError: ERREUR:  valeur trop longue pour le type character varying(250)

  [2012-02-15 11:07:12,820][cymerp2012] ERROR:db.cursor:bad query: SELECT value 
                         FROM ir_translation 
                         WHERE lang=E'fr_FR' 
                          AND type in (E'code', E'sql_constraint') 
                          AND src=E'Unknown Error'
  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/openerp-server/sql_db.py", line 131, in execute
      res = self._obj.execute(query, params)
  InternalError: ERREUR:  la transaction est annulée, les commandes sont ignorées jusqu'à la fin du bloc
  de la transaction

  
  On client the problem is not reproduce.

  Regards Yves

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


References