Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0023825 | Retail Modules | Web POS | public | 2013-05-15 11:13 | 2013-06-03 12:27 |
Reporter | jecharri | ||||
Assigned To | marvintm | ||||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | RMP22 | ||||
Target Version | RMP23 | Fixed in Version | RMP23 | ||
Merge Request Status | |||||
Review Assigned To | guilleaer | ||||
OBNetwork customer | OBPS | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0023825: Error in Product sale while its quantity is in decimal | ||||
Description | Error in Product sale while its quantity is in decimal | ||||
Steps To Reproduce | -Create a product with expiration date attribute as mandatory -create a physical inventory and add 1 unit to stock -do a sales with qty 0.3 in web POS The first time it works. Try to do again and you will see that it is impossible to complete the sales because the order keeps in "Error while importing POS data". | ||||
Proposed Solution | The problem is the table m_stock_proposed -Column quantity is numeric in database and integer in the Application dictionary Also it is necessary to change the OrderLoader classs: if (pendingQty.compareTo(new BigDecimal(stock.getQuantity())) > 0) { qty = new BigDecimal(stock.getQuantity()); pendingQty = pendingQty.subtract(qty); } else { to if (pendingQty.compareTo(stock.getQuantity()) > 0) { qty = stock.getQuantity(); pendingQty = pendingQty.subtract(qty); } else { | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-05-15 11:13 | jecharri | New Issue | |||
2013-05-15 11:13 | jecharri | Assigned To | => marvintm | ||
2013-05-15 11:13 | jecharri | OBNetwork customer | => Yes | ||
2013-05-15 11:13 | jecharri | Resolution time | => 1371247200 | ||
2013-05-21 12:11 | hgbot | Checkin | |||
2013-05-21 12:11 | hgbot | Note Added: 0058720 | |||
2013-05-21 12:12 | hgbot | Status | new => resolved | ||
2013-05-21 12:12 | hgbot | Resolution | open => fixed | ||
2013-05-21 12:12 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/24cf942537aeae86776abef04a1a3ca6c9b2ec8a [^] | ||
2013-05-21 12:13 | hgbot | Checkin | |||
2013-05-21 12:13 | hgbot | Note Added: 0058721 | |||
2013-05-21 12:13 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/24cf942537aeae86776abef04a1a3ca6c9b2ec8a [^] => http://code.openbravo.com/erp/devel/pi/rev/a9613416cdd7343a099a9a4150b963bc8783595e [^] | ||
2013-05-23 01:34 | hudsonbot | Checkin | |||
2013-05-23 01:34 | hudsonbot | Note Added: 0058841 | |||
2013-05-23 07:52 | hgbot | Checkin | |||
2013-05-23 07:52 | hgbot | Note Added: 0058869 | |||
2013-05-23 07:52 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/a9613416cdd7343a099a9a4150b963bc8783595e [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.ch/rev/24cf942537aeae86776abef04a1a3ca6c9b2ec8a [^] | ||
2013-05-23 12:33 | guilleaer | Review Assigned To | => guilleaer | ||
2013-05-23 12:33 | guilleaer | Note Added: 0058900 | |||
2013-05-23 12:33 | guilleaer | Status | resolved => closed | ||
2013-05-23 12:33 | guilleaer | Fixed in Version | => RMP23 | ||
2013-05-29 12:19 | hgbot | Checkin | |||
2013-05-29 12:19 | hgbot | Note Added: 0059031 | |||
2013-05-29 12:19 | hgbot | Status | closed => resolved | ||
2013-05-29 12:19 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.ch/rev/24cf942537aeae86776abef04a1a3ca6c9b2ec8a [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.multiorder/rev/24cf942537aeae86776abef04a1a3ca6c9b2ec8a [^] | ||
2013-06-03 12:27 | marvintm | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|