Project: 	
  | View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0043322 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Retail Modules] Discounts by Total | major | always | 2020-02-25 11:51 | 2020-03-05 19:23 | |||
| Reporter | Leyre | View Status | public | |||||
| Assigned To | rqueralta | |||||||
| Priority | high | Resolution | fixed | Fixed in Version | RR20Q2 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | 5ab58c676f94 | ||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | ||||||||
| Review Assigned To | guilleaer | |||||||
| OBNetwork customer | Gold | |||||||
| Support ticket | 14891 | |||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0043322: The "By Total" discount does not apply correctly the discounted qty. on the receipt lines | |||||||
| Description | The "By Total" discount does not apply correctly the discounted qty. on the receipt lines | |||||||
| Steps To Reproduce | Backend: Set the "Web POS Use advanced discounts engine" preference = N Web POS: 1. Add two lines with prices: Line 1 - P1 100 Line 2 - P2 200 2. Add a discount type = User Defined Amount of 50 to the second line Line 1 - P1 100 Line 2 - P2 200-50=100 3. Add a discount type = Variable Discount per Total Amount of 180 to the receipt. Verify that the second discount should be applied proportionally on the lines of quantity, but it applies incorrectly: P1 = -60 P2 = -100  | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
		  Relationships		[ Relation Graph ] 
		[ Dependency Graph ] 
			 | 
||||||||||||||||||||||
  | 
||||||||||||||||||||||
  		Notes	 | 
|
| 
				(0118126) hgbot (developer) 2020-02-26 17:22  | 
	
		Repository: erp/pmods/org.openbravo.retail.discounts.bytotal Changeset: 5ab58c676f941bee01ad2158bdc234aa8248f70e Author: Rafael Queralta <rafaelcuba81 <at> gmail.com> Date: Wed Feb 26 11:19:21 2020 -0500 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bytotal/rev/5ab58c676f941bee01ad2158bdc234aa8248f70e [^] Fixed BUG-43322: The "By Total" discount does not apply correctly the discounted qty. on the receipt lines - Total receipt discount was calculated separated of lines discount to update the total receipt taking into the account the discounts previously applied --- M web/org.openbravo.retail.discounts.bytotal/js/promotion-by-total-utils.js ---  | 
| 
				(0118138) hgbot (developer) 2020-02-27 00:04  | 
	
		Repository: erp/pmods/org.openbravo.retail.discounts.bytotal Changeset: 46fb87e0838ccf54e0d2f8e244179b2bb0662e5a Author: Rafael Queralta <rafaelcuba81 <at> gmail.com> Date: Wed Feb 26 18:03:45 2020 -0500 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bytotal/rev/46fb87e0838ccf54e0d2f8e244179b2bb0662e5a [^] Related to ISSUE-43322: The "By Total" discount does not apply correctly the discounted qty. on the receipt lines - Fixed problem with splitline product --- M web/org.openbravo.retail.discounts.bytotal/js/promotion-by-total-utils.js ---  | 
  Issue History	 | 
|||
| Date Modified | Username | Field | Change | 
| 2020-02-25 11:51 | Leyre | New Issue | |
| 2020-02-25 11:51 | Leyre | Assigned To | => Retail | 
| 2020-02-25 11:51 | Leyre | File Added: image.png | |
| 2020-02-25 11:51 | Leyre | OBNetwork customer | => Gold | 
| 2020-02-25 11:51 | Leyre | Support ticket | => 14891 | 
| 2020-02-25 11:51 | Leyre | Resolution time | => 1584399600 | 
| 2020-02-25 11:51 | Leyre | Triggers an Emergency Pack | => No | 
| 2020-02-25 11:52 | Leyre | Relationship added | related to 0041887 | 
| 2020-02-25 13:26 | rqueralta | Assigned To | Retail => rqueralta | 
| 2020-02-25 13:26 | rqueralta | Status | new => scheduled | 
| 2020-02-26 17:22 | hgbot | Checkin | |
| 2020-02-26 17:22 | hgbot | Note Added: 0118126 | |
| 2020-02-26 17:22 | hgbot | Status | scheduled => resolved | 
| 2020-02-26 17:22 | hgbot | Resolution | open => fixed | 
| 2020-02-26 17:22 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bytotal/rev/5ab58c676f941bee01ad2158bdc234aa8248f70e [^] | 
| 2020-02-27 00:04 | hgbot | Checkin | |
| 2020-02-27 00:04 | hgbot | Note Added: 0118138 | |
| 2020-03-05 19:23 | guilleaer | Review Assigned To | => guilleaer | 
| 2020-03-05 19:23 | guilleaer | Status | resolved => closed | 
| 2020-03-05 19:23 | guilleaer | Fixed in Version | => RR20Q2 | 
| 2020-04-06 18:49 | ngarcia | Relationship added | causes 0043521 | 
| 2020-04-27 13:43 | Leyre | Relationship added | related to 0043880 | 
| Copyright © 2000 - 2009 MantisBT Group |