Openbravo Issue Tracking System - Retail Modules  | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0034631 | Retail Modules | Web POS | public | 2016-11-25 09:45 | 2016-12-21 16:55 | 
| Reporter | migueldejuana | ||||
| Assigned To | mario_castello | ||||
| Priority | normal | Severity | major | Reproducibility | always | 
| Status | closed | Resolution | fixed | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | RR17Q1 | |||
| Merge Request Status | |||||
| Review Assigned To | marvintm | ||||
| OBNetwork customer | No | ||||
| Support ticket | |||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0034631: Js error when splitting packs lines (7 packs in advance) | ||||
| Description | We get a Javascript error when we add many packs to the receipt and we split on of pack's line. See steps. The error happens in model/order.js file in line 3815: clonedPromotion.amt = OB.DEC.toNumber(OB.DEC.toBigDecimal(OB.I18N.formatCurrency((promotion.amt * (clonedPromotion.obdiscQtyoffer / promotion.qtyOffer))))); If we add 6 packs, the error doesn't appears but if we add 7,8,9... the error starts happening.  | ||||
| Steps To Reproduce | - Login - Go to the browser and add 7 times Camping Pack - We get 14 Down sleeping bag 500 - Select this line and press Split button in EDIT panel - In Split modal, select 14 lines and press Apply - ERROR! Javascript error: "bigdecimal-1.0.1.js:14 Uncaught BigDecimal(): Not a number: 1,,,0,0,3,.,6,2"  | ||||
| Proposed Solution | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2016-11-25 09:45 | migueldejuana | New Issue | |||
| 2016-11-25 09:45 | migueldejuana | Assigned To | => Retail | ||
| 2016-11-25 09:45 | migueldejuana | OBNetwork customer | => No | ||
| 2016-11-25 09:45 | migueldejuana | Triggers an Emergency Pack | => No | ||
| 2016-12-06 21:58 | mario_castello | Assigned To | Retail => mario_castello | ||
| 2016-12-06 21:58 | mario_castello | Status | new => acknowledged | ||
| 2016-12-06 21:58 | mario_castello | Status | acknowledged => scheduled | ||
| 2016-12-08 16:26 | hgbot | Checkin | |||
| 2016-12-08 16:26 | hgbot | Note Added: 0092216 | |||
| 2016-12-08 16:26 | hgbot | Status | scheduled => resolved | ||
| 2016-12-08 16:26 | hgbot | Resolution | open => fixed | ||
| 2016-12-08 16:26 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/711b9793838185ddb271105b38c4dc4053c5488a [^] | ||
| 2016-12-08 16:27 | hgbot | Checkin | |||
| 2016-12-08 16:27 | hgbot | Note Added: 0092217 | |||
| 2016-12-08 16:33 | hgbot | Checkin | |||
| 2016-12-08 16:33 | hgbot | Note Added: 0092218 | |||
| 2016-12-08 16:40 | mario_castello | Note Added: 0092219 | |||
| 2016-12-08 16:41 | mario_castello | Note Edited: 0092219 | bug_revision_view_page.php?bugnote_id=0092219#r13968 | ||
| 2016-12-21 16:55 | marvintm | Review Assigned To | => marvintm | ||
| 2016-12-21 16:55 | marvintm | Status | resolved => closed | ||
| 2016-12-21 16:55 | marvintm | Fixed in Version | => RR17Q1 | ||
| Notes | |||||
| 
		 | 
|||||
		
  | 
	
		
  | 
||||
| 
		 | 
|||||
		
  | 
	
		
  | 
||||
| 
		 | 
|||||
		
  | 
	
		
  | 
||||
| 
		 | 
|||||
		
  | 
	
		
  | 
||||