Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006376Openbravo ERP07. Sales managementpublic2008-12-04 23:102009-05-20 08:48
pheenan 
pheenan 
immediatemajoralways
closedfixed 
5
2.40 
2.40 
Core
No
0006376: Generated invoices have incorrect audit information
Backport for issue 0006296
When invoices are automatically generated the audit shows that the invoices are generated by system admin. This happens even if normal user starts the process.
Add AD_USER value for current user. Use this to populate the createdby and updated by fields
No tags attached.
Issue History
2008-12-04 23:10pheenanNew Issue
2008-12-04 23:10pheenanAssigned To => pheenan
2008-12-04 23:10pheenanRegression testing => No
2008-12-04 23:12svnbotCheckin
2008-12-04 23:12svnbotNote Added: 0010985
2008-12-04 23:12svnbotStatusnew => resolved
2008-12-04 23:12svnbotResolutionopen => fixed
2008-12-04 23:12svnbotsvn_revision => 10980
2008-12-05 13:52svnbotCheckin
2008-12-05 13:52svnbotNote Added: 0011001
2008-12-05 13:52svnbotsvn_revision10980 => 10989
2009-05-20 08:48sureshbabuStatusresolved => closed
2009-05-20 08:48sureshbabuNote Added: 0016484
2009-05-20 08:48sureshbabuFixed in Version => 2.40MP4

Notes
(0010985)
svnbot   
2008-12-04 23:12   
Repository: openbravo
Revision: 10980
Author: pheenan
Date: 2008-12-04 23:12:24 +0100 (Thu, 04 Dec 2008)

Fixed issue 0006376. Backport for original issue 0006296. Added AD_USER variable and use this to populate createdby and updatedby fields in invoice and invoiceline tables.

---
U branches/r2.40/src-db/database/model/functions/C_INVOICE_CREATE.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=10980&sc=1 [^]
(0011001)
svnbot   
2008-12-05 13:52   
Repository: openbravo
Revision: 10989
Author: villind
Date: 2008-12-05 13:52:38 +0100 (Fri, 05 Dec 2008)

Merged r10980. Fixed issue 0006376. Backport for original issue 0006296. Added AD_USER variable and use this to populate createdby and updatedby fields in invoice and invoiceline tables.

---
_U branches/bonware/r2.40/
_U branches/bonware/r2.40/config/setup-tool/
_U branches/bonware/r2.40/eclipse.install.source.launch
_U branches/bonware/r2.40/export.database.launch
_U branches/bonware/r2.40/src-core/src/org/openbravo/database/OpenbravoDriverManagerConnectionFactory.java
U branches/bonware/r2.40/src-db/database/model/functions/C_INVOICE_CREATE.xml
_U branches/bonware/r2.40/update.database.launch
---

https://dev.openbravo.com/websvn/openbravo/?rev=10989&sc=1 [^]
(0016484)
sureshbabu   
2009-05-20 08:48   
Tested working fine