diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-12-31 15:59:45 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-12-31 15:59:45 +0700 |
| commit | 1ec4b411c91851202a6058b531257f45fdd76457 (patch) | |
| tree | 10cc7ee5a9243080a88bc25160972b2813211c2b /indoteknik_custom/models/promotion | |
| parent | d35c2dce88a87bc05d30c4935d51d7d58aa5d37d (diff) | |
| parent | e90f1b5a714bc1a18073df18f7798d28cafab7c4 (diff) | |
Merge branch 'cr/ppn12%' into production
Diffstat (limited to 'indoteknik_custom/models/promotion')
| -rw-r--r-- | indoteknik_custom/models/promotion/sale_order.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/promotion/sale_order.py b/indoteknik_custom/models/promotion/sale_order.py index 1c31d060..6cb56914 100644 --- a/indoteknik_custom/models/promotion/sale_order.py +++ b/indoteknik_custom/models/promotion/sale_order.py @@ -37,7 +37,7 @@ class SaleOrder(models.Model): else: all_products = self._merge_promotion_products(promotion) - promotion_price = promotion['price']['price_discount'] * line.quantity * 1.11 + promotion_price = promotion['price']['price_discount'] * line.quantity * 1.12 promotion_amt_total = sum(product['price']['price'] * product['qty'] for product in all_products) promotion_used_price = 0 |
