Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0014354 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] 03. Procurement management | major | always | 2010-08-27 13:40 | 2010-09-13 12:38 | |||
| Reporter | dalsasua | View Status | public | |||||
| Assigned To | adrianromero | |||||||
| Priority | normal | Resolution | duplicate | Fixed in Version | pi | |||
| Status | closed | Fix in branch | Fixed in SCM revision | |||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Linux 32 bit | Database | Oracle | Java version | 1.6.0_14 | |||
| OS Version | Ubuntu 9.04 | Database version | 11.1.0.6.0 SE | Ant version | 1.7.1 | |||
| Product Version | pi | SCM revision | 2.50 MP20 | |||||
| Merge Request Status | ||||||||
| Review Assigned To | ||||||||
| OBNetwork customer | No | |||||||
| Web browser | ||||||||
| Modules | Core | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0014354: If ',' character is the decimal separator, then invoice line do not populate amounts and tax values when selecting a product | |||||||
| Description | If ',' character is the decimal separator, then invoice line do not populate amounts and tax values when selecting a product | |||||||
| Steps To Reproduce | Apply this patch to Format.xml file: 28c28 < decimal="." grouping="," formatOutput="#,##0.00" formatInternal="#0.00" /> --- > decimal="," grouping="." formatOutput="#,##0.00" formatInternal="#0.00" /> 30c30 < decimal="." grouping="," formatOutput="#0.00" formatInternal="#0.00" /> --- > decimal="," grouping="." formatOutput="#0.00" formatInternal="#0.00" /> 36c36 < decimal="." grouping="," formatOutput="#,##0.00" formatInternal="#0.00" /> --- > decimal="," grouping="." formatOutput="#,##0.00" formatInternal="#0.00" /> 38c38 < decimal="." grouping="," formatOutput="#0.00" formatInternal="#0.00" /> --- > decimal="," grouping="." formatOutput="#0.00" formatInternal="#0.00" /> 42c42 < decimal="." grouping="," formatOutput="#,##0" formatInternal="#0" /> --- > decimal="," grouping="." formatOutput="#,##0" formatInternal="#0" /> 44c44 < decimal="." grouping="," formatOutput="#0" formatInternal="#0" /> --- > decimal="," grouping="." formatOutput="#0" formatInternal="#0" /> 50c50 < decimal="." grouping="," formatOutput="#,##0.###" formatInternal="#0.000" /> --- > decimal="," grouping="." formatOutput="#,##0.###" formatInternal="#0.000" /> 52c52 < decimal="." grouping="," formatOutput="#0.###" formatInternal="#0.000" /> --- > decimal="," grouping="." formatOutput="#0.###" formatInternal="#0.000" /> 56c56 < decimal="." grouping="," formatOutput="#,##0.######" formatInternal="#0.000000" /> --- > decimal="," grouping="." formatOutput="#,##0.######" formatInternal="#0.000000" /> 58c58 < decimal="." grouping="," formatOutput="#0.######" formatInternal="#0.000000" /> --- > decimal="," grouping="." formatOutput="#0.######" formatInternal="#0.000000" /> Then re-compile application and go to an invoice (sales or purchase) line, and choose a product. Nothing happens, and an error is shown while executing strPriceActual = SLOrderProductData.getOffersPriceInvoice(this, dataInvoice[0].dateinvoiced, dataInvoice[0].cBpartnerId, strMProductID, strPriceStd.replace("\"", ""), strQty, dataInvoice[0].mPricelistId, dataInvoice[0].id); | |||||||
| Proposed Solution | diff --git a/src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Product.java b/src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Product.java --- a/src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Product.java +++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Product.java @@ -54,7 +54,7 @@ log4j.debug("CHANGED: " + strChanged); String strUOM = vars.getStringParameter("inpmProductId_UOM"); String strPriceList = vars.getStringParameter("inpmProductId_PLIST"); - String strPriceStd = vars.getStringParameter("inpmProductId_PSTD"); + String strPriceStd = vars.getNumericParameter("inpmProductId_PSTD"); String strPriceLimit = vars.getStringParameter("inpmProductId_PLIM"); String strCurrency = vars.getStringParameter("inpmProductId_CURR"); String strQty = vars.getNumericParameter("inpqtyinvoiced"); | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
Notes |
|
|
(0030445) adrianromero (viewer) 2010-08-30 11:17 |
It was fixed in the following changeset: https://code.openbravo.com/erp/devel/pi/rev/e6fc833ee3976ebb4efba81accb2f92b9286a0b8 [^] |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2010-08-27 13:40 | dalsasua | New Issue | |
| 2010-08-27 13:40 | dalsasua | Assigned To | => adrianromero |
| 2010-08-27 13:40 | dalsasua | OBNetwork customer | => No |
| 2010-08-30 11:17 | adrianromero | Relationship added | duplicate of 0013325 |
| 2010-08-30 11:17 | adrianromero | Note Added: 0030445 | |
| 2010-08-30 11:17 | adrianromero | Status | new => closed |
| 2010-08-30 11:17 | adrianromero | Resolution | open => duplicate |
| 2010-08-30 11:17 | adrianromero | Fixed in Version | => pi |
| 2010-09-13 12:38 | anonymous | sf_bug_id | 0 => 3065190 |
| Copyright © 2000 - 2009 MantisBT Group |