From 27848a2009fdc87a71208e506e84131e9f02e8d0 Mon Sep 17 00:00:00 2001 From: Melody Uffreduzzi Date: Tue, 28 Apr 2026 15:08:12 +0200 Subject: [PATCH] [FIX] purchase_operating_unit: allow manager to select OUs Checking the field user_ids of operating.unit to set a domain is both unnecessary (record rules already filter the correct records) and wrong/obsolete because users who are managers of all OUs don't appear in the user_ids field. --- purchase_operating_unit/views/purchase_order_line_view.xml | 3 --- purchase_operating_unit/views/purchase_order_view.xml | 3 --- 2 files changed, 6 deletions(-) diff --git a/purchase_operating_unit/views/purchase_order_line_view.xml b/purchase_operating_unit/views/purchase_order_line_view.xml index b4661f9d2e..32c4b0b2d3 100644 --- a/purchase_operating_unit/views/purchase_order_line_view.xml +++ b/purchase_operating_unit/views/purchase_order_line_view.xml @@ -8,7 +8,6 @@ @@ -22,7 +21,6 @@ @@ -44,7 +42,6 @@ diff --git a/purchase_operating_unit/views/purchase_order_view.xml b/purchase_operating_unit/views/purchase_order_view.xml index 7c2613be05..13c2b00da5 100644 --- a/purchase_operating_unit/views/purchase_order_view.xml +++ b/purchase_operating_unit/views/purchase_order_view.xml @@ -8,7 +8,6 @@ @@ -22,12 +21,10 @@