In Product Return, link Invoice with a line without product_id raises an error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP RMA |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
In Product Return, link Invoice with a line without product_id raises an error:
File "/home/
warehouse_id, context=context)
File "/home/
seller = prod.seller_info_id
File "/home/
return self[name]
File "/home/
field_values = self._table.
File "/home/
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/
cr.
File "/home/
return f(self, *args, **kwargs)
File "/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.
Regards,
Romain
Related branches
- Joël Grand-Guillaume @ camptocamp: Approve (code review, no tests)
- Leonardo Pistone: Approve (code review)
-
Diff: 34 lines (+7/-4)1 file modifiedcrm_claim_rma/crm_claim_rma.py (+7/-4)