Commit Graph
303 Commits
Author SHA1 Message Date
Sharan Foga 1ad5ca3652 Applied patch from Anahita for OFBIZ-5641
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1660389 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 14:21:58 +00:00
Jacopo Cappellato 0d5bab4c73 Fixed wrong classifications (Liability<-->Asset) for the unapplied payments accounts demo data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1657507 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 10:09:21 +00:00
Jacopo Cappellato 857ef96b4e Added missing association to the demo Company for the Foreign Exchange Gain/Losses account
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1657506 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 10:06:07 +00:00
Jacopo Cappellato e1fa200abb Implemented missing code to properly handle accounting transactions for foreign currency converion rates gain/losses.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1655979 13f79535-47bb-0310-9956-ffa450edef68
2015-01-30 10:44:44 +00:00
Jacques Le Roux 11211efb6e A patch from Bob Morley for "Data seeding to support ability to return products of type RAW_MATERIAL" https://issues.apache.org/jira/browse/OFBIZ-3669
This patch contains data seeding that supports the ability to have return items that contain products of type RAW_MATERIAL.  This allows an enterprise to return raw materials back to suppliers as well as customers returning them (if the enterprise sells raw materials to customers).  There is no code in this patch, just the data model wiring to map the raw material product types to the proper return types / accounting types.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1650949 13f79535-47bb-0310-9956-ffa450edef68
2015-01-11 18:41:53 +00:00
Ashish Vijaywargiya 44bc632d5a Applied patch from jira issue - OFBIZ-1524 - Improve the way CreditCard.cardType field is managed.
Thanks Akash Jain for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626425 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 12:16:37 +00:00
Jacopo Cappellato ce58b9e0c4 Usability improvement for management of manual Gl transactions (OFBIZ-5559): thanks to Anahita Goljahani for the patch and to Pierre Smits for the tests and review.
Main changes introduced:
* new "Not available" data types that can be applied when transaction, account and resource type are not specified
* fixed some screens that were still displaying the account pk rather than the account code
* misc enhancements to the editing of manual transactions and chart of accounts
 



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1589623 13f79535-47bb-0310-9956-ffa450edef68
2014-04-24 07:39:46 +00:00
Hans Bakker fcba881889 some missing files from commit 1573884
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1574400 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 09:20:26 +00:00
Hans Bakker f19c64ed29 adding budget services, screens and forms
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1573884 13f79535-47bb-0310-9956-ffa450edef68
2014-03-04 06:32:14 +00:00
Jacques Le Roux 90d37ce794 After my main external backup disk crashed, my main Eclipse workspace crashed also.
While rebuilding it, it seems I inadvertently pushed a OK button somewhere...
This reverts r1541470 and all pending stuff which should not have slipped in

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1541485 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 12:01:48 +00:00
Jacques Le Roux d0bd4e8617 This was committed by error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1541470 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 11:07:04 +00:00
Jacopo Cappellato 3874109539 A pretty important refactoring of some GL data and code that fixes a series of long standing gaps, errors and design issues affecting account balances and the closure of fiscal periods (some of them introduced by me when I initially wrote the first version of these business logics; at that time I didn't have a clear and deep enough understanding of these accounting rules sigh…).
This new version is cleaner (less code, less redundancy of information), correct and it also resolves some pretty relevant issues (including some db deadlock errors) affecting performance in instances with medium/high number of GL postings.
Here is a list of changes introduced in this commit:
* removed the postedBalance field from GlAccount and GlAccountOrganization: this was a wrong design; the field in GlAccount was not used by the applications; the field in GlAccountOrganization was used but not consistently
* added openingBalance field to GlAccountHistory: now this entity has full information about an account in a financial period after the period closed (opening and ending balance, posted debits and credits); now the endingBalance is computed correctly both for Debits and Credits accounts
* updated demo data for the data model changes mentioned above
* the business logic to compute the account balances is now implemented in a service (computeGlAccountBalanceForTimePeriod) and reused consistently
* removed several FIXME/TODO comments now that the new code addresses the related gaps and issues
* removed some old, incorrect or no more used artifacts: getGlAcctgOrgWithPostedBalanceSplit (service), getNetBalance (utily methods)
* refactored the TrialBalanceReport and GlAccountTrialBalance reports and related pdf versions: the new versions have cleaner code and show the correct balances both for debits and credits
* fixed a series of Groovy compilation issues due to missing imports


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1530273 13f79535-47bb-0310-9956-ffa450edef68
2013-10-08 13:49:19 +00:00
Hans Bakker 577421545b corrected error in field name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1517430 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 06:07:09 +00:00
Erwan de Ferrieres bf6c2c77e7 As reported by Nicolas Malin on dev mailing-list, correcting a typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1513084 13f79535-47bb-0310-9956-ffa450edef68
2013-08-12 08:51:57 +00:00
Jacques Le Roux 0d4371b9a9 Better French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512587 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 09:46:03 +00:00
Jacques Le Roux f2942def8c A patch from Pierre Smits https://issues.apache.org/jira/browse/OFBIZ-5262
"Improve demo data regarding EU tax authorities"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512577 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 08:33:43 +00:00
Hans Bakker 2acd394d71 fixed demo data load problem caused by r1502093
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502102 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 03:53:50 +00:00
Hans Bakker ad8ae088de add a csv import/export invoices at an organizational level with partyid and productid translation functions, more imports/exports will follow
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502093 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 03:14:30 +00:00
Hans Bakker e961ad3f83 added missing invoiceitem type assignment for productType 'service'
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1498758 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 02:13:41 +00:00
Jacques Le Roux 7de84afaaa A patch from Ankit for "The Invoice Item type dropdown have same description for different invoiceItemTypeId." https://issues.apache.org/jira/browse/OFBIZ-5225
The Invoice Item type dropdown have same description for different invoiceItemTypeId on Agreement Terms page in accounting.

https://demo-trunk.ofbiz.apache.org/accounting/control/EditAgreementTerms?agreementId=10000

The description should be different that the invoiceItemType is for sales or purchase.
Eg: Invoice Fee(Sales)
Invoice Fee(Purchase)

Something to differentiate between the same description.

jleroux: while at it I also changed the French labels

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1494682 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 16:32:04 +00:00
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