Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018555Openbravo ERPA. Platformpublic2011-09-19 13:212011-10-12 01:59
jecharri 
marvintm 
urgentmajoralways
closedfixed 
5
pi 
3.0MP43.0MP4 
Google Chrome
Core
No
0018555: There are problems with buttons with displaylogic activated
When you have one button defined in a tab and it has a display logic, it is not working properly, because you have to click 2 times to see the button
As System go to Window,tabs and fields
Find the financial account window
Choose it and now go to tabs tab and select Transaction tab.
After that, you can see the fields of the tab Transaction.
Choose the field with Delete name and put in the Display logic the next expresion: @Paymentamt@>50
Save it
As admin:
Go to Financial Account/transaction and choose one record with "Withdrawal Amount" higher than 50.
You will see that you have to click twice if you want to see the delete button
No tags attached.
Issue History
2011-09-19 13:21jecharriNew Issue
2011-09-19 13:21jecharriAssigned To => jonalegriaesarte
2011-09-19 13:21jecharriWeb browser => Google Chrome
2011-09-19 13:21jecharriModules => Core
2011-09-19 13:21jecharriResolution time => 1320015600
2011-09-19 13:21jecharriWeb browserGoogle Chrome => Google Chrome
2011-09-19 13:21jecharriCategory09. Financial management => A. Platform
2011-09-21 11:15jonalegriaesarteAssigned Tojonalegriaesarte => marvintm
2011-09-26 19:16hgbotCheckin
2011-09-26 19:16hgbotNote Added: 0041295
2011-09-26 19:16hgbotStatusnew => resolved
2011-09-26 19:16hgbotResolutionopen => fixed
2011-09-26 19:16hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b682658595ef7613bec08b22fac8dc5bacef2b50 [^]
2011-09-30 14:20jecharriNote Added: 0041426
2011-09-30 14:20jecharriStatusresolved => closed
2011-09-30 14:20jecharriFixed in Version => 3.0MP4
2011-10-12 01:59hudsonbotCheckin
2011-10-12 01:59hudsonbotNote Added: 0041710

Notes
(0041295)
hgbot   
2011-09-26 19:16   
Repository: erp/devel/pi
Changeset: b682658595ef7613bec08b22fac8dc5bacef2b50
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Sep 26 19:14:02 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b682658595ef7613bec08b22fac8dc5bacef2b50 [^]

Fixed issue 18555. Display logic will work correctly for Process buttons.
The currentValues variable had been globally initialized and its value wasn't in sync with the buttons of the context. This meant that the displayLogic was evaluated using the values of the header tab, so the relevant value was null, and the display logic sometimes returned false. This did not always happened, it happened only with the FIC-related call. This explains why it worked the second time the user tried.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-toolbar.js
---
(0041426)
jecharri   
2011-09-30 14:20   
Tested
(0041710)
hudsonbot   
2011-10-12 01:59   
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/9bd2b5c2d982 [^]

Maturity status: Test