← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 695289] Re: can not add a supplier in product form view

 

Hello Aline,

Its fixed in trunk web-client. Please update your code.

Revision-info:
4193 sma@xxxxxxxxxxx-20101228064605-dm3lyk9euczxo9vv

Thanks.


** Changed in: openobject-client-web
       Status: Confirmed => Fix Released

** Changed in: openobject-client-web
    Milestone: None => 6.0-rc2

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

Title:
  can not add a supplier in product form view

Status in OpenObject Web Client:
  Fix Released

Bug description:
  trunk, web (tested on chrome)

not able to add a supplier in the product form view (but if user leaves the page and get error message (this record is not saved), click cancel, supplier is saved)


[2010-12-28 11:48:24,517][trunk_2] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  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 3545, in write
    self.pool.get(table).write(cr, user, nids, v, context)
  File "/home/aline/openerp/trunk/server/bin/osv/orm.py", line 3502, 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 : ...e_ok"=E'True',"product_manager"=NULL,"company_id"=ARRAY[E'1'...





References