From f55504662c191b2ed89773fde521d9006c15d3ee Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 7 Oct 2025 15:04:40 +0700 Subject: change cleansing so status --- fixco_custom/models/sale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fixco_custom') diff --git a/fixco_custom/models/sale.py b/fixco_custom/models/sale.py index 1d80abb..33c0ab0 100755 --- a/fixco_custom/models/sale.py +++ b/fixco_custom/models/sale.py @@ -198,7 +198,7 @@ class SaleOrder(models.Model): def _clean_sale_order(self): orders = self.env['sale.order'].search([ - ('invoice_status', '=', 'no'), + # ('invoice_status', '=', 'no'), ('state', 'in', ['draft', 'sale']) ], limit=2000) for order in orders: -- cgit v1.2.3