← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 695316] Re: print and cancel button bug after the conversion of request for quotation into purchase order

 

** Changed in: openobject-client-web
       Status: Confirmed => In Progress

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

Title:
  print and cancel button bug after the conversion of request for quotation into purchase order

Status in OpenObject Web Client:
  In Progress

Bug description:
  trunk, web (chrome and firefox)

In purchase, create one request for quotation -> convert into Purchase Order -> 2 buttons appears, one "Cancel' and one "Print" they don't work : 

Traceback (most recent call last):
  File "/home/aline/openerp/trunk/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/aline/openerp/trunk/server/bin/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/aline/openerp/trunk/server/bin/osv/orm.py", line 3364, in write
    'where id IN %s', upd1 + [sub_ids])
  File "/home/aline/openerp/trunk/server/bin/sql_db.py", line 76, in wrapper
    return f(self, *args, **kwargs)
  File "/home/aline/openerp/trunk/server/bin/sql_db.py", line 129, in execute
    res = self._obj.execute(query, params)
ProgrammingError: ERREUR:  la colonne « company_id » est de type integer mais l'expression est de type text[]
LIGNE 1 : ...nvoice_method"=E'order',"notes"=NULL,"company_id"=ARRAY[E'1'...
                                                               ^
ASTUCE : Vous devez réécrire l'expression ou lui appliquer une transformation de type.





References