diff options
| author | trisusilo48 <tri.susilo@altama.co.id> | 2025-01-20 09:27:06 +0700 |
|---|---|---|
| committer | trisusilo48 <tri.susilo@altama.co.id> | 2025-01-20 09:27:06 +0700 |
| commit | 464292a0eb2b9353f499a541991e4d88a76c2d82 (patch) | |
| tree | f8287645e73b4c23cad3e3dc50af177d34a51b94 /indoteknik_custom/models/manufacturing.py | |
| parent | e3e7f29ad939a774878316e46e10a5c1370fda77 (diff) | |
| parent | 1b2b27941fcdaa1b1b6ddf2a4851d358abb259eb (diff) | |
Merge branch 'odoo-production' into feature/integrasi_biteship
# Conflicts:
# indoteknik_custom/security/ir.model.access.csv
Diffstat (limited to 'indoteknik_custom/models/manufacturing.py')
| -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 |
