Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020161Openbravo ERP09. Financial managementpublic2012-03-29 20:232012-05-10 16:32
dmitry_mezentsev 
eduardo_Argal 
immediatemajoralways
closedfixed 
5
pi 
3.0MP93.0MP10 
Core
No
0020161: Using Accounting Transaction Details window one can delete any accounting transaction
Using Accounting Transaction Details window one can delete any accounting transaction.
live.builds.pi (as of 29.03.2012)

1. Open Accounting Transaction Details window.
2. Realize that any row can be deleted.
Accounting Transaction Details window is of a Window Type "Query Only" but Tab of it is of UI Pattern "Standard" (and not "Read Only") which is causing this issue as I see it.

It is also interesting to understand what Window Type "Query Only" does.
Regression QA
Issue History
2012-03-29 20:23dmitry_mezentsevNew Issue
2012-03-29 20:23dmitry_mezentsevAssigned To => eduardo_Argal
2012-03-29 20:23dmitry_mezentsevModules => Core
2012-03-29 21:23shuehnerIssue Monitored: shuehner
2012-03-30 12:23eduardo_ArgalStatusnew => scheduled
2012-03-30 12:23eduardo_Argalfix_in_branch => pi
2012-03-30 12:26hgbotCheckin
2012-03-30 12:26hgbotNote Added: 0046970
2012-03-30 12:26hgbotStatusscheduled => resolved
2012-03-30 12:26hgbotResolutionopen => fixed
2012-03-30 12:26hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c49c057799d5f3bd3a82d6ce6178ab495ea5f532 [^]
2012-03-30 13:23miruritaNote Added: 0046980
2012-04-02 06:13hudsonbotCheckin
2012-04-02 06:13hudsonbotNote Added: 0047285
2012-04-02 12:35miruritaNote Added: 0047303
2012-04-02 12:35miruritaStatusresolved => closed
2012-04-02 12:35miruritaFixed in Version => 3.0MP10
2012-05-10 16:32plujanTag Attached: Regression QA

Notes
(0046970)
hgbot   
2012-03-30 12:26   
Repository: erp/devel/pi
Changeset: c49c057799d5f3bd3a82d6ce6178ab495ea5f532
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Fri Mar 30 12:23:52 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c49c057799d5f3bd3a82d6ce6178ab495ea5f532 [^]

Fixes bug 20161: Using Accounting Transaction Details window one can delete any accounting transaction

---
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_TAB.xml
---
(0046980)
mirurita   
2012-03-30 13:23   
"Query Only" window type does not work, see the following issue:
https://issues.openbravo.com/view.php?id=10540 [^]
(0047285)
hudsonbot   
2012-04-02 06:13   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/7814864461ac [^]

Maturity status: Test
(0047303)
mirurita   
2012-04-02 12:35   
Testing Plan:
1) Go to 'Accounting Transaction Details' tab
The tab should be 'Edit only': the user should not be able to create nor delete records.
2) In grid view try to create or delete a record.
3) Open in form view and try to create or delete a record.
4) Try to modify Organization and Accounting Schema fields.

Result: the user is only able to modify description field. Not possible to create or delete records.