From 2afcba17487f219ef8a8880b496b1704cd77b591 Mon Sep 17 00:00:00 2001 From: "Maruan Aguerdouh (magm)" Date: Thu, 21 Mar 2024 07:52:29 +0100 Subject: [PATCH] [FIX] purchase: tax inactives not shown on search Issue: Currently if we have taxes for our Purchase no matter if we set the tax to inactive or we archive it, we will have access to it on the purchase_order_line. Steps to reproduce: - Install Purchase - Create a new Tax and set it to inactive. - Now create a new RfQ and in the lines add any product. - Try to change the tax for this product. Solution: since we need this weird behavior for the cases where the tax was applied to a RfQ and afterwards this tax was archived for example, we should implement the needed domain to the view so we cannot access to apply it anymore after inactive but it will still be visible where it was applied beforehand. opw-3776871 closes odoo/odoo#158077 Signed-off-by: William Henrotin (whe) --- addons/purchase/views/purchase_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/purchase/views/purchase_views.xml b/addons/purchase/views/purchase_views.xml index 3f7f340c4e6..27bf2f60a8d 100644 --- a/addons/purchase/views/purchase_views.xml +++ b/addons/purchase/views/purchase_views.xml @@ -257,7 +257,7 @@