Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0033343Openbravo ERPA. Platformpublic2016-06-23 17:322016-08-11 18:40
JONHM 
caristu 
highmajoralways
closedfixed 
5
 
3.0PR16Q43.0PR16Q4 
alostale
Core
No
0033343: Read Only Logic for pick and execute grid parameters based on auxiliary inputs defined in the parent window doesn't work
Read Only Logic for pick and execute grid parameters based on auxiliary inputs defined in the parent window doesn't work.
1) Create a simple auxiliary input for the Purchase Invoice header
(name: FILTER_auxiliary, validation code: Y)

2) Apply that auxiliary input to a column included into a Pick&Execute window
(Table: aprm_orderinvoice -> column: amount -> Read Only Logic: @FILTER_auxiliary@='Y')

3) Then navigate to "Purchase Invoice" window, create a new record and complete it

4) Click "Add Payment" button and click into "amount" grid column

The column is editable, the read only logic is not applied
No tags attached.
related to feature request 0033358 new Triage Platform Base Read Only Logic for pick and execute grid parameters based on auxiliar inputs defined for the pick and edit does not work 
related to defect 0033436 acknowledged Triage Platform Base Field in parent tab cannot be used in display logic 
diff issue33343.diff (1,133) 2016-06-24 08:10
https://issues.openbravo.com/file_download.php?file_id=9575&type=bug
Issue History
2016-06-23 17:32JONHMNew Issue
2016-06-23 17:32JONHMAssigned To => caristu
2016-06-23 17:32JONHMModules => Core
2016-06-23 17:32JONHMResolution time => 1469052000
2016-06-23 17:32JONHMTriggers an Emergency Pack => No
2016-06-23 17:37caristuStatusnew => acknowledged
2016-06-23 17:37caristuTarget Version => 3.0PR16Q4
2016-06-23 17:41caristuStatusacknowledged => scheduled
2016-06-23 17:41caristuSummaryRead Only Logic doesn't work on pick and execute windows => Read Only Logic based on Auxiliary Inputs doesn't work on pick and execute windows
2016-06-23 17:41caristuDescription Updatedbug_revision_view_page.php?rev_id=12472#r12472
2016-06-23 17:43JONHMSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=12474#r12474
2016-06-23 18:06caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=12475#r12475
2016-06-24 08:10caristuFile Added: issue33343.diff
2016-06-24 08:14caristuNote Added: 0087865
2016-06-27 08:55caristuSummaryRead Only Logic based on Auxiliary Inputs doesn't work on pick and execute windows => Read Only Logic for pick and execute grid parameters based on auxiliary inputs defined in the parent doesn't work
2016-06-27 08:55caristuDescription Updatedbug_revision_view_page.php?rev_id=12516#r12516
2016-06-27 08:55caristuSummaryRead Only Logic for pick and execute grid parameters based on auxiliary inputs defined in the parent doesn't work => Read Only Logic for pick and execute grid parameters based on auxiliary inputs defined in the parent window doesn't work
2016-06-27 09:00caristuRelationship addedrelated to 0033358
2016-07-11 10:39hgbotCheckin
2016-07-11 10:39hgbotNote Added: 0088358
2016-07-11 10:39hgbotStatusscheduled => resolved
2016-07-11 10:39hgbotResolutionopen => fixed
2016-07-11 10:39hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/429e7e4d6c9356560ceed46930dad27b972eba62 [^]
2016-07-11 10:39alostaleReview Assigned To => alostale
2016-07-11 10:39alostaleNote Added: 0088359
2016-07-11 10:39alostaleStatusresolved => closed
2016-07-11 10:39alostaleFixed in Version => 3.0PR16Q4
2016-07-11 10:40alostaleRelationship addedrelated to 0033436
2016-08-11 18:40hudsonbotCheckin
2016-08-11 18:40hudsonbotNote Added: 0089007

Notes
(0087865)
caristu   
2016-06-24 08:14   
Attached patch with the fix, it will be pushed in pi to be included from 3.0PR16Q4
(0088358)
hgbot   
2016-07-11 10:39   
Repository: erp/devel/pi
Changeset: 429e7e4d6c9356560ceed46930dad27b972eba62
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Thu Jun 23 18:31:34 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/429e7e4d6c9356560ceed46930dad27b972eba62 [^]

fixes issue 33343: read only logic in P&E param based on aux input doesn't work

  Fixed by getting context info with setting properties param.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---
(0088359)
alostale   
2016-07-11 10:39   
code reviewed + tested
(0089007)
hudsonbot   
2016-08-11 18:40   
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/edaa05b1fb18 [^]
Maturity status: Test