← Back to team overview

openerp-india team mailing list archive

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

 

Hi,
Sorry for my late response. 
I've actually met your recommendations and the problem disappeared. 
Usually when of I do to update the server is restarted with a update= all  so I do not understand the reason for this update not completed. 
In all case thank you for your help. Subject is closed for me
Cordially Yves

CYM - Choose Your Model
Gérant

yves.malatesta@xxxxxxxxx
www.chyomo.fr

Mob : 	+33 786 180 818
Voip : 	+33 981 499 407
Fix :  	+33 297 937 148
Fax:       +33 981 403 057

CYM-Choose Your Model - Gaincru, 56140 RUFFIAC - R.C.S. VANNES 522 088
988

-----Message d'origine-----
De : bounces@xxxxxxxxxxxxx [mailto:bounces@xxxxxxxxxxxxx] De la part de Mohammed Shekha(Open ERP)
Envoyé : mardi 21 février 2012 13:17
À : yves.malatesta@xxxxxxxxxx
Objet : [Bug 932633] Re: [6.0.3] Purchase invoice error

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

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