diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-07-01 09:36:21 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-07-01 11:48:19 +0700 |
| commit | 498b7f73857189d1b22204c3f71f35d03ec4afb7 (patch) | |
| tree | 51be9fded0803b821934c2ade4ab2944271db91c /indoteknik_custom/models/mrp_production.py | |
| parent | 8767ca7aed495a70114fdbaaa61b0772c497b4d0 (diff) | |
add sale order on po bom and add bom on po bom
Diffstat (limited to 'indoteknik_custom/models/mrp_production.py')
| -rw-r--r-- | indoteknik_custom/models/mrp_production.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indoteknik_custom/models/mrp_production.py b/indoteknik_custom/models/mrp_production.py index 14821f27..85b8405f 100644 --- a/indoteknik_custom/models/mrp_production.py +++ b/indoteknik_custom/models/mrp_production.py @@ -110,8 +110,9 @@ class MrpProduction(models.Model): 'picking_type_id': 28, # indoteknik bandengan receipts 'date_order': current_time, 'product_bom_id': self.product_id.id, - # 'sale_order_id': self.sale_order_id.id, - 'note_description': 'from Manufacturing Order' + 'sale_order_id': self.sale_order.id, + 'manufacturing_id': self.id, + 'note_description': 'from Manufacturing Order', } domain = [ |
