Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018329Openbravo ERPA. Platformpublic2011-08-19 14:592011-09-01 18:04
egoitz 
marvintm 
urgentmajoralways
closedfixed 
5
3.0MP2 
3.0MP33.0MP3 
Core
No
0018329: It is not possible to assing values on the callout to output fields of a selector.
If you try to fill the output fields of a selector from a callout, you are not able to do that because the element does not exist.
-Add a new field on the sales invoice lines tab.
-Create a callout on that field in order to fill the product field and the outuput fields of the selector used on that product.
The FormInitializationComponent only takes into account values of fields and auxiliar inputs.
That component should also manage output fields from selectos as hidden-inputs.
No tags attached.
Issue History
2011-08-19 14:59egoitzNew Issue
2011-08-19 14:59egoitzAssigned To => marvintm
2011-08-19 14:59egoitzModules => Core
2011-08-30 17:50hgbotCheckin
2011-08-30 17:50hgbotNote Added: 0040559
2011-08-30 17:50hgbotStatusnew => resolved
2011-08-30 17:50hgbotResolutionopen => fixed
2011-08-30 17:50hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/339363457926d96ab569da45249641d318d2c0ca [^]
2011-08-31 17:20hudsonbotCheckin
2011-08-31 17:20hudsonbotNote Added: 0040635
2011-09-01 18:04rafademiguelStatusresolved => closed
2011-09-01 18:04rafademiguelFixed in Version => 3.0MP3

Notes
(0040559)
hgbot   
2011-08-30 17:50   
Repository: erp/devel/pi
Changeset: 339363457926d96ab569da45249641d318d2c0ca
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Aug 30 17:49:17 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/339363457926d96ab569da45249641d318d2c0ca [^]

Fixed issue 18329. Output fields can now be assigned by callouts. The following changes have been made:
- In the FIC, a new list of hidden fields is maintained. This list is filled with every response item produced by a callout which starts by 'inp', and doesn't correspond to a column name, or auxiliary input name. These items are written to the request so that subsequent callouts can use them.
- In the client, in the processFICRequest method, this list will be read, and its values will be set in the hiddenInputs object of the form.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
---
(0040635)
hudsonbot   
2011-08-31 17:20   
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/f184d98cb917 [^]

Maturity status: Test