diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-06-13 14:35:38 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-06-13 14:35:38 +0700 |
| commit | 55936047e729cadcd462a57c7838f77f7c57ee1a (patch) | |
| tree | 9fabbef497dc1e555e88083581cf18be41c6db95 /fixco_custom/models/detail_order.py | |
| parent | f4ff9e2abad82f07e039c388af5e82034ae30694 (diff) | |
print picking list
Diffstat (limited to 'fixco_custom/models/detail_order.py')
| -rwxr-xr-x | fixco_custom/models/detail_order.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fixco_custom/models/detail_order.py b/fixco_custom/models/detail_order.py index e3370b0..2c82db6 100755 --- a/fixco_custom/models/detail_order.py +++ b/fixco_custom/models/detail_order.py @@ -182,7 +182,7 @@ class DetailOrder(models.Model): 'product_id': bline.variant_id.id if bline.variant_id else product.id, 'product_uom_qty': bline.product_uom_qty * item.get('quantity') if bline.product_uom_qty else item.get('quantity'), 'price_unit': bline.price * bline.product_uom_qty if bline.price else item.get('actualPrice'), - 'name': f"{bline.master_sku} (Bundle Component)" if bline.master_sku else product.name, + 'name': f"{bline.variant_id.display_name} (Bundle Component)" if bline.variant_id.display_name else product.name, })) continue |
