Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013250Openbravo ERP07. Sales managementpublic2010-05-05 10:562010-05-25 09:16
harikrishnan 
adrianromero 
normalmajorhave not tried
closedfixed 
5
pi 
pi 
Core
No
0013250: When completing or processing documents the updatedby column is not updated properly
These are the places where the audit fields are not properly updated.

1.Update Price List from Orders
No tags attached.
blocks defect 0013227pi closed harikrishnan When completing or processing documents the updatedby column is not updated properly 
Issue History
2010-05-07 06:28harikrishnanTypedefect => backport
2010-05-07 06:28harikrishnanfix_in_branch => 2.40
2010-05-07 06:30hgbotCheckin
2010-05-07 06:30hgbotNote Added: 0027018
2010-05-07 06:30hgbotStatusscheduled => resolved
2010-05-07 06:30hgbotResolutionopen => fixed
2010-05-07 06:30hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/4609c7e5cf01b62a304b0097d76aafe48e24c2c1 [^]
2010-05-07 06:34harikrishnanNote Added: 0027021
2010-05-25 09:16arunkumarNote Added: 0027699
2010-05-25 09:16arunkumarStatusresolved => closed

Notes
(0027018)
hgbot   
2010-05-07 06:30   
Repository: erp/stable/2.40
Changeset: 4609c7e5cf01b62a304b0097d76aafe48e24c2c1
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Fri May 07 09:59:29 2010 +0530
URL: http://code.openbravo.com/erp/stable/2.40/rev/4609c7e5cf01b62a304b0097d76aafe48e24c2c1 [^]

Fixes Issue 13250: When completing or processing documents the updatedby column is not updated properly

---
M src-db/database/model/functions/C_ORDER_ACTUALIZE_PRICELIST.xml
---
(0027021)
harikrishnan   
2010-05-07 06:34   
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:
Their is no impact other then these files.
(0027699)
arunkumar   
2010-05-25 09:16   
Tested working fine