From 25b526da145bc94d1c5768ab4703310fc9f6d618 Mon Sep 17 00:00:00 2001 From: Johan De Taeye Date: Thu, 12 Dec 2024 13:58:36 +0100 Subject: [PATCH] field name changed in odoo with v18. Thx to Wout Swennen for reporting the issue. --- frepple/controllers/inbound.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frepple/controllers/inbound.py b/frepple/controllers/inbound.py index 6554fa0..305cb76 100644 --- a/frepple/controllers/inbound.py +++ b/frepple/controllers/inbound.py @@ -161,7 +161,7 @@ def run(self): "|", ("date_end", "=", False), ("date_end", ">=", datetime.now()), - ("type_id.name", "=", "Blanket Order"), + ("requisition_type", "=", "blanket_order"), ("state", "=", "ongoing"), ] )