diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2026-01-29 10:32:01 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2026-01-29 10:32:01 +0700 |
| commit | 64afd6b56f3fb081b642c7de9668826d3f0b201d (patch) | |
| tree | b762c89d857531e592df992f8d349d47154c940e /fixco_custom/models/reordering_rule.py | |
| parent | c7679d9dc51b7c7aa9214f91802b22877089a896 (diff) | |
push
Diffstat (limited to 'fixco_custom/models/reordering_rule.py')
| -rw-r--r-- | fixco_custom/models/reordering_rule.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fixco_custom/models/reordering_rule.py b/fixco_custom/models/reordering_rule.py index 7f945b6..9f37da6 100644 --- a/fixco_custom/models/reordering_rule.py +++ b/fixco_custom/models/reordering_rule.py @@ -121,6 +121,8 @@ class ReorderingRule(models.Model): + vmsbm.incoming_qty - vmsbm.outgoing_qty ) > vmsbm.buffer_stock THEN 'READY STOCK' + + ELSE 'READY STOCK' END AS stock_status FROM view_buffer_stock_below_min vmsbm |
