summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiqdad <ahmadmiqdad27@gmail.com>2025-06-26 15:28:21 +0700
committerMiqdad <ahmadmiqdad27@gmail.com>2025-06-26 15:28:21 +0700
commitb30cbc06bb4075b6c1fdab056cb5f5ea8d077d6c (patch)
tree1b96f222606d76dd7a086ec3e8bc362ed88ad94a
parent1e01a6845781821fcf65a42c4528b3efe144e28c (diff)
<miqdad> show bu pick where the bu out is not done
-rw-r--r--indoteknik_custom/models/tukar_guling.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/tukar_guling.py b/indoteknik_custom/models/tukar_guling.py
index 6fbca20c..6b111029 100644
--- a/indoteknik_custom/models/tukar_guling.py
+++ b/indoteknik_custom/models/tukar_guling.py
@@ -27,7 +27,7 @@ class TukarGuling(models.Model):
domain=[('picking_type_id.sequence_code', '=', 'OUT'),
('state', '=', 'done'), '&',
('picking_type_id.sequence_code', '=', 'PICK'),
- ('state', '!=', 'done')], help='Nomor BU/Out atau BU/Pick')
+ ('linked_manual_bu_out.state', '!=', 'done')], help='Nomor BU/Out atau BU/Pick')
ba_num = fields.Text('Nomor BA')
notes = fields.Text('Notes')
return_type = fields.Selection(String='Return Type', selection=[