summaryrefslogtreecommitdiff
path: root/fixco_custom/models/sale.py
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2025-10-07 15:04:40 +0700
committerstephanchrst <stephanchrst@gmail.com>2025-10-07 15:04:40 +0700
commitf55504662c191b2ed89773fde521d9006c15d3ee (patch)
tree851d82f11b461d828a5c664a8ed7418f6e88149f /fixco_custom/models/sale.py
parent3ee99b28535aaf54770f426473c4bad4b34f9430 (diff)
change cleansing so status
Diffstat (limited to 'fixco_custom/models/sale.py')
-rwxr-xr-xfixco_custom/models/sale.py2
1 files changed, 1 insertions, 1 deletions
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: