diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2025-10-07 15:04:40 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2025-10-07 15:04:40 +0700 |
| commit | f55504662c191b2ed89773fde521d9006c15d3ee (patch) | |
| tree | 851d82f11b461d828a5c664a8ed7418f6e88149f /fixco_custom/models/sale.py | |
| parent | 3ee99b28535aaf54770f426473c4bad4b34f9430 (diff) | |
change cleansing so status
Diffstat (limited to 'fixco_custom/models/sale.py')
| -rwxr-xr-x | fixco_custom/models/sale.py | 2 |
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: |
