Commit Graph
9641 Commits
Author SHA1 Message Date
Adrian Crum b91ca87911 UtilProperties bug fix and enhancements.
This commit fixes the bug reported in https://issues.apache.org/jira/browse/OFBIZ-1488 and it includes a few of the improvements mentioned in https://issues.apache.org/jira/browse/OFBIZ-1485. This commit also lays the groundwork for improved properties file support in the future.

This commit contains a new xsd file - it needs to be included on the apache ofbiz website. XML properties files will generate console error messages until it is.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603024 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 20:04:01 +00:00
Si Chen 53011c16ec Prevent prefs with refunded status from being canceled when doing a partial cancel on an OrderItem.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602999 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 19:13:14 +00:00
Si Chen 952c6cc6d6 Add payment refunded status for order payment prefs. Mark refunded prefs with this status, which fixes a bug where system would attempt to release them if the order was cancelled. This also displays that the pref is a Refund on orderview, which is more sensible than displaying 'Settled'.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602998 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 19:12:16 +00:00
Si Chen 31cba9db3b Fix bug where PaymentGatewayServices.releaseOrderPayments attempts to release a settled credit card payment. It should only be releasing authorized CC payments.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602997 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 19:10:03 +00:00
Hans Bakker 37b1650380 missing currency field required for giftcard processing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602859 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 10:50:25 +00:00
Jacopo Cappellato bcac45ecfb Enhanced the account type/id mapping service to support the upcoming posting services for payment, payment applications and invoices.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602841 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 10:20:07 +00:00
Hans Bakker 66fd07b20b projectId lost after call to createWorkEffort to create a project
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602654 13f79535-47bb-0310-9956-ffa450edef68
2007-12-09 09:19:53 +00:00
Hans Bakker 7676ad0758 rewritten timesheet maintenance screens to allow the weekly input to tasks of projects the login ID is member of.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602651 13f79535-47bb-0310-9956-ffa450edef68
2007-12-09 08:06:00 +00:00
Hans Bakker 7451815b62 show number of days between timestamps and add a day to a timestamp. I realize this is perhaps not the best method, but it works. If somebody has suggestions to do it better, pleae let me now, i will change it....
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602650 13f79535-47bb-0310-9956-ffa450edef68
2007-12-09 07:58:41 +00:00
Jacopo Cappellato 7819f6ea9d Implemented new wrapper service and refactored the quick return creation to use it: in this way the creation of the return header and the creation of the items and adjustments are all in the same atomic transaction. No header is created if the creation of the items/adjustments fails.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602649 13f79535-47bb-0310-9956-ffa450edef68
2007-12-09 07:57:07 +00:00
Jacques Le Roux d81e21d5e2 A patch from Fabien Carrion "Correct a problem with calendar window popup" (https://issues.apache.org/jira/browse/OFBIZ-1251) - OFBIZ-1251
Specific to Firefox and the extention Tab mix plus activated on enable single window mode.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602586 13f79535-47bb-0310-9956-ffa450edef68
2007-12-09 00:02:17 +00:00
Jacopo Cappellato 142641af9c Removed deprecated/never used service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602521 13f79535-47bb-0310-9956-ffa450edef68
2007-12-08 17:57:56 +00:00
Adrian Crum 3fdb19f5d0 Updated Asset Maintenance report to use new FOP decorator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602519 13f79535-47bb-0310-9956-ffa450edef68
2007-12-08 17:28:35 +00:00
Adrian Crum 962ab2ef79 Added new FOP templates and decorator. The new FOP decorator operates more like the screen GlobalDecorator. Parameters can be passed to templates via the layoutSettings Map, and there is an assortment of standard page size templates.
This improvement was proposed in Jira - https://issues.apache.org/jira/browse/OFBIZ-1410. Many thanks to Jacopo for his great suggestions.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602516 13f79535-47bb-0310-9956-ffa450edef68
2007-12-08 17:25:08 +00:00
Adrian Crum b33da1edc2 Fixed problem where screen widget DTD allows multiple tags within the <html> element, but the widget code renders only one.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602515 13f79535-47bb-0310-9956-ffa450edef68
2007-12-08 17:20:14 +00:00
Si Chen b367f9c5c7 Finally fixed the usps rate estimate: only parcel post can have a Container tag. This is on the USPS web api documentation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602282 13f79535-47bb-0310-9956-ffa450edef68
2007-12-08 00:36:02 +00:00
Jacques Le Roux e9700d05f7 A patch from Bilgin Ibryam "Bug in lookup windows URL" (https://issues.apache.org/jira/browse/OFBIZ-1388) - OFBIZ-1388
Commited as a temporary fix as an issue on quick lookup remains


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602099 13f79535-47bb-0310-9956-ffa450edef68
2007-12-07 13:40:44 +00:00
Scott Gray aa4cb7a21a Round the total rather than the subtotals to avoid prematurely rounding tax adjustments, reported by Rashko Rejmer
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602011 13f79535-47bb-0310-9956-ffa450edef68
2007-12-07 07:37:10 +00:00
Anil Patel cf3051280f Implement an automatic GL posting service triggered when inventory is issued for fixed asset maintenance
Thanks Paranay Panday for providing implementation And also our thanks to Vikas Mayur, Ashish Vijaywargiya, Mridul Pathak, Pankaj Savita and others for managing and helping the team implementing these services.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601855 13f79535-47bb-0310-9956-ffa450edef68
2007-12-06 21:01:31 +00:00
Jacopo Cappellato 86256f89e6 Added accounting reports menu; implemented placeholder for the report that will be implemented as described in OFBIZ-1496
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601832 13f79535-47bb-0310-9956-ffa450edef68
2007-12-06 19:51:00 +00:00
Scott Gray 479cf2a7a7 CHECK is not a payment method type, switched to PERSONAL_CHECK
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601653 13f79535-47bb-0310-9956-ffa450edef68
2007-12-06 08:15:05 +00:00
Scott Gray 2c2068525b Auto marketing packages are now produced for immediately fulfilled orders
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601627 13f79535-47bb-0310-9956-ffa450edef68
2007-12-06 06:16:37 +00:00
Si Chen 9784542844 Fix bug in ATP minimum stock requirements where pending requirements are not counted in the shortfall correctly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601497 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 20:11:47 +00:00
Jacopo Cappellato 9dd9d662a7 Improved logic in the createGlReconciliationEntry service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601420 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 17:15:48 +00:00
David E. Jones c41422d5f0 Added comments and an if to protect a call to remove just in case this method is used in the future in anything other than the JobInvoker.run method
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601382 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 16:01:51 +00:00
Scott Gray 641201cef3 Fix a few new bugs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601270 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 09:32:23 +00:00
Anil Patel abc95499a7 Fix for compile error caused in bad commit earlier because I picked wrong patch. Thanks to Vikas for responding fast on this.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601269 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 09:31:07 +00:00
Scott Gray ca698a9129 amount needs to be a Double for createReturnAdjustment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601268 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 09:26:20 +00:00
Jacopo Cappellato 7a66684a43 Moved gl auto posting secas to the secas_ledger.xml file.
Thanks to Scott Gray for the bug report.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601258 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 09:07:15 +00:00
Anil Patel 01e6e01001 missed few files from previous commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601255 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 08:49:11 +00:00
Scott Gray 830d853634 Added a GlAccountOrganization to the demo data, seems to be required to receive inventory with a $0 unit cost
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601249 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 08:44:11 +00:00
Anil Patel c9364d9386 Create an OrderPaymentPreference record for each OrderItemShipGroup + Splits the ShipGroup per vendor.
Vikas thanks for providing implementation. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601245 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 08:35:11 +00:00
Scott Gray 14d06af365 Set the defaultInventoryItemTypeId for the retail facility
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601235 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 07:46:13 +00:00
Jacopo Cappellato af320519e0 Applied patch from Adrian Crum (OFBIZ-1422) to fix some cases where aliased entity fields were losing their description element.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601072 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 20:27:19 +00:00
Adrian Crum dcf6a61c50 Improved entity reference screen - now has better field definitions. Based on discussion in https://issues.apache.org/jira/browse/OFBIZ-1425.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601056 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 19:40:38 +00:00
Si Chen edc1c0398f Refactor ATP requirements based on minimum stock so that the service can be run on order status change rather than on inventory reservation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601039 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 19:03:31 +00:00
Si Chen e67e39fb83 Fill in return invoice's parentInvoiceId/itemSeqId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601010 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 17:21:30 +00:00
Anil Patel 26785055b5 fix for warning messages reported by Jacopo in jira 1436.
Ashish, thanks for providing fix.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600909 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 12:20:49 +00:00
Scott Gray 29b106b178 Couple of fixes to FinAccountTests:
1.  There's no such type as a BALANCE_ACCOUNT so I switched to a BANK_ACCOUNT
2.  You can't use instance variables in a test because each case is run as a new object
The test now passes

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600881 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 11:21:13 +00:00
Scott Gray 463d79858f Running a simple method bombs if you don't pass in a locale.
The other option was to get the default locale if one wasn't passed in when creating the MethodContext but I don't know much about that so I took the easy road :-)
On the bright side another one of the unit tests now passes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600864 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 10:00:24 +00:00
Scott Gray ccc31cb640 Fixed invalid location
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600862 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 09:55:56 +00:00
Anil Patel 672f659e61 Sachin Chourasia, thanks for providing improvements in AcctTranslist.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600848 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 09:13:30 +00:00
Anil Patel f00dd61326 Implement an automatic GL posting service triggered when inventory is issued to a work effort, Jira issue 1473 and 1474.
Thanks Sachin Chourasia for providing implementation And also our thanks to Vikas Mayur, Ashish Vijaywargiya, Mridul Pathak, Pankaj Savita and others for managing and helping the team implementing these services.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600844 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 08:57:55 +00:00
Scott Gray 592b4a2229 Don't use getInParamNames because it returns a TreeSet which means the parameters are sorted by name rather than the order they are defined in the service def. The unit test for XML-RPC now passes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600834 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 08:35:04 +00:00
Scott Gray 212733027f getNextSeqId requires a valid entity name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600830 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 08:16:36 +00:00
Anil Patel 77796ce97b Implement CRUD services and screens for CreditCardTypeGlAccount entity
Thanks Alok Agnihori for providing implementation And also our thanks to Vikas Mayur, Ashish Vijaywargiya, Mridul Pathak, Pankaj Savita and others for managing and helping the team implementing these services.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600770 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 02:13:13 +00:00
Anil Patel b18bd13c70 Implement an automatic GL posting service triggered when the ownerPartyId of an inventory item is changed
Thanks Rishi Solanki for providing implementation And also our thanks to Vikas Mayur, Ashish Vijaywargiya, Mridul Pathak, Pankaj Savita and others for managing and helping the team implementing these services.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600769 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 02:01:04 +00:00
Anil Patel ec08b029b5 Implement an automatic GL posting service triggered when an actual cost record is created for a work effort
Thanks Brajesh Patel for providing implementation And also our thanks to Vikas Mayur, Ashish Vijaywargiya, Mridul Pathak, Pankaj Savita and others for managing and helping the team implementing these services.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600766 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 01:47:51 +00:00
Anil Patel fd607d318a Fix for Bug in Creating OrderPaymentPreference Record from OrderView Screen.
Ashish thanks for reporting this bug and providing fix for it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600765 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 01:38:27 +00:00
Anil Patel 601af1c664 Adding service declaration removed by previous commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600764 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 01:29:40 +00:00