diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-02-01 09:16:03 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-02-01 09:16:03 +0700 |
| commit | fe086f5052ab5ba66c458ce25d50f7804c705211 (patch) | |
| tree | 0e1962d000225202258efbc616c4f6d97c7e6f41 | |
| parent | e34bdb105441199f74cffd4527678341ddbf3367 (diff) | |
fix return
| -rw-r--r-- | indoteknik_custom/models/requisition.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/requisition.py b/indoteknik_custom/models/requisition.py index 5072b394..2b148c96 100644 --- a/indoteknik_custom/models/requisition.py +++ b/indoteknik_custom/models/requisition.py @@ -44,7 +44,7 @@ class Requisition(models.Model): po_ids = [] for vendor in vendor_ids: result_po = self.create_po_by_vendor(vendor['partner_id'][0]) - po_ids.append(result_po) + po_ids += result_po return { 'name': _('Purchase Order'), 'view_mode': 'tree,form', |
