Commit Graph
283 Commits
Author SHA1 Message Date
Jacopo Cappellato 028e08bc3b Reorganized test data and unit tests to remove wrong dependencies from accounting to assetmaint and from order to scrum; all tests are now successful even when all specialpurpose components (*except* ecommerce) are disabled.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1462421 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 07:07:59 +00:00
Jacques Le Roux 41a5a96436 A patch from Chatree Srichart for "services_quote.xml#quoteSequence-enforced method is not facet-valid with respect to pattern" https://issues.apache.org/jira/browse/OFBIZ-5135
I got an error message:
Error message: cvc-attribute.3: The value 'quoteSequence-enforced' of attribute 'method-name' on element 'simple-method' is not valid with respect to its type, 'javaClassName'.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1446575 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 13:28:42 +00:00
Jacques Le Roux bca973778d A patch from Carsten Schinzer for "non facet valid method name in OrderServices.xml#orderSequence-enforced" https://issues.apache.org/jira/browse/OFBIZ-5106
Error message in the error.log is as follows:
XmlFileLoader: File file:/usr/local/ofbiz-tr-mt12.5/applications/order/script/org/ofbiz/order/order/OrderServices.xml process error. Line: 530. Error message: cvc-pattern-valid: Value 'orderSequence-enforced' is not facet-valid with respect to pattern '[a-zA-Z_]{1}[a-zA-Z0-9_$.]+' for type 'javaClassName'.

Changes all occurrencies of 'orderSequence-enforced' to 'orderSequence_enforced' as only underscore dashed are allowed by the cvc pattern.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1425155 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 21:41:05 +00:00
Jacques Le Roux 1e64fe94c7 A slightly modified patch from Nicolas Malin "change serviceName by customMethod on Content " https://issues.apache.org/jira/browse/OFBIZ-5020
When you used a content as template, the content.serviceName value used to call the context populate service before rendering.
I propose to replace serviceName field by customMethodId and use customMethod pattern for more flexibility.
serviceName field is kept for backward compatibility

Thanks to Scott and Adrian for support


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1379937 13f79535-47bb-0310-9956-ffa450edef68
2012-09-02 09:46:20 +00:00
Erwan de Ferrieres 41c1dfbab2 Suppressing - in method names which are causing XSD validation to fail
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369948 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 19:41:14 +00:00
Hans Bakker 26be6e9d7c Give ACCOUNTING_ADMIN the same access as PAY_INFO_ADMIN because part of accounting component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1353381 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 02:22:58 +00:00
Hans Bakker c512dddd02 allow ACCOUNTING_ADMIN also to do PAYPROC_ADMIN
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352769 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 04:12:11 +00:00
Hans Bakker f3582a54e4 allow ACCOUNTING_ADMIN also to do MANUAL_PAYMENT
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352768 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 04:04:50 +00:00
Hans Bakker 7e5c9958a5 manual payment is used: reverting r1352439
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352441 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 08:03:11 +00:00
Hans Bakker 66d5f75d5e removed unused security permission: MANUAL_PAYMENT
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352439 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 07:52:23 +00:00
Hans Bakker bd16dfb598 split up securitypermissions as seed data and securitygroups as demo data with a single exception: the creation of a super security group which has general access to the system and which is used with the 'ant create-admin-user-login' command.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352431 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 07:21:49 +00:00
Hans Bakker ad1682658b add entities and services to be able to add content and notes to invoices
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1341765 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 07:22:30 +00:00
Adam Heath da8bf922fc FIX: Properly fix 1327736, which was reverted in 1327866. I have no
idea where those bad digest password values came from.  Really, I have
no clue.  Everything worked in testing.  I'm very confused.  I have
verified that I can log in now with the demo accounts.  Sorry about the
breakage.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1334173 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 20:42:57 +00:00
Jacques Le Roux d3dfd92678 A patch from Tom Burns for "Update Company Contact Information Fails" https://issues.apache.org/jira/browse/OFBIZ-4804
Updating the Company postal_address in Party Manager fails.
To reproduce:
In Party Manager lookup Party Id "Company"
Click Update in Contact Information > Postal Address
Make a change to the address
Click Save
Note the error message.

A postal_address update triggers an accounting SECA that runs:
PaymentMethodServices.xml (accounting) updatePaymentMethodAddress
services_paymentmethod.xml updateEftAccount
PaymentMethodServices.java updateEftAccount

The purpose of the SECA is to update the contact_mech_id field in CreditCard or EftAccount entities have the optional billing address information.

The updateEftAccount service sets the nameOnAccount field to optional="false".
The demo data that set up two EftAccount's for Company did not include nameOnAccount.
These are the only ETF's set up in demo data.

In the application ETF's are set up in eCommerce which requires "Name On Account" so the problem should not happen with address changes.
See eCommerce:
Login as DemoCustomer
Click "Profile" at the right of the top title bar
Click "Create New EFT Account" at the right of the title bar in the Payment Method Information section.
Note the first file "Name on Account" is required
Note the option to select a billing address.

Changing the DemoFinAccountData.xml file to enter the nameOnAccount field for the Company EftAccount's fixes the problem.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1328946 13f79535-47bb-0310-9956-ffa450edef68
2012-04-22 19:37:06 +00:00
Jacopo Cappellato 3736c9856c Reverted rev. 1327736: with it it was impossible to log in with demo accounts.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327866 13f79535-47bb-0310-9956-ffa450edef68
2012-04-19 08:43:54 +00:00
Adam Heath 6ea609d022 FIX: Fix a bunch of hashed passwords that had the oldFunnyHex encoding.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327736 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 23:48:51 +00:00
Scott Gray 05bf68608a Demo data bugfix: productTypeId is a required field of Product and records shouldn't be put into the db without supplying a value for it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1297416 13f79535-47bb-0310-9956-ffa450edef68
2012-03-06 10:54:36 +00:00
Erwan de Ferrieres 771e7a9b55 OFBIZ-2405 - Create a Portlet to show the payments
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1235513 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 21:38:48 +00:00
Jacopo Cappellato 033c0a204c Fixed tests that were going to fail after the new year switch; with this fix the tests will work until 2020.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226378 13f79535-47bb-0310-9956-ffa450edef68
2012-01-02 09:06:54 +00:00
Jacques Le Roux 47e9f8864d Another try to pass invoice and payment tests with new year... Did not work, so far...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226309 13f79535-47bb-0310-9956-ffa450edef68
2012-01-01 22:30:18 +00:00
Jacques Le Roux 6501786bb6 Thanks to Jacopo, now the tests pass again... until 2019... ;o)
Adrian proposed to make an effort with expressions in data...

Mmm... Actually I wrongly read successful when it was unsuccessful... I tried also changing CustomTimePeriod... Stil trying...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226304 13f79535-47bb-0310-9956-ffa450edef68
2012-01-01 21:26:41 +00:00
Hans Bakker 9270f2c6c6 make sure the defaut image is shown in the trunk
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1185724 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 15:33:44 +00:00
Jacques Le Roux af139395c4 For historical reason, revert recent geo data changes for USA and CAN.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1170061 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 06:45:13 +00:00
Jacques Le Roux 13ef710f90 We need also to update seed and demo data for USA states GeoId changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1169822 13f79535-47bb-0310-9956-ffa450edef68
2011-09-12 16:39:56 +00:00
Hans Bakker 8bdf6bade1 Because these back-end applications do not have a website and probably never will remove the website records and definitions in web.xml as an experiment for the accounting, order, product and party component. if there are no problems others will follow....
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1153352 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 05:51:54 +00:00
Erwan de Ferrieres e57fecbc8e An idea from Scott on user mailing-list, adding a link in help for the authorize.net gateway responses
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092290 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 14:36:10 +00:00
David E. Jones 98f6892df4 Added return invoice type mappings for new-ish VAT adjustment types
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082567 13f79535-47bb-0310-9956-ffa450edef68
2011-03-17 16:19:43 +00:00
Hans Bakker 06d0aae7d6 Add the 'ideal' payment gateway, often used in the Netherlands, see http://www.ideal.nl, install instruction in the thirdparty src folder
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062608 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 02:27:11 +00:00
Hans Bakker ca5b09bc7a add a popular categories section to the ecommerce frontpage which is generated from the data warehouse of real orders. Also adjusted the sales reports from the data warehouse by week/month/year. Demo data included is for display only
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1055774 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 07:37:45 +00:00
Jacopo Cappellato b215575fb1 Updated demo/test data to new year: this fixes some tests that were failing after the switch to 2011
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1055057 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 14:34:15 +00:00
Andrew Zeneski 9134b5eeb6 added eway payment integration
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1053723 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 20:05:11 +00:00
Andrew Zeneski f7b00994da moved schedule service to seed-initial file; to stop duplicates when re-loading seed data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1049650 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 17:43:40 +00:00
Hans Bakker 6cab58f905 change all @yahoo.com to @example.com Suggestion from Scott
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040914 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 09:38:00 +00:00
Hans Bakker 3d2fc9f2fc add support email address to the company for demo purposes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040878 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 06:57:27 +00:00
Adam Heath d241a1049a Fix several xml files that had DOS line endings; converted them to UNIX,
so that on fresh checkouts they will be auto-converted to native.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040833 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 00:15:17 +00:00
Andrew Zeneski b263477cb0 changed all payment gateway configurations to be in a new data file that is loaded with seed-initial only. This will prevent customizations to the configs from being overwritten.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1035471 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 21:52:30 +00:00
Jacopo Cappellato 9c6f75f694 Implemented support for "contra revenue" classes in the Income Statement: this will fix the incomplete information in financial reports for returns
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1029600 13f79535-47bb-0310-9956-ffa450edef68
2010-11-01 10:18:19 +00:00
Anil Patel c3bc92d834 data fix. Missed in previous commit. Tax payment should be posted to unapplied payable. AcctgTrans created for payment application will take money from unapplied payables and apply to sales tax account associated to tax auth.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1028627 13f79535-47bb-0310-9956-ffa450edef68
2010-10-29 06:43:50 +00:00
Anil Patel 295cfd972e Fix issue with classification of returns. Returns are of debit type transactions. Added contra revenue class and applied the fix to demo CoA. Financial reports will have to be fixed up. Will do that soon. Thanks Jacopo for review and help.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1028053 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 17:59:26 +00:00
Hans Bakker 98f6fa0137 add the securepay payment processor
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023735 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 10:56:30 +00:00
Anil Patel 49a3c05554 Fix bug in Gl posting Customer Return Invoice. It was handled as a purchase invoice when its totally different beast. All InvoiceTypes from PURCHASE_INVOICE type tree are still handled like always except for CUST_RTN_INVOICE. Added new service to handle CUST_RTN_INVOICE.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1000621 13f79535-47bb-0310-9956-ffa450edef68
2010-09-23 20:59:05 +00:00
Adam Heath b273b52dad Finally created a script to find and fix tons of missing final newlines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:46:48 +00:00
Erwan de Ferrieres 727a2df89c Sales orders were created with OOTB settings with the form WSCO1 instead of WSCO10000. Thanks Scott
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965638 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 21:19:21 +00:00
Erwan de Ferrieres abfdde6bfb OFBIZ-3765 - Use CustomMethod for select order, quote and invoice hook to resolve id (https://issues.apache.org/jira/browse/OFBIZ-3765)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954388 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 09:38:33 +00:00
Ashish Vijaywargiya db765efdd2 Reverting my commit r938446 based on the comments received on mailing list. For now I am keeping old email address in place (i.e ofbiztest@yahoo.com) keeping in mind that email will not go in spam folder. If others think test@example.com will also behave same then please go ahead commit the changes.
Very soon I will revert my changes on release10.04 branch.
Thanks to everybody who has provided their comments!  

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940814 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 11:57:35 +00:00
Ashish Vijaywargiya 148318f7fd Changing email address ofbiztest@yahoo.com -> ofbiztesting@gmail.com - this was creating too much problem since long in development effort.
Following points were there in my mind before doing this change.

-- AFAIK ofbiztest@yahoo.com email doesn't exists.
-- Bounce email issue if you have enabled Javamail container. This drastically slow down your system performance. 
-- Now anyone can use ofbiztesting@gmail.com account settings for Sendmail, Javamail container etc.
-- Send mail service triggered again and again with failure message on console if any of the email not found bccAddress inside ProductStoreEmailSettings entity. Again slow speed of your development machine.
-- Please let me know where to share the password of this account? Dev list?


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@938446 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 13:17:45 +00:00
Bilgin Ismet Ibryam 1562b0a308 Added description field to TemporalExpression entity and related data plus forms. Part of https://issues.apache.org/jira/browse/OFBIZ-3521
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935387 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 18:41:20 +00:00
Jacopo Cappellato 1822ba4431 More enhancements in the LIFO/FIFO implementation: now I have re-enabled the original "average cost" costing method (that was, and is, only partially implemented btw); I have also added a "new" costing method based on real inventory item unit costs: this was actually the only method (implicitly) supported before the implementation of LIFO and FIFO.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927011 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 11:20:53 +00:00
Hans Bakker 92e4601342 show portal page names correctly in tomahawk theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926908 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 02:59:07 +00:00
Jacopo Cappellato c2d9606772 Implemented first version of FIFO and LIFO costing methods in accounting:
1) added new fields to InventoryItem/InventoryItemDetail to keep track of the units posted to INVENTORY accounts according to the costing methods in use
2)  added new field to AcctgTransEntry to keep track of the inventoryItemId that was used to get the cost according to LIFO/FIFO etc... strategy
3) modified existing demo data to support the new costing strategies; enabled by default the LIFO strategy for Company accounting (it was average cost before)
4) code that implements LIFO/FIFO for inventory receipts and sales shipments


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926090 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 14:02:46 +00:00