diff options
| -rw-r--r-- | indoteknik_custom/models/manufacturing.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indoteknik_custom/models/manufacturing.py b/indoteknik_custom/models/manufacturing.py index e6e6592c..4dbf2605 100644 --- a/indoteknik_custom/models/manufacturing.py +++ b/indoteknik_custom/models/manufacturing.py @@ -11,10 +11,10 @@ class Manufacturing(models.Model): if self._name != 'mrp.production': return super(Manufacturing, self).action_confirm() - if self.location_src_id.id != 75: - raise UserError('Component Location hanya bisa di AS/Stock') - elif self.location_dest_id.id != 75: - raise UserError('Finished Product Location hanya bisa di AS/Stock') + # if self.location_src_id.id != 75: + # raise UserError('Component Location hanya bisa di AS/Stock') + # elif self.location_dest_id.id != 75: + # raise UserError('Finished Product Location hanya bisa di AS/Stock') result = super(Manufacturing, self).action_confirm() return result |
