Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0023258 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | have not tried | 2013-03-07 16:48 | 2013-03-20 12:14 | |||
Reporter | AugustoMauch | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0MP22 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 0c2cbfac108d | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | shankarb | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0023258: Allow using an attribute from the context info as default value for the parameters of the parameter windows | |||||||
Description | Right now it is not possible to use an attribute from the context info (i.e. the business partner ID from the selected record). | |||||||
Steps To Reproduce | - Create a parameter window - Add a parameter called Business Partner, and enter this in the default value field: @C_BPARTNER_ID@ - Add a button to the Order table, and associate it with the new process. - Open the Sales Order window, and press the button. The default value of the parameter should be the business partner of the order. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0057145) AugustoMauch (administrator) 2013-03-07 17:04 |
Test plan: - Test that it is possible to enter a context attribute as the default value for a parameter. It should only work when the process is launched by pushing a toolbar button in a window. When the parameter window is executed from the menĂº it will not work, but it should not crash (no errors in eclipse). |
(0057147) hgbot (developer) 2013-03-07 17:24 |
Repository: erp/devel/pi Changeset: 2be19377943b22cc4201b6786c017068cfe72fd1 Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Thu Mar 07 17:23:09 2013 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/2be19377943b22cc4201b6786c017068cfe72fd1 [^] Fixes issue 23258: Enables context attributes as default values in PW windows Now it is possible to use a context attribute as default value for a parameter in PW windows. For example, if a PW window is opened from the Sales Order window, @C_BPARTNER_ID@ can be used as a default value for a parameter, that will be initialized to the business partner of the record that was selected when the PW window was opened. --- M modules/org.openbravo.client.application/src/org/openbravo/client/application/process/DefaultsProcessActionHandler.java --- |
(0057224) hgbot (developer) 2013-03-13 11:17 |
Repository: erp/devel/pi Changeset: 0c2cbfac108ddc7b83c31d38db101ea1d7b4f5a9 Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Wed Mar 13 11:17:11 2013 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/0c2cbfac108ddc7b83c31d38db101ea1d7b4f5a9 [^] Fixes issue 23258: Adds missing client code Some client side code was missing in the changeset [1]. The missing part is the one in charge of sending the context info to the DefaulstProcessActionHandler. [1] https://code.openbravo.com/erp/devel/pi/rev/2be19377943b22cc4201b6786c017068cfe72fd1 [^] --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js --- |
(0057325) shankarb (viewer) 2013-03-20 12:14 |
Code reviewed and tested in pi changeset 6cfd12f52b4f |
![]() |
|||
Date Modified | Username | Field | Change |
2013-03-07 16:48 | AugustoMauch | New Issue | |
2013-03-07 16:48 | AugustoMauch | Assigned To | => AugustoMauch |
2013-03-07 16:48 | AugustoMauch | Modules | => Core |
2013-03-07 16:48 | AugustoMauch | OBNetwork customer | => No |
2013-03-07 16:48 | AugustoMauch | Triggers an Emergency Pack | => No |
2013-03-07 17:02 | AugustoMauch | Issue Monitored: shankarb | |
2013-03-07 17:02 | AugustoMauch | Review Assigned To | => shankarb |
2013-03-07 17:04 | AugustoMauch | Note Added: 0057145 | |
2013-03-07 17:24 | hgbot | Checkin | |
2013-03-07 17:24 | hgbot | Note Added: 0057147 | |
2013-03-07 17:24 | hgbot | Status | new => resolved |
2013-03-07 17:24 | hgbot | Resolution | open => fixed |
2013-03-07 17:24 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/2be19377943b22cc4201b6786c017068cfe72fd1 [^] |
2013-03-13 11:17 | hgbot | Checkin | |
2013-03-13 11:17 | hgbot | Note Added: 0057224 | |
2013-03-13 11:17 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/2be19377943b22cc4201b6786c017068cfe72fd1 [^] => http://code.openbravo.com/erp/devel/pi/rev/0c2cbfac108ddc7b83c31d38db101ea1d7b4f5a9 [^] |
2013-03-20 12:14 | shankarb | Note Added: 0057325 | |
2013-03-20 12:14 | shankarb | Status | resolved => closed |
2013-03-20 12:14 | shankarb | Fixed in Version | => 3.0MP22 |
Copyright © 2000 - 2009 MantisBT Group |