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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036166
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] 07. Sales managementmajoralways2017-06-01 17:022022-02-01 08:08
ReporterngarciaView Statuspublic 
Assigned ToTriage Platform Base 
PriorityurgentResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
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

0036166: Cannot add a product to a commission line if Currency is not shown in header

DescriptionCannot add a product to a commission line if Currency is not shown in header.

inpcCurrencyId is null
Steps To ReproduceAs group admin role:
   Create a Commission
   Having it open in form view add a line to it
   Open Product selector and check you can select a product
   Change the header to grid view (having Currency column hidden)
   Open Product selector and check you cannot select any product:
      "No Items to Show" is shown
   Add Currency column to the header grid
   Open Product selector and check you can select a product again
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 00244033.0MP29 closedAugustoMauch When the grid calls the datasource, it should not retrieve the properties that are not shown in the grid. 
related to defect 0024402 closedAugustoMauch API Change: When the datasource is called from the grid, only the visible columns are fetched 

-  Notes
(0097202)
inigosanchez (developer)
2017-06-08 10:43

When the currency field in the header tab is not displayed, currency value is not accessible and for this reason the product selector fails.

In order to resolve this problem, set "Stored in Session" for the currency column of the header tab. Setting to yes this field the data for this column will be stored as session attribute so its content will be accessible from other tab.
(0097594)
caristu (developer)
2017-06-22 18:33
edited on: 2017-06-22 18:38

With the changes introduced with 0024403 the properties which are not shown in the grid are not retrieved when the grid calls the datasource.

But even if they are not shown in the grid, some properties could be required for other reasons (see [1])

In the case of this issue we should retrieve the property in the header which is referenced by the combo in the child tab, even if it is not displayed in the grid. (In this case, the currency field is referenced in the "Filter Expression" of the product selector in the child tab).

To fix this problem in a general way, we should build a solution to retrieve also all the properties referenced by the child tabs which are not being shown in the grid. For this reason, the issue has been moved to design defect.

The workaround for the moment is to mark the column of the referenced property in the header as "Stored In Session" because this kind of properties are always retrieved even if their related field is not displayed in grid.

[1] https://code.openbravo.com/erp/devel/pi/file/ee31b75a9991/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewGridComponent.java#l229 [^]


- Issue History
Date Modified Username Field Change
2017-06-01 17:02 ngarcia New Issue
2017-06-01 17:02 ngarcia Assigned To => Triage Finance
2017-06-01 17:02 ngarcia Modules => Core
2017-06-01 17:02 ngarcia Resolution time => 1498082400
2017-06-01 17:02 ngarcia Triggers an Emergency Pack => No
2017-06-01 17:02 ngarcia Issue Monitored: networkb
2017-06-01 17:03 ngarcia Description Updated View Revisions
2017-06-01 17:16 heccam Issue Monitored: heccam
2017-06-02 09:36 aferraz Assigned To Triage Finance => platform
2017-06-02 11:05 alostale Status new => acknowledged
2017-06-07 16:25 inigosanchez Status acknowledged => scheduled
2017-06-07 16:25 inigosanchez Assigned To platform => inigosanchez
2017-06-08 10:43 inigosanchez Note Added: 0097202
2017-06-22 17:25 caristu Relationship added related to 0024403
2017-06-22 17:25 caristu Relationship added related to 0024402
2017-06-22 18:06 caristu Type defect => design defect
2017-06-22 18:07 caristu Assigned To inigosanchez => platform
2017-06-22 18:07 caristu Status scheduled => acknowledged
2017-06-22 18:33 caristu Note Added: 0097594
2017-06-22 18:33 caristu Note Edited: 0097594 View Revisions
2017-06-22 18:33 caristu Note Edited: 0097594 View Revisions
2017-06-22 18:33 caristu Note Edited: 0097594 View Revisions
2017-06-22 18:34 caristu Note Edited: 0097594 View Revisions
2017-06-22 18:38 caristu Note Edited: 0097594 View Revisions
2017-06-22 18:44 inigosanchez Resolution time 1498082400 =>
2022-02-01 08:08 alostale Assigned To platform => Triage Platform Base


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker