Commit Graph
12781 Commits
Author SHA1 Message Date
David E. Jones a7f3eac338 Some adjustments to the services so that they will run on global-commit, or global-commit-post-run where needed; also changed the configuration so that the secas file is not commented out, but the eca ref in the ofbiz-component.xml file is, this allows add in components to mount that eca rule themselves; in general a number of bug fixes so these work again
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576816 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 10:07:57 +00:00
David E. Jones 4c02885546 Added global-commit-post-run event that gets a context after the service and eca rules run
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576815 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 10:04:50 +00:00
David E. Jones 8da94ddff4 Changed to use FlexibleLocation so that for url resource loaders in component config files you can use the component:// style url for resources in components
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576796 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 09:24:19 +00:00
David E. Jones e20f5c9379 Fixed issue where some orderIds added to this list were for non-backordered items; not sure if I like how this service works, but it cancels and re-reserves ALL reservations for the InventoryItem that has the negative ATP, no wonder it takes a while to run sometimes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576793 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 09:20:24 +00:00
Scott Gray a1b604adf6 Changed all occurances of new BigDecimal("0") to BigDecimal.ZERO and likewise for BigDecimal.ONE
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576773 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 08:30:58 +00:00
Alfred Maxwell Byers eb03dea061 RenderTemplate was not working for .ftl files that are used as templates in CMS.
The "templateLocation" value in those cases is something like "DATARESOURCE:<id>"
and that causes makeReader(...) to fail.

renderTemplateFromString(...) still checks to see if a cached template exists, but
if it doesn't and since it has the template string, it builds the template from the
"templateString" and puts it in cashe.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576766 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 08:07:29 +00:00
Alfred Maxwell Byers 48b92accf0 Added FreeMarkerWorker.getSiteParameters to render method.
This data, particularly "rootDir", is used loading FTL content templates.
I figured it could not hurt normal screen rendering.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576757 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 07:49:16 +00:00
Hans Bakker 8df7a12547 remove debug line
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576755 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 07:47:37 +00:00
Alfred Maxwell Byers 42b85a02ec writeDataResourceText was not getting rootDir correctly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576751 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 07:43:19 +00:00
Hans Bakker 97a68c3ec5 list all features of a product in the product summary and not only a specific one.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576743 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 07:23:41 +00:00
David E. Jones 1aeaa42a42 Added test of global-commit and global-rollback, also commented out the failing tests so that these will all succeed, as solutions are found for these other tests they should be added back in, those are the lock wait timeout tests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576730 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 06:46:04 +00:00
Scott Gray 2fc3bfbe26 Fix problem where if autoCreateKeywords is left blank, keywords are not reindexed when updating the product. Reported by Daniel Kunkel OFBIZ-215.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576726 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 06:36:29 +00:00
David E. Jones 8c746b64e7 Small cleanups to make intent/use more clear; everything should still work without this though
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576715 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 05:53:54 +00:00
David E. Jones 85d5f158fe refactored oagisSendProcessShipment to handle errors more reliably and use the SYS_ERROR status; also changed to not run if has already run for an order and the status is sent or gen succeeded, manual changes needed for it to go after that
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576714 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 05:53:09 +00:00
Andrew Zeneski d327438d57 implemented junit xml formatted output to test cases; new options -results=filename default file outputs to runtime/logs/test-junit.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576686 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 04:27:14 +00:00
Andrew Zeneski c239535138 changed log level to stop annoying error when running test cases
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576678 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 03:53:12 +00:00
David E. Jones a1a4271304 A small change to make it possible to attach these to a transaction other than the currently active one (like a paused one, for example)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576661 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 02:09:52 +00:00
David E. Jones 559723ad32 Changed to use BigDecimal.valueOf instead of constructor, for something closer to the expected results; thanks to Jacopo and Martin Anderson for comments on this
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576660 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 02:09:09 +00:00
Jacopo Cappellato 453cf60873 New screen to lookup customer by name (first/last name or partyGroup).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576594 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 21:41:15 +00:00
Adrian Crum 7ec7c59abb Missed a file in last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576583 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 20:48:55 +00:00
Adrian Crum 603d0269ab More Asset Maint permissions work, plus some screen widget code cleanup.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576581 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 20:43:47 +00:00
Jacopo Cappellato d8b5430886 Added HUMANRES to base permissions: in this way the HR tab will not be visible for the users with no HUMANRES* permissions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576427 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 13:35:21 +00:00
Jacopo Cappellato b7de814348 Formatting fix: tabs to spaces.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576425 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 13:33:36 +00:00
Jacopo Cappellato ef3548f094 Fix for wrong description.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576421 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 13:29:12 +00:00
Jacopo Cappellato 9b4d5203fd Added WORKEFFORT_ROLE_DELETE permission and updated descriptions for _ROLE_ permissions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576420 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 13:28:40 +00:00
Scott Gray c501041f58 Applied patch from myself based on comments from David E Jones in an issue reported by Pham Hoai Van OFBIZ-152, Removed the boolean keepLocalReaders and any references to it since the false setting is no longer supported.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576331 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 09:47:50 +00:00
Scott Gray c2218ce5bd Applied patch from Vinay Agarwal OFBIZ-102, "cross-redirect" wasn't being stripped from the url.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576328 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 09:34:06 +00:00
Scott Gray 05432d31b3 typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576324 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 09:23:32 +00:00
Scott Gray f642c192af Removed the following deprecated double methods and renamed their BigDecimal equivalents:
getAllOrderItemsAdjustmentsTotal
calcItemAdjustments
calcItemAdjustment
getReturnAdjustmentTotal

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576302 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 08:36:08 +00:00
Scott Gray f9a57323a4 Removed the following deprecated double methods and renamed their BigDecimal equivalents:
getOrderItemAdjustmentTotal
getOrderItemQuantity
calcOrderAdjustments
calcOrderAdjustment
getWorkEffortRentalQuantity

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576291 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 08:10:26 +00:00
Scott Gray 0fa834b8bc Removed the following deprecated double methods and renamed their BigDecimal equivalents:
getOrderItemsTotal
getOrderItemTotal
getOrderItemTax
getOrderItemShipping
getOrderItemAdjustmentsTotal

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576289 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 07:50:25 +00:00
Scott Gray ae4f604eda Removed the following deprecated double methods and renamed their BigDecimal equivalents:
getItemPendingShipmentQuantity
getTotalOrderItemsQuantity
getTotalOrderItemsOrderedQuantity
getOrderItemsSubTotal
getOrderItemSubTotal

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576285 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 07:16:05 +00:00
Jacopo Cappellato 34b34720ca Removed unnecessary position attributes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576275 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 06:49:22 +00:00
Scott Gray 7b2a63a90d Removed deprecated getItemBackorderedQuantity() and renamed getItemBackorderedQuantityBd()
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576269 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 06:25:35 +00:00
Scott Gray 70889079af Removed deprecated getItemReservedQuantity() and renamed getItemReservedQuantityBd()
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576268 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 06:22:39 +00:00
Anil Patel f583ef3c5b Menu items for upcoming financial reports.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576264 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 06:15:06 +00:00
Anil Patel c000316090 Starting to build shortcuts menu for frequently used actions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576250 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 04:27:03 +00:00
Anil Patel 1e266468bd fixed position of organizationPartyId field in CreateIncomingBillingAccountPayment form.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576246 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 03:21:10 +00:00
Jacques Le Roux 6f1e8ee881 Deleted for now, we may create an ide directory as Adrian suggested or use a downloadable external file (or similar) as Jacopo suggested (which gave a lot of ideas to Jonathon, which is not surprising and great)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576110 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 14:18:48 +00:00
Jacopo Cappellato 0a8defabda In billing account->invoices screen, the link to capture a payment is now only shown for open invoices.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576060 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 08:08:36 +00:00
Anil Patel 9765975143 Added a field for quick add Bill-to PartyId while creating BillingAccount.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576053 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 06:51:01 +00:00
Scott Gray c5841f3956 Removed deprecated getItemShippedQuantity() and renamed getItemShippedQuantityBd()
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576041 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 06:20:34 +00:00
Scott Gray 0c1f48d5f0 Removed deprecated getOrderBackorderQuantity() and renamed getOrderBackorderQuantityBd()
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576039 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 06:14:02 +00:00
Scott Gray 38bf4b7cc7 Removed deprecated getOrderNonReturnedTaxAndShipping() and renamed getOrderNonReturnedTaxAndShippingBd()
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576036 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 05:42:00 +00:00
Scott Gray 7eae2a440e Removed deprecated getOrderReturnedTotal() and renamed getOrderReturnedTotalBd()
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576035 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 05:37:06 +00:00
Scott Gray d7bca42c82 Removed deprecated getOrderReturnedQuantity() and renamed getOrderReturnedQuantityBd()
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576034 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 05:25:01 +00:00
Scott Gray 2b7c77a9c5 Removed deprecated getOrderAdjustmentTotal() and renamed getOrderAdjustmentTotalBd()
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576033 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 05:21:20 +00:00
Anil Patel 6a3cc0c6cf No functional change. Changed looks of Summary screen to look similar to Order Summary screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576026 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 03:05:48 +00:00
Anil Patel 6be67a56d0 Code patch by Eriks Dobelis with some modifications based on comments on Jira issues https://issues.apache.org/jira/browse/OFBIZ-434
Eriks 
Thanks for your patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576020 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 01:32:28 +00:00
Scott Gray 745324c8bf Removed deprecated getOrderAdjustmentsTotal() and renamed getOrderAdjustmentsTotalBd()
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576018 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 01:24:56 +00:00