Jacques Le Roux
6baf037be2
A patch from Erwan de FERRIERES "Internationalization of the "Last system notes" function" ( https://issues.apache.org/jira/browse/OFBIZ-3058 ) - OFBIZ-3058
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826614 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 09:03:15 +00:00
Hans Bakker
ae7f709875
cleanup the help template file
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826605 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 08:30:38 +00:00
Hans Bakker
8a1913f735
patch from Pierre Smits to add mre dutch labels
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826585 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 05:43:17 +00:00
Adrian Crum
ee41966b3c
Restore screenlet h2 padding in flatgray theme.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826547 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 22:44:07 +00:00
Jacques Le Roux
23b7bcecf4
Following conventions on static variable names
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826517 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 20:32:05 +00:00
Jacques Le Roux
f55a88669d
A patch from Bruno Busco "Moving from container-based screenlets to widgets" ( https://issues.apache.org/jira/browse/OFBIZ-3050 ) - OFBIZ-3050
...
Bruno : I have completed the change in ALL ofbiz XML files. In the attached path I included the BI files that I cannot commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826513 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 20:11:57 +00:00
Bruno Busco
a9c26eb1c1
Changed <container style="screenlet"> pattern to <screenlet...>.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826483 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 18:24:32 +00:00
Bruno Busco
1d9b09eaab
Changed <container style="screenlet"> pattern to <screenlet...>.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826473 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 17:37:47 +00:00
Bruno Busco
c2f42ae10e
Changed <container style="screenlet"> pattern to <screenlet...>.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826472 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 17:37:00 +00:00
Adrian Crum
6281f15b38
Improved screenlet-body handling, patch from Bruno Busco - https://issues.apache.org/jira/browse/OFBIZ-3012 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826469 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 17:09:37 +00:00
Bruno Busco
b015b789ff
Changed <container style="screenlet"> pattern to <screenlet...>.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826451 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 14:39:33 +00:00
Bruno Busco
491a48c33c
Changed <container style="screenlet"> pattern to <screenlet...>.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826450 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 14:38:51 +00:00
Bruno Busco
f4829840f2
Changed <container style="screenlet"> pattern to <screenlet...>.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826449 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 14:37:45 +00:00
Jacques Le Roux
20a3ba3f33
A patch from Bruno Busco "The screenlet Global decorator is not needed any more" ( https://issues.apache.org/jira/browse/OFBIZ-3048 ) - OFBIZ-3048
...
In the attached patch I just removed the "screenlet" global decorator that is not used any more since we have now the screenlet widget.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826437 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 13:42:51 +00:00
Jacques Le Roux
c28b2bf0ca
A patch from Pradeep Ruhil "HR Leave Enhancement " ( https://issues.apache.org/jira/browse/OFBIZ-2938 ) - OFBIZ-2938
...
In this patch we are doing enhancement in HumanResource Leave Module. Initially we can only create new leave application for a partyId. But there was not functionality available for approval of leave. So in this patch we have given functionality for Leave approval as well as leave creation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826429 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 13:15:59 +00:00
Jacques Le Roux
2361bd6cb2
A patch from Erwan de FERRIERES "generate a html report when running ant run-tests" ( https://issues.apache.org/jira/browse/OFBIZ-3040 ) - OFBIZ-3040
...
When you run the "ant run-tests" command, junit is generating xml files, which are not always easily readable. There is a function with junitreport which allow to generate html reports from the xml ones. Then it is more user friendly to watch them.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826428 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 13:07:09 +00:00
Jacques Le Roux
2aae4156ec
Fix a typo
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826410 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 11:29:25 +00:00
Jacques Le Roux
4e8ee167a7
Help data for Human resources. Work in progress : Introduction, Main page and Training
...
Training page done from Simranjeet Singh's "Trng Write Up.txt" file and comments in https://issues.apache.org/jira/browse/OFBIZ-2531
I used Oxygen DocBook editor and notably itemizedlist and orderedlist but it's not rendered in OFBiz help (all the contents under these tags are hidden).
Also when using help button in HR application it does not open the corresponding help pages. I'm obviously missing something here but I run out of time.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826406 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 10:43:27 +00:00
Bruno Busco
15e9f46584
Changed <container style="screenlet"> pattern to <screenlet...>.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826379 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 09:16:40 +00:00
Bruno Busco
37c9cf8d0a
Changed <container style="screenlet"> pattern to <screenlet...>.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826372 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 08:03:48 +00:00
Bruno Busco
ff494c3d04
A patch from Luís Alfredo Harriss Maranesi "Brazilian Portuguese Translation for Party - Part 1" ( https://issues.apache.org/jira/browse/OFBIZ-3047 ) - OFBIZ-3047
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826371 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 07:49:30 +00:00
Scott Gray
b7610cf14a
Better lookup for AcctgTranEntries related to the test in hand, allows the test to pass
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826351 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 02:46:03 +00:00
Scott Gray
2ca6d08602
Add some missing demo shipment data
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826348 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 02:30:00 +00:00
Scott Gray
1948530a75
Don't require unitCost in updateIssuanceShipmentAndPoOnReceiveInventory, because the service is only used by receiveInventoryProduct (as a seca) which doesn't require it
...
(Found via unit tests)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826334 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 01:42:29 +00:00
Scott Gray
aa6d7bcd67
Catch ClassCastExceptions in <store-value/> operations, these will occur if you have a null GenericValue (perhaps from a lookup that returned no results), set some fields on it and then try to store it. What you actually have at that point is a FastMap created when you set the fields.
...
Also added use of the utility MethodContext.setErrorReturn(String, SimpleMethod) rather than manually adding errors to the environment context.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826322 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 00:34:29 +00:00
Scott Gray
7507a2663e
Removed a commented test case for which the class didn't exist, add two missing cases
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826316 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 22:24:55 +00:00
Scott Gray
ad555fc4b0
Fixed testCreateShipmentRouteSegement to look up it's shipment based on demo data rather than relying on the sequenced shipmentId.
...
All facility tests now pass.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826314 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 22:14:35 +00:00
Jacques Le Roux
c6c27c59e4
This was working, because of the way logical font names works in Java.
...
But could lead to ambiguities letting the wrong file name in xpos.properties.
Anyway symmetry is beautiful, in code as in other places.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826304 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 20:35:02 +00:00
Jacques Le Roux
8655543761
Actually there was no AWT bug. This is fixed in XuiContainer.java.
...
Note that this works but not the 1st time.
Because it dynamically changes the xpos.properties file but XUI has to load it.
I tried using setPropertyValueInMemory, that I introduced recently for dynamic password changes, but it did not work. I guess XUI would have to reload it, but did not try this way... yet...
So if you want it to work from the start, as for the Language parameter, you have to set it in xpos.properties by hand before launching the OFBiz-POS
Anyway I will rewrite a complete documentation about that and other things.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826303 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 20:10:34 +00:00
Bruno Busco
fc2673cbfb
A little start for Italian translation of the Online help content
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826288 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 18:16:30 +00:00
Bruno Busco
80de09aa48
Fixed the H1 rendering both in normal screens and in help screens
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826287 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 18:14:08 +00:00
Bruno Busco
6f91e47fbe
Changed <container style="screenlet"> pattern to <screenlet...>.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826279 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 16:54:35 +00:00
Bruno Busco
558b5c3f11
Changed <container style="screenlet"> pattern to <screenlet...>.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826275 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 16:01:42 +00:00
Bruno Busco
b14d76dcf1
Changed <container style="screenlet"> pattern to <screenlet...>.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826274 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 16:01:07 +00:00
Jacques Le Roux
956fe425dc
A patch from Matthieu Bollot "EditPersonTrainings has been deleted since r802308" ( https://issues.apache.org/jira/browse/OFBIZ-3046 ) - OFBIZ-3046
...
EditPersonTrainings screen has been deleted from humanres/widget/PersonTrainingScreens.xml. This remove any references to FindTrainings and EditPersonTrainings
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826272 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 15:15:55 +00:00
Bruno Busco
87a421db00
Changed <container style="screenlet"> pattern to <screenlet...>.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826270 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 15:14:14 +00:00
Bruno Busco
c30c24b95c
Changed <container style="screenlet"> pattern to <screenlet...>.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826269 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 15:11:32 +00:00
Bruno Busco
30fca88fd0
Changed <container style="screenlet"> pattern to <screenlet...>.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826267 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 15:08:23 +00:00
Jacques Le Roux
89697da742
merged by hand from Simranjeet Singh's HR_Training_improvements.patch in " Enhancements in Trainings under HR module" ( https://issues.apache.org/jira/browse/OFBIZ-2531 ) - OFBIZ-2531
...
Please see this issue for more, it's enough complicated as is...
In one word this patch was waiting comments for near a month and https://issues.apache.org/jira/browse/OFBIZ-3046 decided me to act!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826266 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 15:05:32 +00:00
Jacques Le Roux
c9039cb2eb
Fix an issue with Chinese font in POS
...
AWT bug reported at http://n4.nabble.com/Simplified-Chinese-characters-are-displayed-as-square-boxes-in-POS-td165505.html#a165506
More to come as this fix only the operator's part of the screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826253 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 13:54:48 +00:00
Jacques Le Roux
52f2e7547d
Forgot 800x600 side
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826251 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 13:46:14 +00:00
Jacques Le Roux
cb76577cae
Fix some party error labels and create a new error dialog box in POS with larger size and smaller font size (style) inside to allow long error messages to be viewed.
...
Use it in PosTransaction.java for Person creation and update (cardId is unique)
Fix some typos here and there
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826248 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 13:43:27 +00:00
Scott Gray
4493e9d3fc
third time lucky, corrected location path
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826235 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 11:33:37 +00:00
Scott Gray
916f959c9c
Missed changing the location file name
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826226 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 11:11:19 +00:00
Scott Gray
4f640fddbb
Moved a shipment test definition out of the product tests def and into the shipments.
...
Also moved the test itself out of ShipmentServices.xml and into ShipmentTests.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826220 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 10:37:32 +00:00
Scott Gray
ec77643ba7
Removed "Services" from the simple method test script file names, they aren't service implementations.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826219 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 10:21:03 +00:00
Jacques Le Roux
9ddaeed98b
Oops, forgot unique
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826216 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 10:06:34 +00:00
Scott Gray
2963c58a36
Prevent an NPE when a primaryOrderId hasn't been supplied, also set partyIdFrom using the facility.ownerPartyId in this situation.
...
(This bug was exposed using the unit tests)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826206 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 09:38:02 +00:00
Bruno Busco
40a72014a1
A patch from Patrick Antivackis "Addind Error Pages (404 - 410) possibilities for the Content app" ( https://issues.apache.org/jira/browse/OFBIZ-3022 ) - OFBIZ-3022
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826205 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 09:12:39 +00:00
Bruno Busco
a458f0617c
Changed <container style="screenlet"> pattern to <screenlet...>.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826204 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 09:07:19 +00:00