Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0028814 | Openbravo ERP | 04. Warehouse management | public | 2015-01-29 16:57 | 2015-02-06 10:33 |
|
Reporter | psanjuan | |
Assigned To | umartirena | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 20 | OS Version | Ubuntu 8.04.1 |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR15Q2 | |
Merge Request Status | |
Review Assigned To | Sandrahuguet |
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 | 0028814: Null pointer exception in case of a backdated transaction created for a "production" product type. |
Description | Null pointer exception in case of a backdated transaction created for a "production" product type. |
Steps To Reproduce | Create a product set as "Production". (For doing so, your instance should have been activated, therefore Production related application areas are shown)
Enter a cost in the costing tab, for a given organization
Create a shipment dated on 25/01/2014.
Complete and post.
Create a receipt dated on 15/01/2015 (backdated transaction)
Complete the receipt.
Run costing background process. The error is shown.
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-01-29 16:57 | psanjuan | New Issue | |
2015-01-29 16:57 | psanjuan | Assigned To | => dmiguelez |
2015-01-29 16:57 | psanjuan | OBNetwork customer | => No |
2015-01-29 16:57 | psanjuan | Modules | => Core |
2015-01-29 16:57 | psanjuan | Triggers an Emergency Pack | => No |
2015-01-29 19:05 | hgbot | Checkin | |
2015-01-29 19:05 | hgbot | Note Added: 0073920 | |
2015-01-29 19:05 | hgbot | Status | new => resolved |
2015-01-29 19:05 | hgbot | Resolution | open => fixed |
2015-01-29 19:05 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/cba032bafcb0a918c1cff764b26d05f9c5c1ce11 [^] |
2015-02-04 13:47 | psanjuan | Assigned To | dmiguelez => umartirena |
2015-02-04 13:47 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=7616#r7616 |
2015-02-04 13:58 | psanjuan | Note Added: 0074086 | |
2015-02-04 14:31 | psanjuan | Note Edited: 0074086 | bug_revision_view_page.php?bugnote_id=0074086#r7618 |
2015-02-04 20:34 | hudsonbot | Checkin | |
2015-02-04 20:34 | hudsonbot | Note Added: 0074199 | |
2015-02-06 10:33 | Sandrahuguet | Review Assigned To | => Sandrahuguet |
2015-02-06 10:33 | Sandrahuguet | Note Added: 0074242 | |
2015-02-06 10:33 | Sandrahuguet | Status | resolved => closed |
2015-02-06 10:33 | Sandrahuguet | Fixed in Version | => 3.0PR15Q2 |
Notes |
|
(0073920)
|
hgbot
|
2015-01-29 19:05
|
|
Repository: erp/devel/pi
Changeset: cba032bafcb0a918c1cff764b26d05f9c5c1ce11
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Thu Jan 29 19:04:28 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/cba032bafcb0a918c1cff764b26d05f9c5c1ce11 [^]
Fixes bug 28814: NPE fixed in Costing Background for a production product
When a product is defined as production the costing records created in the system are always for * organization. If a transaction of this product it was creating a backdated cost adjustment, in one place of the code a NPE exception error was happening because a costing record of legal entity org it was being trying to get. This has been fixed always filtering by client instead of organization when the product is of production type.
---
M src/org/openbravo/costing/AverageCostAdjustment.java
---
|
|
|
(0074086)
|
psanjuan
|
2015-02-04 13:58
(edited on: 2015-02-04 14:31) |
|
Verified. No error is shown now and the adjustments are correct.
|
|
|
|
|
|
|
|