Commit Graph
3348 Commits
Author SHA1 Message Date
Jacopo Cappellato a38f8202aa New util method to find out if a "type" record has a given ancestor.
The method is also used to clean the code related to the two existing marketing package types (that have now in common the same parent).
This will make the framework more flexible because you will be able to create a new product subtype and the system will treat them as its parent type; then you can add custom code to treat it in the special way (if needed). This pattern can be extended in other areas of the system, starting from product types (right now it is also applied to marketing packages).
Thanks to Mridul Pathak for the patch - OFBIZ-2902

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813413 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 13:02:33 +00:00
Jacopo Cappellato 86a3dd0f8a Fixed (hopefully, after a few attempts) issue with " character messing up csv exports.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813360 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 10:40:56 +00:00
Hans Bakker 073906c5df help system now using the mapKey in ContentAssoc so its size is now limited to 100 instead of 20. Suggestion made by Scott: thanks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813311 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 08:49:30 +00:00
Jacques Le Roux a7430a2fc2 A modified patch from Erwan de FERRIERES '"Automatic" sortable table headers" (https://issues.apache.org/jira/browse/OFBIZ-2921) - OFBIZ-2921
I was planning to wait longer, but I can't wait more. I have added a lot of small trivial changes in this patch and they are blocking me to go further on other issues...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813307 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 08:41:19 +00:00
Hans Bakker 3678724587 changed the request -> helptopic=contentId name generation when the name is longer than 20 because of duplicates in the accounting component + updated some documents
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813222 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 04:14:32 +00:00
Jacques Le Roux 98ccf1ffa8 At least now we can read it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813131 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 21:51:03 +00:00
Hans Bakker 93d5874b72 disable not yet finished code, was under the impression it should not interfere with something else, reported by Jacopo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812811 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 08:08:59 +00:00
Adam Heath 0cdcfa6189 Service definitions are now wrapped with their filename and line
number, for easier debugging.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812783 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 06:15:08 +00:00
Adam Heath 3fbb02cf7f getDocument() now returns elements that contain location data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812778 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 05:57:22 +00:00
Anil Patel ae7b11c3ee Now use can see all account trans related to bank reconciliation. Patch from OFBIZ-2893.
Thanks Ratnesh for implementation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812742 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 01:21:58 +00:00
Jacques Le Roux dac7fd2208 Add some missing ASL2 headers and remove empty files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812724 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 23:29:03 +00:00
Jacques Le Roux 0504d491f3 Still some bugs in the Label Manager, still powerful too : fix some labels bugs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812709 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 22:00:05 +00:00
Jacques Le Roux 6868eb386d I'm not exactly sure why, but I had to put this test to be able to see only French labels (actually I was only looking for missing labels)
And there is always this initialisation issue which compels you to choose a file first before being able to choose all files

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812708 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 21:51:03 +00:00
Adrian Crum 74ea95889c Reverted rev 802567.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812692 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 20:56:14 +00:00
Jacques Le Roux 88b5ec32d7 Better French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812598 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 18:00:41 +00:00
Jacques Le Roux 257a5b4d59 A replacing patch from Scott 'error to parse menu with " on screelet header' (https://issues.apache.org/jira/browse/OFBIZ-2873) - OFBIZ-2873
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812540 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 15:02:16 +00:00
Jacopo Cappellato e0b0efe89f Wow, I did another error in my last commit: removed a wrong quote from my last commit; thanks again to Pranay Pandey for the report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812511 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 13:49:23 +00:00
Jacopo Cappellato 5c0d54d731 Missing quote from my last commit; thanks to Pranay Pandey for the report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812504 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 13:37:50 +00:00
Jacques Le Roux 5fb77a3d6d A part of a pathc from Carsten Schinzer "Extend webtools:LabelManager" (https://issues.apache.org/jira/browse/OFBIZ-2911) - OFBIZ-2911
This adds 3 labels counters 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812498 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 13:17:36 +00:00
Jacopo Cappellato f175fb2fae Misc fixes for html form widget rendering, including patch from Pranay Pandey OFBIZ-2910
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812485 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 12:52:03 +00:00
Jacopo Cappellato 5a48eefcc0 Fix for error happening when using a csv export with fields containing quotes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812483 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 12:46:28 +00:00
Jacques Le Roux d6bb9b998f From a patch done by Erwan at https://issues.apache.org/jira/browse/OFBIZ-2906 - OFBIZ-2906 : "Replacement of ProductCreatedBy with CommonCreatedBy"
I had to remove a conflict in ProductUiLabels.xml and also removed OrderCreatedBy but kept the German translation from OrderCreatedBy and ProductCreatedBy instead of CommonCreatedBy because it seemed more widely used. Please German speaking people check...
I don't backport as suggested Erwan as it's really not a bug!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812478 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 12:17:50 +00:00
Scott Gray 9d3a5f1a11 It's invalid to render a select element without any option elements
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812465 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 11:24:23 +00:00
Jacques Le Roux 68b9bc5de7 Adapted from Erwan's https://issues.apache.org/jira/browse/OFBIZ-2907 - OFBIZ-2907
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812456 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 10:57:44 +00:00
Scott Gray cc24956df1 validation improvement, onSubmit -> onsubmit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812454 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 10:56:13 +00:00
Scott Gray 7adc4e75cc Hidden forms don't have submits so there's no point in trying to disable them
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812421 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 09:48:45 +00:00
Scott Gray 0ae8e1da77 Fix some html validation errors
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812400 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 08:59:58 +00:00
Hans Bakker 1588004a4a unwanted change
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812338 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 04:14:13 +00:00
Hans Bakker d789d9a0ad corrections in top level documents and added placeholders for marketing component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812336 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 03:58:39 +00:00
Adam Heath b86756490a Add @Deprecated to silence javac.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812323 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 02:31:34 +00:00
Adam Heath 9e9553f1a0 Generics, enhanced-for, similiar changes to the other java 1.5
patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812320 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 02:22:05 +00:00
Adam Heath 0d2943ef0e Fix a generics warning.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812319 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 02:00:55 +00:00
Scott Gray daaecdb81b Copy/paste error, thanks Adam
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812314 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 00:49:20 +00:00
Scott Gray 838436eaf6 Add EAN validation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812313 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 00:40:57 +00:00
Jacopo Cappellato 0b0e5143d7 Fix to prevent NPE.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812120 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 13:09:47 +00:00
Hans Bakker 5a78b96a0b remove log mesage
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812027 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 07:56:13 +00:00
Jacques Le Roux b237bc0ad0 Revert r811419 at Scott's demand on dev ML (issue on Safari on Mac or Linux)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812022 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 07:31:47 +00:00
Hans Bakker e0ba7104ce create a 'set' of documents: a technical and a user guide and added more info
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812021 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 07:31:11 +00:00
Jacques Le Roux 3fedb9e5ed Some ASL2 headers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811870 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 19:54:25 +00:00
Jacques Le Roux 9078c88305 A patch from Bruno Busco "Show a larger portlet screenshot" (https://issues.apache.org/jira/browse/OFBIZ-2666) - OFBIZ-2666
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811836 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 16:43:26 +00:00
Scott Gray e86aca235a Applied a slightly modified fix from Eric de Maulde (OFBIZ-2757), the currency transform for FreeMarker was not permitting rounding to 0 decimal places
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811813 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 11:24:57 +00:00
Jacques Le Roux c69983544f A patch from Philipp Hoppen "Two bugs in UtilValidate.isDouble() and UtilValidate.isFloat()" (https://issues.apache.org/jira/browse/OFBIZ-2828) - OFBIZ-2828
I tested the Junits with and without the modifications : OK

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811793 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 10:16:08 +00:00
Hans Bakker d6a65c264a helpscreens placeholders now converted to the docbook V5 format inclusive of namespace support, updated the apache ofbiz document to explain how to create helpscreens, created an ftl template to display the docbook help screens, docbook pdf generation now almost working: it can create a local pdf file, but streaming to the browser does not work..if anybody interested to help me check modelscreenwidget.java line 1206
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811787 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 09:39:20 +00:00
Jacques Le Roux 8696a908d9 A patch from Eric DE MAULDE "Image scaling quality" (https://issues.apache.org/jira/browse/OFBIZ-2552) - OFBIZ-2552
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811707 13f79535-47bb-0310-9956-ffa450edef68
2009-09-05 20:29:43 +00:00
Scott Gray 00e1d034ea Fix a problem where empty Collections fail the field type check
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811581 13f79535-47bb-0310-9956-ffa450edef68
2009-09-05 00:56:07 +00:00
Adam Heath 8c6a2a7461 These are not executable.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811565 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 21:50:15 +00:00
Jacques Le Roux 86eecea9a7 Fix "popup window for image opens then closes immediately" (https://issues.apache.org/jira/browse/OFBIZ-2805) - OFBIZ-2805
Introduce a label in CommonUiLabels.xml

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811528 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 20:01:08 +00:00
Jacques Le Roux 6efb03a03f A patch from Ruth Hoffman "Main storefront page, Featured Products (middle column) overwrites right column. Should just crop its own column, but not overwrite right column." (https://issues.apache.org/jira/browse/OFBIZ-2602) - OFBIZ-2602
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811419 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 14:08:04 +00:00
Jacopo Cappellato 57f222bf51 Put back set operation, removed by commit 811020 (but without invalid default values, as suggested by Adrian Crum) because without them the ui is broken; part of OFBIZ-2885
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811077 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 18:38:43 +00:00
Jacques Le Roux 851b777cb5 Fix https://issues.apache.org/jira/browse/OFBIZ-2885 as suggested by Adrian - OFBIZ-2885
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811020 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 16:43:08 +00:00