diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2023-07-04 17:05:05 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2023-07-04 17:05:05 +0700 |
| commit | eecd16d10dd20df13f5cb6c70c5e1199b3080527 (patch) | |
| tree | 96f49b349609d11bc58b1d1f34c363a202ee27ac | |
| parent | 6eaf93b898640ffa752f9addf109a293aa7ad776 (diff) | |
change state picking_id product
| -rw-r--r-- | indoteknik_custom/models/product_sla.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/product_sla.py b/indoteknik_custom/models/product_sla.py index afc2a5af..73f6dcbc 100644 --- a/indoteknik_custom/models/product_sla.py +++ b/indoteknik_custom/models/product_sla.py @@ -64,7 +64,7 @@ class ProductSla(models.Model): ('product_id', '=', sla.product_variant_id.id), ('picking_id', '!=', False), ('picking_id.location_id', '=', 57), - ('picking_id.state', 'in', ['done','assigned']) + ('picking_id.state', 'not in', ['cancel']) ] picking = self.env['stock.move.line'].search(query) leadtimes=[] |
