← Back to team overview

openerp-india team mailing list archive

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

 

Hi

------Message d'origine------
De: Mohammed Shekha\(Open ERP\)
Expéditeur : bounces@xxxxxxxxxxxxx
À: M. Yves Roger MALATESTA
Répondre à: Bug 932633
Objet: [Bug 932633] Re: [6.0.3] Purchase invoice error
Envoyé: 21 févr. 2012 13:16

Hello,

I have checked this issue,  it seems the issue of base module update,
the context field in res.log has been changed to text from char, so to
do effect this thing in to database you have to update the base module.

Please update the base module using -u base -d database, it will fix
this issue.

Thanks.

** Changed in: openobject-addons
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/932633

Title:
  [6.0.3] Purchase invoice error

Status in OpenERP Addons (modules):
  Fix Released

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

+33786180818
Message envoye depuis un blackberry

-- 
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):
  Fix Released

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