From a0f2fbfce7cfafa391038f3249ef5e2bb6fb7212 Mon Sep 17 00:00:00 2001 From: Swapnesh Shah Date: Sun, 18 Apr 2021 17:56:43 +0000 Subject: [PATCH] [FIX] purchase_stock: confirm receipt date if needed Before this commit, There would be Traceback (AttributeError: 'bool' object has no attribute 'date') on Confirm Receipt Date If order has no Receipt Date. Now, Button Confirm Receipt Date will be hidden if there is not Receipt Date to confirm. Original behavior was fixed on #60659 but attribute was replaced here which misses this condition. closes odoo/odoo#69828 X-original-commit: 1d680f488f68be4e6157ffd5d8d9dcbb86915ab8 Signed-off-by: Arnold Moyaux --- addons/purchase_stock/views/purchase_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/purchase_stock/views/purchase_views.xml b/addons/purchase_stock/views/purchase_views.xml index 78ec4fec074..4a47c0043af 100644 --- a/addons/purchase_stock/views/purchase_views.xml +++ b/addons/purchase_stock/views/purchase_views.xml @@ -10,7 +10,7 @@