diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-02-01 09:04:04 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-02-01 09:04:04 +0700 |
| commit | 7e59db23fb69402cd622c7a932e8e980ab216151 (patch) | |
| tree | c4e516a3b9c30cada5b707eb86cca99a39590003 | |
| parent | e948221236257983529358c39f263ccbdf73b1c6 (diff) | |
trying to fix error requisition
| -rw-r--r-- | indoteknik_custom/models/requisition.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/requisition.py b/indoteknik_custom/models/requisition.py index 0607dc84..5072b394 100644 --- a/indoteknik_custom/models/requisition.py +++ b/indoteknik_custom/models/requisition.py @@ -97,6 +97,7 @@ class Requisition(models.Model): for line in lines: product = line.product_id param_line = { + 'order_id' : new_po.id, 'product_id': product.id, 'product_qty': line.qty_purchase, 'product_uom_qty': line.qty_purchase, |
