Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0023258 | Openbravo ERP | A. Platform | public | 2013-03-07 16:48 | 2013-03-20 12:14 |
|
Reporter | AugustoMauch | |
Assigned To | AugustoMauch | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0MP22 | |
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. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
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 |
Notes |
|
|
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
|
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
|
2013-03-13 11:17
|
|
|
|
(0057325)
|
shankarb
|
2013-03-20 12:14
|
|
Code reviewed and tested in pi changeset 6cfd12f52b4f |
|