Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013926 | Openbravo ERP | 03. Procurement management | public | 2010-07-08 23:14 | 2010-07-16 00:00 |
Reporter | networkb | ||||
Assigned To | harikrishnan | ||||
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | 2.50MP18 | ||||
Target Version | 2.50MP20 | Fixed in Version | |||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | OBPS | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0013926: Quantity ordered duplicated | ||||
Description | When Process a purchase Order (from Draft to Under Way) the Quantity ordered on m_storage_pending is updated: Old_qty_ordered + New_qty_ordered = Qty_updated 100 + 20 = 120 And when complete (from Under Way to Complete) the Quantity ordered is updated again, so: Qty_updated = Old_Qty_updated + New_qty_ordered 140 = 120 + 20 That is not correct because the purchase order is the same, with the same quantity not with the double qty ordered. | ||||
Steps To Reproduce | - Create a purchase Order (PO1) - Create a line por product 1 qty=10 - See the column Qty ordered on product selector - Complete the order and select Process instead of Complete. - Create another Purchase Order and notice that the quantity ordered in the selectar has increased 10 units. (PO2) - Complete the PO1 and go again to the selector Product in PO2 and notice that the qty ordered has increased 10 units again. | ||||
Proposed Solution | In C_ORder Post, if docStatus = 'Under Way' don't call M_STORAGE_PENDING_UPDATE | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-07-08 23:14 | networkb | New Issue | |||
2010-07-08 23:14 | networkb | Assigned To | => adrianromero | ||
2010-07-08 23:14 | networkb | OBNetwork customer | => Yes | ||
2010-07-09 11:52 | adrianromero | Status | new => scheduled | ||
2010-07-09 11:52 | adrianromero | fix_in_branch | => pi | ||
2010-07-14 12:54 | harikrishnan | Assigned To | adrianromero => harikrishnan | ||
2010-07-14 12:56 | hgbot | Checkin | |||
2010-07-14 12:56 | hgbot | Note Added: 0029308 | |||
2010-07-14 12:56 | hgbot | Status | scheduled => resolved | ||
2010-07-14 12:56 | hgbot | Resolution | open => fixed | ||
2010-07-14 12:56 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/99818017822d2cc2859a6b25edeabf173a09102a [^] | ||
2010-07-14 12:57 | harikrishnan | Note Added: 0029309 | |||
2010-07-15 08:57 | sureshbabu | Note Added: 0029322 | |||
2010-07-15 08:57 | sureshbabu | Status | resolved => closed | ||
2010-07-15 09:05 | sureshbabu | Note Edited: 0029322 | bug_revision_view_page.php?bugnote_id=0029322#r582 | ||
2010-07-15 10:18 | hudsonbot | Checkin | |||
2010-07-15 10:18 | hudsonbot | Note Added: 0029330 | |||
2010-07-16 00:00 | anonymous | sf_bug_id | 0 => 3030270 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|