From 8607d60cf806315d9833900ffa5abb5ea7b89d92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 23 Feb 2026 18:24:15 +0100 Subject: [PATCH] Always allow manual method on sale Since 77cbf0a1abbe the manual methods can be triggered with a button so it does not prevent to trigger other methods. Closes #14622 --- modules/sale/sale.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/modules/sale/sale.py b/modules/sale/sale.py index ad464ed3a1..bffe790e89 100644 --- a/modules/sale/sale.py +++ b/modules/sale/sale.py @@ -819,14 +819,7 @@ class Sale( return for sale in sales: if (sale.invoice_method == 'shipment' - and sale.shipment_method in {'invoice', 'manual'}): - raise SaleValidationError( - gettext('sale.msg_sale_invalid_method', - invoice_method=sale.invoice_method_string, - shipment_method=sale.shipment_method_string, - sale=sale.rec_name)) - if (sale.shipment_method == 'invoice' - and sale.invoice_method in {'shipment', 'manual'}): + and sale.shipment_method == 'invoice'): raise SaleValidationError( gettext('sale.msg_sale_invalid_method', invoice_method=sale.invoice_method_string,