From 1e9de61d81ba7ce0d0b0606d02b8f28bc3ca0aab Mon Sep 17 00:00:00 2001 From: Swapnesh Shah Date: Fri, 23 Oct 2020 17:10:18 +0000 Subject: [PATCH] [FIX] purchase: 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. Closed #60222 closes odoo/odoo#60723 X-original-commit: 6f37f489b065d5534709c0eaf6c647ab5ad469df Signed-off-by: Arnold Moyaux --- 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 42e419fdfcb..506977d80ce 100644 --- a/addons/purchase/views/purchase_views.xml +++ b/addons/purchase/views/purchase_views.xml @@ -143,7 +143,7 @@