From 419c411a53f41bb3e41453954c7c2bf86c1fdcec Mon Sep 17 00:00:00 2001
From: Juliana <juliana@le-filament.com>
Date: Wed, 9 Aug 2023 15:11:19 +0200
Subject: [PATCH] [ADD]Add domain restrict PMO doc2

---
 services/operation_services.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/services/operation_services.py b/services/operation_services.py
index 5470d55..41e40bd 100644
--- a/services/operation_services.py
+++ b/services/operation_services.py
@@ -234,8 +234,8 @@ class OperationsService(Component):
                     ("type", "=", "all"),
                     ])
                 )
-        acc_contract_ids = self.env["acc.contract"].search(domain_c)
-        acc_contract_ids += acc_contract_all
+            acc_contract_ids = self.env["acc.contract"].search(domain_c)
+            acc_contract_ids += acc_contract_all
 
         acc_contract_pmo = self.env["acc.contract"].search(
             [
-- 
GitLab