diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2025-07-25 05:44:48 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2025-07-25 05:44:48 +0000 |
| commit | 1a4375094187946782d2e366649b958dec7fc074 (patch) | |
| tree | a2f808e5e010703c4a3b0c7f51cd3918d10ed78b | |
| parent | 670054b1011495f6dd1a16ff58fa2501da2c0d93 (diff) | |
| parent | 9be22926964e36580ab51e5d30858c4d89071231 (diff) | |
Merged in tukar_guling (pull request #368)
<miqdad> typo
| -rw-r--r-- | indoteknik_custom/models/tukar_guling_po.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/tukar_guling_po.py b/indoteknik_custom/models/tukar_guling_po.py index 2dc11efb..14f2cc96 100644 --- a/indoteknik_custom/models/tukar_guling_po.py +++ b/indoteknik_custom/models/tukar_guling_po.py @@ -629,7 +629,7 @@ class TukarGulingLinePO(models.Model): @api.constrains('product_uom_qty') def _check_qty_change_allowed(self): for rec in self: - if rec.tukar_guling_id and rec.tukar_guling_po_id.state not in ['draft', 'cancel']: + if rec.tukar_guling_po_id and rec.tukar_guling_po_id.state not in ['draft', 'cancel']: raise ValidationError("Tidak bisa mengubah Quantity karena status dokumen bukan Draft atau Cancel.") def unlink(self): |
