diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-01-31 10:01:49 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-01-31 10:01:49 +0700 |
| commit | de4404c4b60b0859a4cbae836cc4c99d806bf697 (patch) | |
| tree | a55dc4137c120b9b60c0fe90d4853f2e807cbdad /indoteknik_custom/models/stock_picking.py | |
| parent | d7a18a90adc0502831eabd1e5940677161ddd4bf (diff) | |
fix bug
Diffstat (limited to 'indoteknik_custom/models/stock_picking.py')
| -rw-r--r-- | indoteknik_custom/models/stock_picking.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py index cc86c451..9af74cd3 100644 --- a/indoteknik_custom/models/stock_picking.py +++ b/indoteknik_custom/models/stock_picking.py @@ -467,7 +467,7 @@ class StockPicking(models.Model): def check_state_reserve(self): pickings = self.search([ - ('state', 'not in', ['cancel', 'draft', 'done']), + ('state', 'not in', ['cancel', 'done']), ('picking_type_code', '=', 'outgoing') ]) |
