Improve test on origin value
This commit is contained in:
1 parent
7f57988b96
commit
54bb56a32f
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user