Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0023258
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2013-03-07 16:482013-03-20 12:14
ReporterAugustoMauchView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version3.0MP22
StatusclosedFix in branchFixed in SCM revision0c2cbfac108d
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toshankarb
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0023258: Allow using an attribute from the context info as default value for the parameters of the parameter windows

DescriptionRight 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0057145)
AugustoMauch (manager)
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 (reporter)
2013-03-20 12:14

Code reviewed and tested in pi changeset 6cfd12f52b4f

- 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 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
Powered by Mantis Bugtracker