ProgrammingError: operator does not exist: integer = boolean
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openerp-accountedge |
Fix Released
|
Low
|
Savoir-faire Linux' OpenERP |
Bug Description
When creating an hr expense line without product, I get:
OpenERP Server Error
Client Traceback (most recent call last):
File "/opt/home/
response["result"] = method(controller, self, **self.params)
File "/opt/home/
r = m.write([id], data, req.session.
File "/opt/home/
args, kw)
File "/opt/home/
result = self.connector.
File "/opt/home/
raise xmlrpclib.
Server Traceback (most recent call last):
File "/opt/home/
return openerp.
File "/opt/home/
result = ExportService.
File "/opt/home/
res = fn(db, uid, *params)
File "/opt/home/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/opt/home/
return f(self, dbname, *args, **kwargs)
File "/opt/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/home/
return fct_src(cr, uid, model, method, *args)
File "/opt/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/home/
result += self._columns[
File "/opt/home/
id_new = obj.create(cr, user, act[2], context=context)
File "/opt/home/
vals['tax_id'] = self.get_tax_id(cr, user, vals['product_id'], vals['partner_id'], context)
File "/opt/home/
purch_tax = product.
File "/opt/home/
return self[name]
File "/opt/home/
field_values = self._table.
File "/opt/home/
result = self._read_flat(cr, user, select, fields, context, load)
File "/opt/home/
cr.execute(query, (tuple(sub_ids),))
File "/opt/home/
return f(self, *args, **kwargs)
File "/opt/home/
res = self._obj.
ProgrammingError: operator does not exist: integer = boolean
LINE 1: ...d FROM "product_product" WHERE product_product.id IN (false)...
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
Related branches
- Joao Alfredo Gama Batista: Approve (code review, no test)
- Maxime Chambreuil (http://www.savoirfairelinux.com): Approve (code review)
-
Diff: 31 lines (+6/-8)1 file modifiedhr_expense_line_account/hr_expense_line_account.py (+6/-8)
Changed in openerp-accountedge: | |
status: | New → Confirmed |
importance: | Undecided → Low |
assignee: | nobody → Savoir-faire Linux' OpenERP (savoirfairelinux-openerp) |
Changed in openerp-accountedge: | |
status: | Confirmed → Fix Committed |
Changed in openerp-accountedge: | |
status: | Fix Committed → Fix Released |