Improve test on origin value

This commit is contained in:
Bertrand Chenal committed 2008-11-13 17:35:28 +01:00
1 parent 7f57988b96
commit 54bb56a32f
1 file changed
+1 -1
+1 -1
View File
@@ -189,7 +189,7 @@ class PurchaseRequest(OSV):
req_ids = request_obj.search(
cursor, user,
[('purchase_line', '=', False),
['OR', ('origin', '=', False),
['OR', ('origin', '=', False), ('origin', '=', ''),
('origin', 'like', 'stock.order_point,%')
]
], context=context)