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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0022851
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2013-01-21 10:502013-03-05 09:30
ReporterpsarobeView Statuspublic 
Assigned ToAugustoMauch 
PriorityurgentResolutionopenFixed in Version
StatusclosedFix in branchFixed in SCM revisionb9dcfdaae170
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0022851: Tab line that has a button (P&E) is not showing it when the tab does only have one record

DescriptionIt look likes the system doesn't notice that there is one record. When there are two records then the button is shown

* Reservations are disabled by default. To be able to use them please insert a new Preference using property Enable Stock Reservations with value Y
Steps To Reproduce1. Enter a preference as F&B Admin: Property: Enable Stock Reservations, Value:Y
2. Log out and log in
3. Go to Sales order
4. Create a header and save
5. Create one line and save
6. Book the order
7. Move focus to the line and see that there is no "Manage reservations" button. THIS IS WRONG

Expected behaviour: The button should be shown

If you create two lines instead of one or you refresh then you see the button
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 00226553.0MP21 closedAugustoMauch Display problems in window G/L Journal window 

-  Notes
(0056994)
AugustoMauch (manager)
2013-03-04 12:55

This issue is a duplicate of 22655.

22851 was reported before 22655, but 22655 can not be rejected as duplicate because it is an OBNetwork issue.
(0056996)
hgbot (developer)
2013-03-04 12:56

Repository: erp/devel/pi
Changeset: b9dcfdaae170510c27e26433c77b76bb96903b6c
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Mar 04 12:52:56 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b9dcfdaae170510c27e26433c77b76bb96903b6c [^]

Fixes bug 22655, fixes bug 22851. Display logic works correct with one record.

When a record is clicked, it is selected and a call to the FIC is done in SETSESSION mode. This call returns with the form session variables. The problem is th
at when there is only one row in the grid, it is automatically selected and no call to the FIC is done in SETSESSION mode.

This was happening in this issue, so the button whose display logic used session variables was not working properly. Only when the grid was refreshed the call
to the FIC is SETSESSION mode was done.

This has been fixed by making a call to updateButtonState(false, false, true) when data is received from the dataset being returned only one row. This call wil
l result in a call to the fic in SETSESSION mode. The first argument ensures that the SETSESSION call is made, the second one is not used and the third one ens
ures that the call is made even if the view is being updated is not the active one.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
(0057024)
hudsonbot (developer)
2013-03-05 09:30

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/e5bdfce74ee2 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2013-01-21 10:50 psarobe New Issue
2013-01-21 10:50 psarobe Assigned To => AugustoMauch
2013-01-21 10:50 psarobe Modules => Core
2013-01-21 10:50 psarobe Triggers an Emergency Pack => No
2013-02-05 17:23 AugustoMauch Steps to Reproduce Updated View Revisions
2013-03-04 10:00 ioritzCia Relationship added blocks 0022655
2013-03-04 12:53 AugustoMauch Relationship replaced duplicate of 0022655
2013-03-04 12:55 AugustoMauch Note Added: 0056994
2013-03-04 12:55 AugustoMauch Status new => closed
2013-03-04 12:56 hgbot Checkin
2013-03-04 12:56 hgbot Note Added: 0056996
2013-03-04 12:56 hgbot Status closed => resolved
2013-03-04 12:56 hgbot Resolution open => fixed
2013-03-04 12:56 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b9dcfdaae170510c27e26433c77b76bb96903b6c [^]
2013-03-04 13:40 AugustoMauch Status resolved => new
2013-03-04 13:40 AugustoMauch Resolution fixed => open
2013-03-04 13:40 AugustoMauch Status new => closed
2013-03-05 09:30 hudsonbot Checkin
2013-03-05 09:30 hudsonbot Note Added: 0057024


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker