diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-09-03 13:19:42 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-09-03 13:19:42 +0700 |
| commit | 51face2a473c347e338650d059445dc4f085d96e (patch) | |
| tree | f17b0da9df9429cc1c6ea8605259cae7145c9165 | |
| parent | 5372bb907b3ed65f5f4de1c8f9202eb1bcb1f93e (diff) | |
<iman> update field
| -rw-r--r-- | indoteknik_custom/models/solr/promotion_program_line.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/solr/promotion_program_line.py b/indoteknik_custom/models/solr/promotion_program_line.py index c6dbf213..3e3a2a28 100644 --- a/indoteknik_custom/models/solr/promotion_program_line.py +++ b/indoteknik_custom/models/solr/promotion_program_line.py @@ -61,7 +61,7 @@ class PromotionProgramLine(models.Model): 'total_qty_i': sum([x.qty for x in rec.product_ids] + [x.qty for x in rec.free_product_ids]), 'total_qty_sold_f': [x.product_id.qty_sold for x in rec.product_ids], 'active_b': rec.active, - "manufacture_name_s": rec.product_ids.product_id.x_manufacture.display_name, + "manufacture_name_s": rec.product_ids.product_id.x_manufacture.x_name or '', "category_name": category_names, }) |
