summaryrefslogtreecommitdiff
path: root/indoteknik_api/controllers/api_v1/sale_order.py
diff options
context:
space:
mode:
authorIndoteknik . <it@fixcomart.co.id>2025-08-06 13:52:21 +0700
committerIndoteknik . <it@fixcomart.co.id>2025-08-06 13:52:21 +0700
commit7ebcf1675e55dae39f769466e5bf5ef064646f27 (patch)
treec7fccfb7e36678b9b5ee4145dee85b37dcbcd94d /indoteknik_api/controllers/api_v1/sale_order.py
parent09032d721277221730efa3db7a2d8353524d509c (diff)
parentab11c9455c6e125195ec5004adfd855058d46f5f (diff)
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into reminder-tempo-v2
Diffstat (limited to 'indoteknik_api/controllers/api_v1/sale_order.py')
-rw-r--r--indoteknik_api/controllers/api_v1/sale_order.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/indoteknik_api/controllers/api_v1/sale_order.py b/indoteknik_api/controllers/api_v1/sale_order.py
index fd460ea0..2348a126 100644
--- a/indoteknik_api/controllers/api_v1/sale_order.py
+++ b/indoteknik_api/controllers/api_v1/sale_order.py
@@ -607,9 +607,6 @@ class SaleOrder(controller.Controller):
if is_flash_sale_item:
is_has_disc = True
_logger.info("Item is flash sale product - marked as discounted")
- elif discount_percent > 0 and not global_flash_sale:
- is_has_disc = True
- _logger.info(f"Item has discount {discount_percent}% - marked as discounted")
elif global_flash_sale:
_logger.info("Global flash sale active but item not eligible - not marked as discounted")