Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012895
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 07. Sales managementmajoralways2010-04-07 13:342010-04-16 17:03
ReporteradrianromeroView Statuspublic 
Assigned Toharikrishnan 
PriorityurgentResolutionfixedFixed in Version2.50MP15
StatusclosedFix in branchpiFixed in SCM revisionfbc442ff37fd
ProjectionnoneETAnoneTarget Version2.50MP13
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.40MP11SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012895: When you complete a sales invoice the database is not updated properly

DescriptionAs Openbravo you create a sales invoice. If you complete it as other user, the field 'Updatedby' on DB is not updated.
Steps To Reproduce-As Openbravo Admin go to General Setup || Security || User
-Create a new record:
    -name: User
    -username: User
    -password: user
-Save, go to User Roles and create a new record:
    -Role: Openbravo Admin.
-Save

-Go to Sales Management || Transactions || Sales Invoice
-Create a new invoice with a line.
-Save

-Logout and login with the new user.
-Go to the invoice created and complete it.

-On DB:

select updatedby, updated, createdby, created from c_invoice order by updated desc

-Realize that '100' (Openbravo user) appears on UpdatedBy
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to backport 0012799 closedharikrishnan Generate Invoice process generates multiple invoices 
blocks defect 00125202.40MP13 closedharikrishnan When you complete a sales invoice the database is not updated properly 

-  Notes
(0025935)
adrianromero (manager)
2010-04-07 13:40

Repository: erp/stable/2.40
Changeset: fbc442ff37fdee770faaf2899fc24ef7dae2a4cb
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Thu Mar 18 18:21:07 2010 +0530
URL: http://code.openbravo.com/erp/stable/2.40/rev/fbc442ff37fdee770faaf2899fc24ef7dae2a4cb [^] [^]

Fixes Issue 12520: When you complete a sales invoice the database is not updated properly

---
M src-db/database/model/functions/C_INVOICE_POST.xml
---
(0025936)
adrianromero (manager)
2010-04-07 13:40

Repository: erp/stable/2.40
Changeset: 1d4915eb342ea81b1cce168b832112f0e9f0187e
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Tue Mar 23 15:37:26 2010 +0100
URL: http://code.openbravo.com/erp/stable/2.40/rev/1d4915eb342ea81b1cce168b832112f0e9f0187e [^] [^]

Fixes issue 0012753: Generate Invoice process gives Notnull error
Related to issue 12520 When you complete a sales invoice the database is not updated properly

---
M src-db/database/model/functions/C_INVOICE_CREATE.xml
---
(0025937)
adrianromero (manager)
2010-04-07 13:40

Repository: erp/stable/2.40
Changeset: abde598fb3f1eb69d8c226f4f31c3cecc8450965
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Mon Mar 29 15:32:01 2010 +0530
URL: http://code.openbravo.com/erp/stable/2.40/rev/abde598fb3f1eb69d8c226f4f31c3cecc8450965 [^] [^]

Fixes Issue 12799: Generate Invoice process generates multiple invoices.

---
M src-db/database/model/functions/C_INVOICE_CREATE.xml
M src-db/database/model/functions/C_INVOICE_POST.xml
---
(0025939)
adrianromero (manager)
2010-04-07 13:43

Steps to test

*Login as
Username: Openbravo
Password:openbravo
*Create a new sales invoice but do not complete the invoice.
*Create a new new user and assign openbravoadmin role.
*Logout and Login as new user credentials.
*Complete the above invoice created.
Now if you query the database for the above created invoice, the UpdatedBy field is updated to the new user id.
(0026322)
sureshbabu (reporter)
2010-04-16 17:03

tested working fine

- Issue History
Date Modified Username Field Change
2010-04-07 13:34 adrianromero New Issue
2010-04-07 13:34 adrianromero Assigned To => harikrishnan
2010-04-07 13:34 adrianromero Issue generated from 0012520
2010-04-07 13:35 adrianromero Type defect => backport
2010-04-07 13:35 adrianromero Relationship added blocks 0012520
2010-04-07 13:40 adrianromero Note Added: 0025935
2010-04-07 13:40 adrianromero Note Added: 0025936
2010-04-07 13:40 adrianromero Note Added: 0025937
2010-04-07 13:40 adrianromero Status new => scheduled
2010-04-07 13:40 adrianromero fix_in_branch => pi
2010-04-07 13:41 adrianromero Status scheduled => resolved
2010-04-07 13:41 adrianromero Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/fbc442ff37fdee770faaf2899fc24ef7dae2a4cb [^]
2010-04-07 13:41 adrianromero Resolution open => fixed
2010-04-07 13:41 adrianromero Relationship added related to 0012799
2010-04-07 13:43 adrianromero Note Added: 0025939
2010-04-16 17:03 sureshbabu Note Added: 0026322
2010-04-16 17:03 sureshbabu Status resolved => closed
2010-04-16 17:03 sureshbabu Fixed in Version => 2.50MP15


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker