Openbravo Issue Tracking System - POS2
View Issue Details
0057916POS2POSpublic2025-02-09 14:012025-02-17 00:19
gaboflash 
gaboflash 
normalminorhave not tried
newopen 
5
 
 
No
0057916: Add a new Transaction Type Applicability configuration to discounts and promotions to differentiate sales and purchase discounts
Currently, discounts in Openbravo are applied to both sales and purchase flows without distinction. This feature request aims to introduce a new configuration option in the Promotions and Discounts window that allows users to specify whether a discount applies exclusively to Sales or Purchases.

Key Enhancements
 - New Configuration Option: A Transaction Type Applicability field will be added in the Promotions and Discounts window to specify whether a discount applies to Sales or Purchases. The default value will be Sales.

 - Improved Discount Management: Business rules and filters will be adjusted to ensure that discounts are only applied to relevant transactions. This includes restricting Business Partners, Products, and Price Lists based on the selected transaction type.

 - Backoffice Enhancements: The Discounts tab will be added to Purchase Orders and Purchase Invoices, allowing users to see applied purchase discounts. Subtabs will dynamically display based on whether the discount applies to Sales or Purchases.

 - POS Adjustments: Only Sales discounts will be loaded in POS, and the POS Configuration section will be hidden for Purchase discounts.

This update will prevent sales discounts from affecting purchase operations and ensure a clearer, more structured discount application process.
N/A
No tags attached.
Issue History
2025-02-09 14:01gaboflashNew Issue
2025-02-09 14:01gaboflashAssigned To => gaboflash
2025-02-09 14:01gaboflashTriggers an Emergency Pack => No
2025-02-11 04:02hgbotNote Added: 0175439
2025-02-11 04:02hgbotNote Added: 0175440
2025-02-11 04:02hgbotNote Added: 0175441
2025-02-11 04:02hgbotNote Added: 0175442
2025-02-13 02:54hgbotNote Added: 0175562
2025-02-16 13:08hgbotNote Added: 0175731
2025-02-16 13:25hgbotNote Added: 0175732
2025-02-17 00:19hgbotNote Added: 0175733

Notes
(0175439)
hgbot   
2025-02-11 04:02   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1912 [^]
(0175440)
hgbot   
2025-02-11 04:02   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/merge_requests/1531 [^]
(0175441)
hgbot   
2025-02-11 04:02   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.commercialoperations/-/merge_requests/80 [^]
(0175442)
hgbot   
2025-02-11 04:02   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.discounts.loyalty/-/merge_requests/7 [^]
(0175562)
hgbot   
2025-02-13 02:54   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.discounts/-/merge_requests/30 [^]
(0175731)
hgbot   
2025-02-16 13:08   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.sampledata/-/merge_requests/142 [^]
(0175732)
hgbot   
2025-02-16 13:25   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/ci/modules/org.openbravo.retail.testsampledata/-/merge_requests/132 [^]
(0175733)
hgbot   
2025-02-17 00:19   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/199 [^]