Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0000429 | Openbravo ERP | 03. Procurement management | public | 2008-05-26 12:16 | 2008-06-18 15:32 | |||||||
| Reporter | maria_perez | |||||||||||
| Assigned To | gorkaion | |||||||||||
| Priority | urgent | Severity | major | Reproducibility | always | |||||||
| Status | closed | Resolution | fixed | |||||||||
| Platform | OS | 20 | OS Version | Ubuntu | ||||||||
| Product Version | 2.35 | |||||||||||
| Target Version | Fixed in Version | 2.40alpha-r3 | ||||||||||
| 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 | 0000429: Wrong documentno in receipts created from pending goods | |||||||||||
| Description | In Procurement Management --> Transactions --> Pending goods receipt. We select a pending purchase order, select quantity, warehouse and reception date and click on the Process Button. Then a good receipt is generated with a document number which is not correct according to the document type. Patch found: In file --> src/org/openbravo/erpCommon/ad_forms/MaterialReceiptPending.java The line: strDocumentno = Utility.getDocumentNo(this, vars, "", "M_InOut", Utility.getContext(this, vars, "C_DocTypeTarget_ID", docTargetType), Utility.getContext(this, vars, "C_DocType_ID", docTargetType), false, true); has been changed to: strDocumentno = Utility.getDocumentNo(this, vars, "", "M_InOut", docTargetType.equals("")?Utility.getContext(this, vars, "C_DocTypeTarget_ID", docTargetType):docTargetType, Utility.getContext(this, vars, "C_DocType_ID", docTargetType), false, true); In order to use the variable docTargetType as input parameter in method getDocumentNo, instead of the session variable C_DocTypeTarget_ID, which is used in the current code. | |||||||||||
| Steps To Reproduce | In Procurement Management --> Transactions --> Pending goods receipt. We select a pending purchase order, select quantity, warehouse and reception date and click on the Process Button. | |||||||||||
| Proposed Solution | ||||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2008-05-26 12:16 | psarobe | New Issue | ||||||||||
| 2008-05-26 12:16 | psarobe | Assigned To | => gorkaion | |||||||||
| 2008-05-26 12:16 | psarobe | Status | new => scheduled | |||||||||
| 2008-05-29 19:42 | gorkaion | Status | scheduled => resolved | |||||||||
| 2008-05-29 19:42 | gorkaion | svn_revision | => 4680 | |||||||||
| 2008-05-29 19:42 | gorkaion | Resolution | open => fixed | |||||||||
| 2008-05-29 19:42 | gorkaion | Note Added: 0000386 | ||||||||||
| 2008-06-11 14:38 | cromero | Fixed in Version | => 2.40alpha r3 | |||||||||
| 2008-06-16 06:56 | pjuvara | Priority | normal => urgent | |||||||||
| 2008-06-16 06:56 | pjuvara | Severity | minor => major | |||||||||
| 2008-06-16 06:56 | pjuvara | Description Updated | ||||||||||
| 2008-06-16 06:56 | pjuvara | Proposed Solution updated | ||||||||||
| 2008-06-18 15:32 | plujan | Status | resolved => closed | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||