diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-01-16 09:15:30 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-01-16 09:15:30 +0700 |
| commit | 9d2ac47a2929e7e1007baa52faf998e845e5bb0a (patch) | |
| tree | 3061b16691d4c7c468dd4e187f950b97f3082d9a | |
| parent | e7c181dbc0cf45a7ffcead50851c0b498c93e15e (diff) | |
cr manufacturing
| -rw-r--r-- | indoteknik_custom/models/manufacturing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/manufacturing.py b/indoteknik_custom/models/manufacturing.py index 37c4e909..24a8b8c3 100644 --- a/indoteknik_custom/models/manufacturing.py +++ b/indoteknik_custom/models/manufacturing.py @@ -30,7 +30,7 @@ class Manufacturing(models.Model): # if line.quantity_done > 0 and line.quantity_done != self.product_uom_qty: # raise UserError('Qty Consume per Line tidak sama dengan Qty to Produce') if line.forecast_availability != line.product_uom_qty: - raise UserError('Qty Reserved belum sesuai dengan yang seharusnya') + raise UserError('Qty Reserved belum sesuai dengan yang seharusnya, product: %s' % line.product_id.display_name) result = super(Manufacturing, self).button_mark_done() return result |
