Jacques Le Roux
cb428ed5c2
New createUpdatePartyPostalAddress service, works like createUpdatePartyTelecomNumber
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900988 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 22:37:13 +00:00
Scott Gray
659715eb68
Test case for InvoiceWorker.getInvoiceTotal(GenericValue)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900951 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 20:51:44 +00:00
Jacques Le Roux
7e1e785844
A patch from Sascha Rodekamp "THanks" ( https://issues.apache.org/jira/browse/OFBIZ-3374 ) - OFBIZ-3374
...
A great enhancement IMO (like the calendar some time ago)
The idea came from http://cwiki.apache.org/confluence/display/OFBADMIN/New+Features+Roadmap+-+Living+Document#NewFeaturesRoadmap-LivingDocument-Quickeranintuitiveaccesstobasicfunctionnalities
which can be summarized to <<having lookups poping up as fast as the calendar>>. Lookups open in a page layer instead of a separate windows, faster!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900950 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 20:48:13 +00:00
Adrian Crum
221df76567
Small fixup for previous commit plus additional documentation.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900839 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 16:47:34 +00:00
Jacopo Cappellato
81990aea5d
Another step in the implementation of automatic transactions for fixed assets: implemented screen to setup global mappings for a specific asset
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900792 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 14:31:49 +00:00
Ashish Vijaywargiya
b927ec9c73
Applied patch from jira issue OFBIZ-3417 - Add support for iterating shopping cart item in ShowCart.groovy.
...
Thanks Arpit & Vivek for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900760 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 13:06:46 +00:00
Jacopo Cappellato
8c4dd5cb6e
First step in the implementation of automatic transactions for fixed assets:
...
* new entity to setup account mappings for all assets, by asset type or for a specific asset
* screen to setup mappings for a specific asset
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900727 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 11:24:34 +00:00
Adrian Crum
e3b9a60e28
A lot more work on the temporal expressions. The previous implementation would handle simple expressions just fine, but complicated expressions didn't work. I also added a pretty printer class.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900662 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 05:57:10 +00:00
Scott Gray
5d8c3aa5f6
Fixed bug reported by Wickersheimer Jeremy, OFBIZ-3302. Because the testEntityListIterator test depends on the correct ordering of the find results, explicity specify the correct order rather than depending on the database to get it right.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900511 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 18:53:50 +00:00
Scott Gray
6509797896
Removed or commented all references to the commonext component from the framework, this may will break some things but the dependency should never have been introduced in the first place and needs to be fixed. Inspired by OFBIZ-3329 but I don't believe it resolves that issue.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900497 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 18:27:35 +00:00
Scott Gray
a5bcb7132a
Applied patch from Aswath Satrasala, OFBIZ-3335. Added support for passing a currency value to PayPal's Website Payments Standard interface.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900490 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 18:12:50 +00:00
Scott Gray
a467469eec
Corrected call to UtilCache constructor, broken since most constructors were removed some time ago. Reported by Sam Hamilton, OFBIZ-3341
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900455 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 16:47:04 +00:00
Hans Bakker
ccabbc1a93
add ebay store maintenance screens:
...
- function Add ofbiz categories in ofbiz store to eBay categories also add new items in every categories to eBay categories.
- Add field 'apiServerUrl' to EbayConfig entity and add ebay sdk lib to ebay component.
- function load data ebay store setting (basic information,theme etc.) from ebaystore
- function create new account for add your ebay account which is already registered on ebay site (using for access to your ebay store)
- Screen for show your ebay profile
- help files for ebay store functions
using the Ebay api
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900410 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 14:36:16 +00:00
Jacopo Cappellato
774a349970
Removed unused and invalid entity: depreciation methods are maintained in the CustomMethod entity.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900394 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 13:48:45 +00:00
Ashish Vijaywargiya
930445cb36
Applied patch from jira issue OFBIZ-3415 - All json request should handled thru CommonEvents.jsonResponseFromRequestAttributes in ecommerce.
...
Thanks Rishi for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900371 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 12:41:50 +00:00
Jacopo Cappellato
6d215a87db
Improved error handling of fixed asset depreciation algorithm in the "Depreciation" tab.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900329 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 10:24:07 +00:00
Bilgin Ismet Ibryam
dd5f38fc62
Fix NPE in updatePartyGroup service, when statusId is not passed in.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900328 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 10:22:04 +00:00
Hans Bakker
565cc8fe82
reverting 900298: wrong version of files, correction will follow, sorry for the inconveniance
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900321 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 09:58:26 +00:00
Bilgin Ismet Ibryam
6e3d5aa46a
Create new contactMechId only if there is not one.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900312 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 09:09:18 +00:00
Hans Bakker
2481af703e
add a storemaintenance option to the ebay component using the Ebay Api
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900298 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 08:22:00 +00:00
Adrian Crum
6231c1a3bd
Minor fixup and JavaDoc fixes for temporal expressions. No functional change.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900273 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 03:40:01 +00:00
Adrian Crum
377eecc699
Added a Substitution temporal expression. This solves Martin Fowler's conundrum - how to supply a substitute date for an excluded date.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900217 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 20:57:19 +00:00
Bruno Busco
eecf528cd6
Added a new "PortalPageScreen" common screen. This can be used to include a portalPage wherever needed (showPortalPage.ftl shouldn't be directly used anymore). The screen needs only the portalPageId input parameter.
...
Used this new "PortalPageScreen" screen in place of all showPortalPage.ftl includes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900156 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 15:15:14 +00:00
Adrian Crum
a71bb71e0b
Reorganized code in TemporalExpressions.java. No functional change.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900050 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 03:13:19 +00:00
Adrian Crum
ebb1ed0a37
Small fixup for last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900026 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 21:09:53 +00:00
Adrian Crum
2af56291a0
Temporal Expression bug fixes.
...
Internationalization note: this commit contains new UI labels.
Deprecated the time of day expression - it was a bad design. Replaced it with separate hour and minute expressions.
Fixed the createTemporalExpression service. It wouldn't allow user-specified expression IDs.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900024 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 20:59:37 +00:00
Erwan de Ferrieres
5500881d9d
Adding and correcting some French uiLabels
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899996 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 17:15:29 +00:00
Erwan de Ferrieres
d3cee1d4ff
A patch from Carsten Schinzer : WebTools Labels - DE Translation of latest trunk version
...
(https://issues.apache.org/jira/browse/OFBIZ-3412 )
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899990 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 17:00:50 +00:00
Ashish Vijaywargiya
7b96db4af9
Typo California*.
...
Thanks Rishi for providing the fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899912 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 09:14:34 +00:00
Bruno Busco
11c1256111
Added a "create" class to the buttontext for buttons that represents "Create New" operations.
...
This allows themes to style these buttons with additional "+" icons or whatever.
The idea is to add a "functional" class wherever needed so that the button-bar can be styled better by the theme.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899899 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 08:19:35 +00:00
Bruno Busco
61c53fc231
Added a specific class for the "Displaying..." text in the renderNextPrev macro.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899898 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 08:11:12 +00:00
Scott Gray
c11ca23cd3
Added generics markup
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899861 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 01:02:18 +00:00
Scott Gray
8017ea705e
Applied partial patch from Bob Morley (OFBIZ-3371), removed currencyUomId condition from FinAccountTransSum lookup (the view doesn't have a currencyUomId field)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899860 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 01:02:07 +00:00
Scott Gray
ce43168d21
Fix from Ruth Hoffman (OFBIZ-3376), prevent NPEs when invoking the RomeEventHandler
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899855 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 00:43:43 +00:00
Adam Heath
f8bf4ce687
Allow frontends to store completely arbitrary helper attributes for each
...
ship group.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899854 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 00:43:34 +00:00
Adrian Crum
49ab6dd233
The start of some code cleanup and bug fixing in Temporal Expressions. Added a simplified constructor to the range expressions.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899833 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 22:26:04 +00:00
Scott Gray
89e146c0b2
Allow byte[] and ByteBuffer to be used to set a Blob typed GenericEntity fields without warnings
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899825 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 21:43:56 +00:00
Scott Gray
b8abee939f
Add converters to/from ByteBuffer and byte[]
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899824 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 21:43:42 +00:00
David E. Jones
e2f777a52b
Fixed bug with form widget and the use-when attribute on fields which caused the header cell to be rendered but no cells would be rendered on certain rows causing the columns to not be aligned; now the cell is rendered, but nothing in it
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899815 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 21:19:21 +00:00
Adam Heath
b17eb127ec
Fix trailing whitespace, and mixed tab/space at the beginning of lines.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899812 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 21:00:23 +00:00
Scott Gray
123c06717f
Removed recurrence info checking when reloading crashed jobs, fixes OFBIZ-2974. I can't see any reason why a crashed job would already have been rescheduled considering that only happens when a job completes or fails.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899716 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 17:07:06 +00:00
Scott Gray
0d33c0b520
When reloading crashed jobs, only check for jobs with a SERVICE_RUNNING status, pending and queued jobs will get picked up by the next poll so there is no need to reload them.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899715 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 17:07:00 +00:00
Jacopo Cappellato
8c8cc267a6
Based on feedback from Adam Heath and Adrian Crum, the loop operation now breaks the execution of the method if the count variable is negative.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899689 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 16:33:51 +00:00
Jacopo Cappellato
2274fd1504
When accounting transactions for depreciation of a fixed asset are posted to the GL, the total depreciation amount is updated in the corresponding FixedAsset entity.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899603 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 11:52:24 +00:00
Ashish Vijaywargiya
bf9ef3db28
It may happen that someone doesn't setup Visual theme data for ecommerce application. So allowing empty value in the select box would be fine IMO.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899571 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 09:33:06 +00:00
Erwan de Ferrieres
595517b3bf
JIRA-3381 : Update of the geolocation screen in party ( https://issues.apache.org/jira/browse/OFBIZ-3381 )
...
The geoChart screen is now used for all the geolocalization calls.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899560 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 08:28:51 +00:00
Jacopo Cappellato
aabb21bb83
Based on suggestion by Adam Heath, the warning message is logged only if the count is negative; if the count is zero the next for loop will be skipped and the method will return true as well, but without warning message.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899557 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 08:14:39 +00:00
Andrew Zeneski
40f3732d82
added UomGroup entity; fixed bad relationship ID on workeffort purpose type
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899365 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 19:24:32 +00:00
Andrew Zeneski
ef9159db62
added parentId to WorkEffortPurposeType for grouping
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899360 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 19:14:32 +00:00
Jacques Le Roux
d0e9a7a34f
A patch from Chris Snow "build.xml run-install-readers error" ( https://issues.apache.org/jira/browse/OFBIZ-3410 ) - OFBIZ-3410
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899188 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 13:18:49 +00:00