Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0013224 | Openbravo ERP | 03. Procurement management | public | 2010-05-05 10:24 | 2010-05-18 21:43 |
|
Reporter | harikrishnan | |
Assigned To | harikrishnan | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | pi | Fixed in Version | | |
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 | 0013224: When completing or processing documents the updatedby column is not updated properly |
Description | These are the places where the audit fields are not properly updated.
1.Matched Purchase Orders
2.Matched Invoices
3.Create Purchase Invoices from Deliveries
|
Steps To Reproduce | -Create a document with one user
Process or complete with other user
See that the updatedby is not properly updated. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0013230 | pi | closed | harikrishnan | When completing or processing documents the updatedby column is not updated properly |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2010-05-05 10:24 | harikrishnan | New Issue | |
2010-05-05 10:24 | harikrishnan | Assigned To | => adrianromero |
2010-05-05 10:24 | harikrishnan | OBNetwork customer | => No |
2010-05-05 10:46 | harikrishnan | Description Updated | bug_revision_view_page.php?rev_id=323#r323 |
2010-05-05 14:06 | arunkumar | Status | new => scheduled |
2010-05-05 14:06 | arunkumar | fix_in_branch | => pi |
2010-05-06 11:14 | harikrishnan | Assigned To | adrianromero => harikrishnan |
2010-05-06 11:17 | hgbot | Checkin | |
2010-05-06 11:17 | hgbot | Note Added: 0026978 | |
2010-05-06 11:17 | hgbot | Status | scheduled => resolved |
2010-05-06 11:17 | hgbot | Resolution | open => fixed |
2010-05-06 11:17 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/d2cb958569665fa0be92726b68f6dec3bf66906d [^] |
2010-05-06 11:21 | harikrishnan | Note Added: 0026979 | |
2010-05-15 18:38 | sureshbabu | Note Added: 0027333 | |
2010-05-17 08:41 | sureshbabu | Note Added: 0027350 | |
2010-05-17 08:41 | sureshbabu | Status | resolved => closed |
2010-05-18 00:01 | anonymous | sf_bug_id | 0 => 3002962 |
2010-05-18 21:43 | hudsonbot | Checkin | |
2010-05-18 21:43 | hudsonbot | Note Added: 0027485 | |
Notes |
|
(0026978)
|
hgbot
|
2010-05-06 11:17
|
|
Repository: erp/devel/pi
Changeset: d2cb958569665fa0be92726b68f6dec3bf66906d
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Thu May 06 14:46:25 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/d2cb958569665fa0be92726b68f6dec3bf66906d [^]
Fixes issue 13224: When completing or processing documents the updated-by column is not updated properly.
---
M src-db/database/model/functions/C_INVOICE_POST.xml
M src-db/database/model/functions/C_ORDER_POST1.xml
M src-db/database/model/functions/C_ORDER_PO_CREATE.xml
---
|
|
|
|
Steps to test:
*Create two new user.
1.UserA
2.userB
*Login as UserA
*Create new record in each above mentioned section(Don't complete it or process it)
*Login as UserB and complete all the record above created.
Root cause & solution:
Audit fields are not properly updated.Hence the user id is taken from the pinstance table and used in update and insert statement.
Impact:
These are the files that are affected by this fix.
C_INVOICE_CANCEL.xml
C_INVOICE_CREATE.xml
C_INVOICE_POST0.xml
C_ORDER_POST.xml
M_REQUISITION_CREATEPO.xml |
|
|
|
@ Hari,
Sorry the documents you have mentioned above are created by the system automatically after performing respective actions. So please update the steps to reproduce in detail. or contact me so that we can discuss on this. |
|
|
|
Right now system updates the documents with the user name instead of system id. |
|
|
|
|