From 40fa388b5b6f82db9705196616665c3e013c1f3c Mon Sep 17 00:00:00 2001 From: Nicolas Martinelli Date: Thu, 12 Dec 2019 07:38:26 +0000 Subject: [PATCH] [FIX] point_of_sale: prevent deletion of payment Deleting a payment will prevent the POS session closing. opw-2155093 closes odoo/odoo#41752 X-original-commit: a6927e31af53f28c04eb567db0da396ad07e7206 Signed-off-by: Nicolas Martinelli (nim) --- addons/point_of_sale/views/pos_payment_views.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/point_of_sale/views/pos_payment_views.xml b/addons/point_of_sale/views/pos_payment_views.xml index c9de5171932..06a40b6389e 100644 --- a/addons/point_of_sale/views/pos_payment_views.xml +++ b/addons/point_of_sale/views/pos_payment_views.xml @@ -4,7 +4,7 @@ pos.payment.form pos.payment -
+ @@ -25,7 +25,7 @@ pos.payment.tree pos.payment - +