Openbravo Issue Tracking System - Retail Modules  | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0047670 | Retail Modules | Discounts and Promotions | public | 2021-09-10 12:09 | 2021-09-15 16:22 | 
| Reporter | jetxarri | ||||
| Assigned To | rqueralta | ||||
| Priority | urgent | Severity | major | Reproducibility | always | 
| Status | closed | Resolution | fixed | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | pi | ||||
| Target Version | Fixed in Version | ||||
| Merge Request Status | approved | ||||
| Review Assigned To | |||||
| OBNetwork customer | OBPS | ||||
| Support ticket | |||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0047670: Backend discounts executor not ordering properly the discount rules | ||||
| Description | Backend discounts executor not ordering properly the discount rules. Null values should go first and with same priority, should be ordered by id. * OB.Discounts.Pos.ruleImpls: array with not manual discounts and promotions including children filters, filtered by current role and sorted by priority and id (null priorities first).  | ||||
| Steps To Reproduce | -Create 2 discounts -First discount priority 10 -Second one priority null Go to web pos and create a ticket that applies 2 discounts. Discount without priority is applied first and later the other one Use the endpoint ../ws/org.openbravo.discounts.discount. Discount with priority is applied first and later the other one  | ||||
| Proposed Solution | Attached file | ||||
| Additional Information | |||||
| Tags | NOR | ||||
| Relationships | |||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=16190&type=bug  | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2021-09-10 12:09 | jetxarri | New Issue | |||
| 2021-09-10 12:09 | jetxarri | Assigned To | => Retail | ||
| 2021-09-10 12:09 | jetxarri | File Added: patch.diff | |||
| 2021-09-10 12:09 | jetxarri | OBNetwork customer | => OBPS | ||
| 2021-09-10 12:09 | jetxarri | Triggers an Emergency Pack | => No | ||
| 2021-09-10 12:10 | jetxarri | Tag Attached: NOR | |||
| 2021-09-13 21:02 | rqueralta | Assigned To | Retail => rqueralta | ||
| 2021-09-13 21:02 | rqueralta | Status | new => scheduled | ||
| 2021-09-14 13:08 | hgbot | Merge Request Status | => open | ||
| 2021-09-14 13:08 | hgbot | Note Added: 0131780 | |||
| 2021-09-15 16:21 | hgbot | Merge Request Status | open => approved | ||
| 2021-09-15 16:22 | hgbot | Note Added: 0131822 | |||
| 2021-09-15 16:22 | hgbot | Resolution | open => fixed | ||
| 2021-09-15 16:22 | hgbot | Status | scheduled => closed | ||
| 2021-09-15 16:22 | hgbot | Note Added: 0131823 | |||
| Notes | |||||
| 
		 | 
|||||
		
  | 
	
		
  | 
||||
| 
		 | 
|||||
		
  | 
	
		
  | 
||||
| 
		 | 
|||||
		
  | 
	
		
  | 
||||