Commit Graph
317 Commits
Author SHA1 Message Date
Deepak Dixit 74d26f87d9 (OFBIZ-7969) Added missing file in my last commit related to AgreementContent feature.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759130 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 19:36:07 +00:00
Deepak Dixit e99052cf12 (OFBIZ-7969) Applied slightly modified patch from jira issue.
=================================
Enable adding a content to an agreement
=================================
Thanks Leila Mekika for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759127 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 19:24:00 +00:00
Deepak Dixit fd31d2388e (OFBIZ-7251) Applied patch from jira issue
=================================
As per the https://community.developer.authorize.net, the transactionUrl has been updated from https://certification.authorize.net/gateway/transact.dll to https://test.authorize.net/gateway/transact.dll
=================================
Thanks  Avnindra for your contribution.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759005 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 18:44:05 +00:00
Mridul Pathak 762b135274 [OFBIZ-7909] Remove system generated fields from data files of Accounting component. Thanks Suraj Khurana for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755301 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 12:05:37 +00:00
Jacques Le Roux 7ada24fd04 This removes the pos component. OFBIZ-7804 "Check if we should fix or remove the POS (hence WebPos?)"
Most is done already. Test pass but testFopMacroLibrary but I don't see how it could be related to these changes, could be a quirk on Windows, BuilBot will tell us. Anyway, I will later double-check to be sure, also to see if I did not miss anything else.

I have voluntarily left 2 or 3 moot points
I was unable to remove possible POS references in <property key="FieldDescription.ProductStore.isImmediatelyFulfilled"> for certain language I'm unable to read.
I have to check if we should keep or not this code snippet
                <!-- if inventory info is not available for all of the products, then don't do the issuance, ie there has to be at least SOME inventory info in the database to facilitate inventory-less POS terminals -->
                <entity-count entity-name="InventoryItem" count-field="iiCount">
                    <condition-expr field-name="facilityId" operator="equals" from-field="orderHeader.originFacilityId"/>
                </entity-count>
I simply commented out twice this snippet in InvoiceServices.java, because I wonder if it would not be useful when the webPos will be able to issue money change
//                if (null == adj.get("amount")) { // JLR 17/4/7 : fix a bug coming from POS in case of use of a discount (on item(s) or sale, sale here) and a cash amount higher than total (hence issuing change)
//                    continue;
//                }

While at it, since I modified OPTIONAL_LIBRARIES, I also changed these svn:properties: svn:eol-style = native & svn:mime-type = text/plain


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1754402 13f79535-47bb-0310-9956-ffa450edef68
2016-07-28 12:27:20 +00:00
Nicolas Malin 96ed02fae4 Create demo PartyStatus data for existing parties for applications component, thanks to Suraj Khurana for the submission through OFBIZ-7673
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753797 13f79535-47bb-0310-9956-ffa450edef68
2016-07-22 14:22:32 +00:00
Arun Patidar 71059ef9c6 [OFBIZ-7147] Fixed invoiceType data. Added new InvoiceType 'INVOICE' and set it as parent type for SALES_INVOICE, PURCHASE_INVOICE and TEMPLATE.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746459 13f79535-47bb-0310-9956-ffa450edef68
2016-06-01 13:31:00 +00:00
Deepak Dixit b3264aa9fc (OFBIZ-5740) Updated fromDate and thruDate filed type for CustomTimePeriod entity from date to date-time, and made chagnes accordingly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1743656 13f79535-47bb-0310-9956-ffa450edef68
2016-05-13 11:31:23 +00:00
Jacques Le Roux 5120c6ebbb A patch from Pierre Smits for "In DemoTaxAuthority.xml the associated countrycode for Bulgaria is wrong" https://issues.apache.org/jira/browse/OFBIZ-6844
In DemoTaxAuthority.xml the associated CountryCode for the tax office in/of Bulgaria is set to BEL, which is Belgium.
This should be corrected to BGR.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1725561 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 16:40:04 +00:00
Divesh Dutta 91d0598a3c [OFBIZ-6753] Fixed issue:The GL account for USA_IRS is set to 224106 (SALES TAX COLLECTED USA - CA) should be 224100 (SALES TAX COLLECTED USA). Thanks Jesse Thomas for reporting the issue and Thanks Ankush for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724978 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 14:25:20 +00:00
Sharan Foga ca3a66c6ad OFBIZ-6733 Add setup for Service Product Invoice Lines
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1720883 13f79535-47bb-0310-9956-ffa450edef68
2015-12-19 04:08:47 +00:00
Jacques Le Roux 627bfd42d3 A patch from Pierre Smits for "Wrong purchase invoice item type for product type IDs RAW_MATERIAL, GOOD" https://issues.apache.org/jira/browse/OFBIZ-6763
Reported by Michael Powacht
System incorrectly derives invoice item type INV_FPROD_ITEM (instead of  PINV_FPROD_ITEM, for example) in purchase invoices for purchase orders with products of type RAW_MATERIAL and GOOD. As a result, the GL account derivation is incorrect as well where a revenue GL account gets debited instead of GL "Uninvoiced Shipment Receipts". 
The incorrect accounting entry posted is:
DR Revenue (as a result of invoice item type INV_FPROD_ITEM)
CR A/P
The correct entry should be:
DR Uninvoiced Shipment Receipts (derived from PINV_FPROD_ITEM)
 CR A/P
It seems the above is caused by missing entries in table invoice_item_type_map where 
INVOICE_ITEM_MAP_KEY should contain RAW_MATERIAL and GOOD and/or PRODUCT_ORDER_ITEM.
The above symptom does not affect the Goods Receipt Transactions, which gets correctly posted as:
DR Inventory
CR Uninvoiced Shipment Receipts

jleroux: Rupert Howell gave the missing data in a comment, Pierre the patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1719094 13f79535-47bb-0310-9956-ffa450edef68
2015-12-10 15:17:02 +00:00
Jacopo Cappellato 2641d2ba5a Implemented ability to refund non-physical goods (e.g. services).
Thanks to Akash Jain for the contribution: OFBIZ-6728, OFBIZ-6729, OFBIZ-6730


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715485 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 08:15:16 +00:00
Deepak Dixit 3d5b387f13 (OFBIZ-6699) Removed invalid field condition from StatusValidChange data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1710566 13f79535-47bb-0310-9956-ffa450edef68
2015-10-26 11:09:54 +00:00
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