| 
		Notes	 | 
	
		 
	 | 
	
		
		
			| 
				(0084930)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2016-03-14 08:44   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	| 
		
	 | 
	
		
		
			| 
				Fix is not correct, Tests in Discount Combo, By total through error in try			 | 
		 
		 
	 | 
	
		 
	 | 
	
		
		
			| 
				(0085496)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2016-04-07 16:26   
							 | 
		 
		 
	 | 
	
		
		
			
				Repository: erp/pmods/org.openbravo.retail.discounts.bestdeal 
Changeset: 0b9a2a0271c550ccfe9398d9be3fee655cd37437 
Author: Jorge Garcia <jorge.garcia <at> openbravo.com> 
Date: Wed Mar 23 17:30:11 2016 +0100 
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bestdeal/rev/0b9a2a0271c550ccfe9398d9be3fee655cd37437 [^] 
 
Fixed issue 32379: If Best Deal Case and Discount by total are installed it is 
not refreshing the amounts 
 
The problem was that the discount engine get stuck if the receipt has the flag preventApplyPromotions as true. 
 
The solution is to change the discount engine to be better with this kinds of 
flows, and delay set the preventApplyPromotions flag to false. 
 
--- 
M web/org.openbravo.retail.discounts.bestdeal/source/discounts-best-deal-case.js 
--- 
			 | 
		 
		 
	 | 
	
		 
	 | 
	
		
		
			| 
				(0085593)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2016-04-13 11:35   
							 | 
		 
		 
	 | 
	
		
		
			
				Repository: erp/pmods/org.openbravo.retail.discounts.bestdeal 
Changeset: 18e42a29a65047619194ac97370ca90b22b46678 
Author: Jorge Garcia <jorge.garcia <at> openbravo.com> 
Date: Mon Apr 11 10:22:51 2016 +0200 
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bestdeal/rev/18e42a29a65047619194ac97370ca90b22b46678 [^] 
 
Fixed issue 32379: If Best Deal Case and Discount by total are installed it is 
not refreshing the amounts 
 
The problem was that the discount engine get stuck if the receipt has the flag preventApplyPromotions as true. 
 
The solution is to change the discount engine to be better with this kinds of 
flows, and delay set the preventApplyPromotions flag to false. 
 
--- 
M web/org.openbravo.retail.discounts.bestdeal/source/discounts-best-deal-case.js 
--- 
			 | 
		 
		 
	 | 
	
		 
	 | 
	
		
		
			| 
				(0085604)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2016-04-13 12:58   
							 | 
		 
		 
	 | 
	
		
		
			
				Repository: tools/automation/pi-mobile 
Changeset: a47d2dc2e06efc065bd320cbb33643a9106d4d91 
Author: Jorge Garcia <jorge.garcia <at> openbravo.com> 
Date: Wed Mar 30 13:02:53 2016 +0200 
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/a47d2dc2e06efc065bd320cbb33643a9106d4d91 [^] 
 
Verifies issue 32379: If Best Deal Case and Discount by total are installed it is 
not refreshing the amounts 
 
Added test I32379_BestDealRecalculateTicket. 
 
--- 
A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/discounts_bestdeal/I32379_BestDealRecalculateTicket.java 
--- 
			 | 
		 
		 
	 | 
	
		 
	 | 
	
		
		
			| 
				(0085607)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2016-04-13 12:59   
							 | 
		 
		 
	 | 
	
		
		
			
				Repository: tools/automation/pi-mobile 
Changeset: c7b4a3f5ebddf5a57eb05fe8170d8a0313855ad7 
Author: Jorge Garcia <jorge.garcia <at> openbravo.com> 
Date: Mon Apr 11 09:18:26 2016 +0200 
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/c7b4a3f5ebddf5a57eb05fe8170d8a0313855ad7 [^] 
 
Related to issue 32379: If Best Deal Case and Discount by total are installed it is 
not refreshing the amounts 
 
Change discount name in I32379_BestDealRecalculateTicket test. 
 
--- 
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/discounts_bestdeal/I32379_BestDealRecalculateTicket.java 
--- 
			 | 
		 
		 
	 | 
	
		 
	 | 
	
		
		
			| 
				(0085608)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2016-04-13 13:00   
							 | 
		 
		 
	 | 
	
		
		
			
				Repository: erp/pmods/org.openbravo.retail.posterminal 
Changeset: 5aa4c1615adf20f9d578e9f8dab4a17fcab8a6cb 
Author: Jorge Garcia <jorge.garcia <at> openbravo.com> 
Date: Tue Mar 29 15:25:09 2016 +0200 
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5aa4c1615adf20f9d578e9f8dab4a17fcab8a6cb [^] 
 
Related to issue 32379: If Best Deal Case and Discount by total are installed it is 
not refreshing the amounts 
 
A small change is necessary in discount.js file to be solve skip or prevent 
apply promotions to the receipt, or while the receipt is clonning. 
 
--- 
M web/org.openbravo.retail.posterminal/js/model/discounts.js 
--- 
			 | 
		 
		 
	 |