diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-06-26 15:28:21 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-06-26 15:28:21 +0700 |
| commit | b30cbc06bb4075b6c1fdab056cb5f5ea8d077d6c (patch) | |
| tree | 1b96f222606d76dd7a086ec3e8bc362ed88ad94a | |
| parent | 1e01a6845781821fcf65a42c4528b3efe144e28c (diff) | |
<miqdad> show bu pick where the bu out is not done
| -rw-r--r-- | indoteknik_custom/models/tukar_guling.py | 2 |
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=[ |
