Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019713Openbravo ERPB. User interfacepublic2012-02-09 16:532012-08-29 13:07
Xpand-IT 
alostale 
normalmajoralways
closedfixed 
107
3.0MP7.1 
pi 
Google Chrome
Core
No
0019713: Button's display logic isn't correctly applied for a parent's tab button
Windows affected: Sales Order, Purchase Order, Sales Invoice, Purchase Invoice
In any of these windows if a buttons have a display logic based on GrandTotal it isn't updated correctly. When we change a line, the display logic is correctly applied for the header tab but not for the lines tab. We must refresh the tab to apply the changes.
As sysadmin:
Go to Windows, tabs and fields. Windows: sales invoice, Tab: header, Field: APRM Process Invoice.
Add @GrandTotal@>0 to the display logic
As a user:
Go to sales invoice and make a new invoice.
Add a line with a positive value.

If you select the header tab, the button is shown, if you select the lines tab, it is not.

Reload the page and the button display logic is correct.
No tags attached.
related to defect 0020402 closed alostale Completed button is visible when document is already completed 
png lines-not updated.PNG (94,975) 2012-02-09 16:53
https://issues.openbravo.com/file_download.php?file_id=4985&type=bug
png
Issue History
2012-02-09 16:53Xpand-ITNew Issue
2012-02-09 16:53Xpand-ITAssigned To => dbaz
2012-02-09 16:53Xpand-ITFile Added: lines-not updated.PNG
2012-02-09 16:53Xpand-ITWeb browser => Google Chrome
2012-02-09 16:53Xpand-ITModules => Core
2012-05-08 12:43alostaleAssigned Todbaz => alostale
2012-05-08 12:44alostaleRelationship addedrelated to 0020402
2012-05-08 16:58hgbotCheckin
2012-05-08 16:58hgbotNote Added: 0048461
2012-05-08 16:58hgbotStatusnew => resolved
2012-05-08 16:58hgbotResolutionopen => fixed
2012-05-08 16:58hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/938f2b7e11c7e0417e1b56d5ab669b15208d8bea [^]
2012-05-09 17:23guilleaerNote Added: 0048516
2012-05-09 17:23guilleaerStatusresolved => closed
2012-05-09 17:23guilleaerFixed in Version => pi
2012-05-25 12:10hudsonbotCheckin
2012-05-25 12:10hudsonbotNote Added: 0049057
2012-08-29 13:07Xpand-ITIssue Monitored: Xpand-IT

Notes
(0048461)
hgbot   
2012-05-08 16:58   
Repository: erp/devel/pi
Changeset: 938f2b7e11c7e0417e1b56d5ab669b15208d8bea
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue May 08 16:57:32 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/938f2b7e11c7e0417e1b56d5ab669b15208d8bea [^]

fixed bug 20402, fixed bug 20227, fixed bug 19713

  Fixed toolbar button refresh when using a button defined in a parent tab

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-action-button.js
---
(0048516)
guilleaer   
2012-05-09 17:23   
code reviewed and tested in pi@cec498bcc924
(0049057)
hudsonbot   
2012-05-25 12:10   
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/5401e185a8b0 [^]

Maturity status: Test