Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0033208Openbravo ERPA. Platformpublic2016-04-29 15:002016-06-21 07:48
Google Chrome
Production - Confirmed Stable
0033208: Direct link to documents in the workspace is not working
Direct link to documents in the workspace is not working when first field in grid is of "Date" type. The result is a blank document.
== First Way ==

**First you need an activated instance to make changes effective in window.
* Navigate to Sales Order window, set the first column of grid view as a "Date" type
* Rebuild the application

1) Create a new Sales Order
2) Return to Workspace and click the direct link to that document

The result is a blank window. See the attached video

== Second Way ==
Configuration Steps:
a) Add the Invoices to Collect widget into the workspace
b) Create a saved view in Sales Invoice window, with "Invoice Date" field at the first position. Set this view as default.

Steps To Reproduce:
1) Open the [Sales Invoice] window
2) Move to the Workspace. Click on any document number of the Invoice to Collect widget.
No tags attached.
blocks defect 00328153.0PR16Q3 closed caristu Direct link to documents in the workspace is not working 
Issue History
2016-06-09 13:31alostaleTypedefect => backport
2016-06-09 13:31alostaleTarget Version => 3.0PR16Q2.1
2016-06-09 13:31alostaleWeb browserGoogle Chrome => Google Chrome
2016-06-09 13:31alostaleTarget Version3.0PR16Q2.1 => 3.0PR16Q2
2016-06-10 11:46caristuWeb browserGoogle Chrome => Google Chrome
2016-06-10 11:46caristuTarget Version3.0PR16Q2 => 3.0PR16Q2.1
2016-06-17 08:52hgbotCheckin
2016-06-17 08:52hgbotNote Added: 0087378
2016-06-17 08:52hgbotStatusscheduled => resolved
2016-06-17 08:52hgbotResolutionopen => fixed
2016-06-17 08:52hgbotFixed in SCM revision => [^]
2016-06-21 07:48alostaleReview Assigned To => alostale
2016-06-21 07:48alostaleNote Added: 0087697
2016-06-21 07:48alostaleStatusresolved => closed
2016-06-21 07:48alostaleFixed in Version => 3.0PR16Q2.1

2016-06-17 08:52   
Repository: erp/backports/3.0PR16Q2.1
Changeset: 28ef3ec9f6402ce85037849cf31f4044bcbe7ac1
Author: Carlos Aristu <carlos.aristu <at>>
Date: Fri Jun 17 08:52:10 2016 +0200
URL: [^]

fixes issue 33208: Direct link to documents in the workspace is not working

The problem happened having a saved view with a date field as the first one of the grid. In this case the date item was firing an extra datasource call causing the bad behavior. This extra call was being performed because the date field was detecting wrongly the deletion of its content. Now an extra check is added: the empty filter is applied if the newValue is '' and also if the grid was being filtered by this field.

M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-minidaterange.js
2016-06-21 07:48   
code reviewed

tested this issue and its related ones