Cannot enter a supplier invoice without product on an invoice line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Financial controlling and costing |
Fix Released
|
High
|
Yannick Vaucher @ Camptocamp |
Bug Description
Here is the trace
Server Traceback (most recent call last):
File ".../webclient/
return openerp.
File ".../server/
result = ExportService.
File ".../server/
res = fn(db, uid, *params)
File ".../server/
return self.execute(db, uid, obj, method, *args, **kw or {})
File ".../server/
return f(self, dbname, *args, **kwargs)
File ".../server/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File ".../server/
return getattr(object, method)(cr, uid, *args, **kw)
File ".../l10n_
return super(AccountIn
File ".../bank-
context=
File ".../addons/
thread_id = super(mail_thread, self).create(cr, uid, values, context=
File ".../openerp-
record_id = create_
File ".../server/
self.
File ".../server/
result = self._columns[
File ".../server/
result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
File ".../margin-
['id'
File ".../server/
result = self._read_flat(cr, user, select, fields, context, load)
File ".../margin-
load=load)
File ".../server/
cr.
File ".../server/
return f(self, *args, **kwargs)
File ".../server/
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
- Guewen Baconnier @ Camptocamp: Approve
- Pedro Manuel Baeza: Approve (code review)
- Alexandre Fayolle - camptocamp: Approve (code review, test)
-
Diff: 16 lines (+2/-2)1 file modifiedproduct_historical_margin/invoice.py (+2/-2)
Changed in margin-analysis: | |
assignee: | nobody → Yannick Vaucher @ Camptocamp (yvaucher-c2c) |
status: | New → Confirmed |
Changed in margin-analysis: | |
status: | Confirmed → Fix Committed |
importance: | Undecided → High |
Changed in margin-analysis: | |
status: | Fix Committed → Fix Released |