c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #12186
[Bug 701906] Re: bug in purchase requisition
fixed in
revno: 4228
revision-id: al@xxxxxxxxxxx-20110112152712-cbk2w50g7v2tb0kg
[FIX] purchase store=True on company_id fields of purchase order lines used by records rules
** Changed in: openobject-addons
Milestone: 6.0 => None
--
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/701906
Title:
bug in purchase requisition
Status in OpenObject Addons Modules:
Fix Released
Bug description:
trunk, request for quotation
create a request for quotation as purchase manager (groups : employee,
partner manager, purchase user and purchase manager)or as purchase
user (groups : employee, partner manager, purchase user) => bug
TinyError: Traceback (most recent call last):
File "/home/amigrave/openerp/bazaar/server-trunk/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/amigrave/openerp/bazaar/server-trunk/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/home/amigrave/openerp/bazaar/server-trunk/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/amigrave/openerp/bazaar/server-trunk/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/amigrave/openerp/bazaar/server-trunk/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/amigrave/openerp/bazaar/server-trunk/bin/osv/orm.py", line 2917, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/amigrave/openerp/bazaar/server-trunk/bin/osv/orm.py", line 3037, in _read_flat
res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
File "/home/amigrave/openerp/bazaar/server-trunk/bin/osv/fields.py", line 471, in get
ids2 = obj.pool.get(self._obj).search(cr, user, self._domain + [(self._fields_id, 'in', ids)], limit=self._limit, context=context)
File "/home/amigrave/openerp/bazaar/server-trunk/bin/osv/orm.py", line 1733, in search
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/home/amigrave/openerp/bazaar/server-trunk/bin/osv/orm.py", line 3966, in _search
cr.execute('SELECT "%s".id FROM ' % self._table + from_clause + where_str + order_by + limit_str + offset_str, where_clause_params)
File "/home/amigrave/openerp/bazaar/server-trunk/bin/sql_db.py", line 76, in wrapper
return f(self, *args, **kwargs)
File "/home/amigrave/openerp/bazaar/server-trunk/bin/sql_db.py", line 129, in execute
res = self._obj.execute(query, params)
ProgrammingError: column purchase_order_line.company_id does not exist
LINE 1: ...rchase_order_line.order_id in (22,8,2,1)))) OR (purchase_o...
References