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
Scott Gray
dc450c1890
Fix security issue reported by Alexandre Mazari - OFBIZ-2747
...
Request parameters were being made available to surveys which in turn were sending them straight back to the browser creating an XSS vulnerability.
This isn't a true fix because I've simply disabled the functionality but at least the security hole is plugged.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826196 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 08:40:17 +00:00
Jacques Le Roux
1f4e6d6c6f
That's really what needs Person.CardId : long and unique
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826193 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 08:31:05 +00:00
Bruno Busco
884b8a685a
A patch from Raul Sieberath "Brazilian Portuguese Translations for Accounting - Part 1" ( https://issues.apache.org/jira/browse/OFBIZ-3038 ) - OFBIZ-3038
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826183 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 07:11:18 +00:00
Anil Patel
0610d70c82
Removed condition to show only invoices that have outstanding amount.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826169 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 03:00:19 +00:00
Anil Patel
85e66f54be
Removed bad form action attribute value. Now its just request name instead of full path.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826159 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 02:04:33 +00:00
Bruno Busco
96611d439d
Changed <container style="screenlet"> pattern to <screenlet...>.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826119 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 22:39:17 +00:00
Bruno Busco
12b525b77b
Changed container-based search screan with FindScreenDecorator
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826108 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 22:13:52 +00:00
Bruno Busco
bbe0252048
Changed <container style="screenlet"> pattern to <screenlet...>.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826107 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 22:11:55 +00:00
Jacques Le Roux
9a0782f597
Fighting with an issue with Chinese fonts in POS (XUI) on Windows (OK on Mac) I commit these small changes. They didn't not help but anyway it's better.
...
http://n4.nabble.com/Simplified-Chinese-characters-are-displayed-as-square-boxes-in-POS-td165505.html#a165506 helped but only for a small part of the screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825994 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 16:41:19 +00:00
Jacques Le Roux
08d0e9875c
A patch from Erwan de FERRIERES "Proposal on French translations" ( https://issues.apache.org/jira/browse/OFBIZ-2958 ) - OFBIZ-2958
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825903 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 14:13:36 +00:00
Hans Bakker
b3553196d4
reverting r 825757 according erwan it does break the login screen
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825871 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 12:58:06 +00:00
Jacques Le Roux
eab4f94dfb
Modify the Client Profile screen behavior.
...
Not having an UserLogin for parties created from the POS was not a good idea.
I will soon update the Till manual to explain how this new feature is supposed to be used, how it works and what it brings to the POS.
A the same time I will also update the Till manual for the other things introduced since its last update (2006/09/15)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825846 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 11:23:56 +00:00
Hans Bakker
80a91b2b99
password change sometimes gives a 'non authorized' error on the getLastSystemInfoNote service
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825757 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 03:59:46 +00:00
Hans Bakker
c3b3405ba0
do not add duplicate email addresses to a party
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825745 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 02:48:27 +00:00