[FIX] sale: misleading docstring

closes odoo/odoo#108279

X-original-commit: d66966983f5d3750310ad07561590a2584d4e2ea
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
Victor Feyens
2022-12-19 13:38:17 +01:00
parent 541ff5a35b
commit 4786102bcc
+1 -1
View File
@@ -904,7 +904,7 @@ class SaleOrder(models.Model):
def _show_cancel_wizard(self):
""" Decide whether the sale.order.cancel wizard should be shown to cancel specified orders.
:return: True if there are draft order(s) in the given orders
:return: True if there is any non-draft order in the given orders
:rtype: bool
"""
if self.env.context.get('disable_cancel_warning'):