Commit Graph
2770 Commits
Author SHA1 Message Date
Jacques Le Roux bd6543ddad A patch from Pierre Smits for "Some groovy files using Timestamp.valueOf are missing essential jar." https://issues.apache.org/jira/browse/OFBIZ-6606
"import java.sql.Timestamp;" was missing in CommissionReport.groovy, CommissionRun.groovy change is non functional (import ordering)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1701825 13f79535-47bb-0310-9956-ffa450edef68
2015-09-08 15:50:10 +00:00
Deepak Dixit 952065a2b2 (OFBIZ-6571) Passed parameter in correct sequence while doing EntityUtil.getRelated.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1697647 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 10:48:58 +00:00
Jacques Le Roux 067df90ae1 After r1695126, I found that most of the Java files have svn:eol-style=native. So only 116 Java files were missing svn:eol-style=native. I guess those have been added by committers who are not using the OFBiz svn config file on their machines. So rather than removing svn:eol-style=native, this commits add the property to the files which miss it. Here 116+89=205 files have their svn:eol-style property changed to native.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1695129 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 16:33:23 +00:00
Jacques Le Roux dca48b0893 Reverts r1044202. No functional change.
This reverts svn:eol-style=native on Java files which were forced by r1044202n, 89 Java files are concerned. This commit hopefully makes things more consistent. 
It's indeed hard to see the impact of this change before it's committed. I'll check once done, I already found 116 Java files w/o svn:eol-style=native but there are 1231 Java files at all, so not sure how most are set...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1695126 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 16:15:37 +00:00
Michael Brohl f0129986de Removed duplicate german translations for labels AccountingPayWithWorldPay and FormFieldTitle_organizationPartyId
Thanks Jacques for spotting this.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1693903 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 13:52:07 +00:00
Michael Brohl 7853deb863 Added about 1800 missing or wrong German labels for the accounting component (OFBIZ-6521).
Corrected a few other labels, mainly typos or unnecessary spaces.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1687775 13f79535-47bb-0310-9956-ffa450edef68
2015-06-26 14:17:30 +00:00
Shi Jinghai 85bed69778 Refs #6518.
Translated new labels in trunk version into zh locale (Simplified Chinese).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686778 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 07:10:41 +00:00
Nicolas Malin 895c9856b3 Cleaning forms code is needed after setting default-value in list-options and entity-options, patch related to OFBIZ-6524 and follows the resolution of OFBIZ-6490 and OFBIZ-6489. Thanks Gil Portenseigne for this effort
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686674 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 21:58:05 +00:00
Taher A. Alkhateeb d685409f67 Translate the accounting component to Arabic
This is one part of the translation to Arabic project found
in JIRA OFBIZ-6432 to fully translate OFBiz to Arabic.

The commit translates the following files fully:
- AccountingUiLabels.xml
- AccountingEntityLabels.xml
- AccountingErrorUiLabels.xml


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682592 13f79535-47bb-0310-9956-ffa450edef68
2015-05-30 09:14:17 +00:00
Jacques Le Roux 5c7f0b1fcb This closes "Replace bsh code with Groovy code" https://issues.apache.org/jira/browse/OFBIZ-6332 with all its subtasks and more.
jleroux: I suspected it was only a matter of replacing "${bsh" by "${groovy" in *.xml. But I had not the guts to get into 11(!) sub tasks. 
So, in Eclipse, I simply did a S/R in *.xml and compared parts of my changes with some Pierre's most "complex" patches respectively product, ebaystore, projectmgr and scrum. 
They were totally similar (just revisions number changed) so here is the whole. 

I will later improve these changes by removing HTML entities when possible, this is a bit more delicate because in some cases the XML schema are not complete (or/and for other still obscure to me reasons) and if you simply replace HTML entities by simple code (eg &Amp; by &) you get issues in logs when the XML parser cross them...

Note: only menus, screen and forms are changed here.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682118 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 20:39:43 +00:00
Adam Heath e41b3149d8 Fix dumb compile errors in this file; please, let's be careful. Note
the EntityQuery import; this was due to this class being added, but not
imported, which is an obvious error.

Also, if you don't understand generics, please ask.  The changes listed
here are very basic compile errors.

The general problems discovered here are due to the class *not being
compiled* by default.  If you change something, at least attempt to see
if it has an effect.  Compile errors are just plain bad.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1676303 13f79535-47bb-0310-9956-ffa450edef68
2015-04-27 15:25:00 +00:00
Adam Heath d5b6b35901 Add in missing license headers.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1676155 13f79535-47bb-0310-9956-ffa450edef68
2015-04-26 23:30:26 +00:00
Pranay Pandey 7f5df9fff5 Fixed the order in which invoice and payment transactions are created.
Payment transactions were being created prior to invoice transactions, It causes confusion for accountants in real world. 

It was a seca execution order which was causing the issue on setInvoiceStatus. Moved the trigger on setInvoiceStatus for checkInvoicePaymentApplications and capturePaymentsByInvoice from secas.xml to secas_invoice.xml, so that we do invoice transactions prior to payment. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1675852 13f79535-47bb-0310-9956-ffa450edef68
2015-04-24 13:29:56 +00:00
Jacopo Cappellato debe89225a OFBIZ-6269: "Pro-rate shipping calculation is generating incorrect invoice in case of order with subtotal $0.00"
The solution provided in this commit is to use, in these cases, the quantities instead of the amounts for pro rating of misc and shipping adjustments.
Thanks to Mohammad Kathawala for the bug report, great analysis and tests that have helped me a lot to implement this fix.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1674908 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 15:00:00 +00:00
Jacques Le Roux 246236e3cc A patch from Pierre Smits "Add a basic VAT report with frequency setting" https://issues.apache.org/jira/browse/OFBIZ-6225
This is a 1st stage, we will add more later, notably totals as a 1st step and then a more complete report but still basic

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1674587 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 22:48:01 +00:00
Adrian Crum a1bb4ff6bc Fix warnings in trunk in Java source code - https://issues.apache.org/jira/browse/OFBIZ-6217.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1674064 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 13:05:55 +00:00
Nicolas Malin 7d94967a68 Convert javolution FastMap, FastSet and FastList by standard java.util.*
Related to OFBIZ-5781 Convert Javolution collections into Java collections
Thanks to Deepak Dixit and Adrian Crum for their help.

By defautl converted :
 * FastMap by HashMap
 * FastList by LinkedList
 * FastSet by HashSet

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1672752 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 20:22:54 +00:00
Adrian Crum f315f0d5be Fix warnings in trunk in Java source code - https://issues.apache.org/jira/browse/OFBIZ-6217.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1669537 13f79535-47bb-0310-9956-ffa450edef68
2015-03-27 10:04:14 +00:00
Ashish Vijaywargiya 1abcc52b48 Applied patch from jira issue - OFBIZ-6199 - Find Commission Run screen is broken.
Thanks Amardeep for reporting the issue and thanks for providing the patch for the same.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668201 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 07:39:55 +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 06b1108555 Fixed wrong minilang element I have committed recently as part of the currency exchange gain/losses GL transaction handling. Thanks to Deepak Dixit for spotting this.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658882 13f79535-47bb-0310-9956-ffa450edef68
2015-02-11 06:29:12 +00:00
Jacopo Cappellato 441fa3a2be Completed support to foreign exchange rate gain/losses when a purchase invoice is posted at a different time of the receipt.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658662 13f79535-47bb-0310-9956-ffa450edef68
2015-02-10 10:44:02 +00:00
Ashish Vijaywargiya bfe9749b51 Applied patch from jira issue - OFBIZ-5952 - IncomeStatement page broken.
Thanks Deepak for creating the issue and providing the patch for the same.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658310 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 06:36:00 +00:00
Jacopo Cappellato 8921a7b2e7 Removed debug statements that I have committed by error; thanks to Gil Portenseigne for the review.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1657848 13f79535-47bb-0310-9956-ffa450edef68
2015-02-06 14:51:45 +00:00
Jacopo Cappellato 383e1dad96 A series of changes required to properly manage foreign exchange gain and losses when a payment is sent before the purchase invoice is received.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1657514 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 10:26:37 +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
Adrian Crum 771e10f1c4 First pass at extracting grid widget from the form widget. This commit has a lot of duplicate code - future commits will reduce and reuse the duplicate code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1654670 13f79535-47bb-0310-9956-ffa450edef68
2015-01-25 17:18:24 +00:00
Nicolas Malin 34b0954c9b (OFBIZ-5992) Convert following entities CRUD service from simple to entity-auto :
FixedAsset                                                          
FixedAssetProduct                                                   
FixedAssetStdCost
FixedAssetIdent
FixedAssetRegistration
FixedAssetMaint
FixedAssetMaintOrder
PartyFixedAssetAssignment
FixedAssetTypeGlAccount

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652608 13f79535-47bb-0310-9956-ffa450edef68
2015-01-17 13:47:00 +00:00
Nicolas Malin ddc01156ab Convert old simple CRUD service on BillingAccount to entity-auto (OFBIZ-5963).
Clean service definition with using auto-fields-entity and clean editBillingAccount screen :
    display correctly the customer billing party
    hidden billingAccountId and contactMechId on create process
    add new service createBillingAccountAndRole (the screen present the partyId field but didn't propage the value on billingAccountRole)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1651912 13f79535-47bb-0310-9956-ffa450edef68
2015-01-15 00:37:06 +00:00
Nicolas Malin 0213278608 no functionnal change, clean file with remove space end line and double empty line
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1651874 13f79535-47bb-0310-9956-ffa450edef68
2015-01-14 23:13:09 +00:00
Nicolas Malin aa476cf1bd Convert CostComponentCalc and WorkEffortCostCalc CRUD service from simple to entity-auto (OFBIZ-5958). The file applications/accounting/script/org/ofbiz/accounting/cost/CostServices.xml and the directory applications/accounting/script/org/ofbiz/accounting/cost are now empty, so I remove it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1651229 13f79535-47bb-0310-9956-ffa450edef68
2015-01-12 23:27:25 +00:00
Nicolas Malin a442c86252 Convert Invoice entites CRUD service from simple to entity-auto (OFBIZ-5957) : convert only updateInvoiceItemType. Clean uneeded space end line.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1651222 13f79535-47bb-0310-9956-ffa450edef68
2015-01-12 22:55:01 +00:00
Nicolas Malin 83c8292b53 finalize to convert BudgetRole service to entity-auto relative to OFBIZ-5900
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1650977 13f79535-47bb-0310-9956-ffa450edef68
2015-01-11 21:59:33 +00:00
Nicolas Malin b1bd409b63 OFBIZ-5955 Convert Agreement entites CRUD service from simple to entity-auto
Convert the CRUD service for entities : Agreement,AgreementItem,AgreementPromoAppl,AgreementProductAppl,AgreementPartyApplic,AgreementGeographicalApplic,AgreementRole,AgreementWorkEffortApplic

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1650975 13f79535-47bb-0310-9956-ffa450edef68
2015-01-11 21:37:26 +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
Jacques Le Roux ad6d292c1f A patch from Christian Carlow for "GlReconciledFinAccountTrans.ftl finAccountTrans.entryDateId should be finAccountTrans.entryDate" https://issues.apache.org/jira/browse/OFBIZ-5945
An error is thrown at accounting/control/FindFinAccountReconciliation for finAccountTrans.entryDateId because the field is supposed to be finAccountTrans.entryDate.


To reproduce, transaction records have to be associated with the glReconciliation:
1. Navigate to Accounting->Financial Account->Reconciliation
2. Click "Create New Financial Account Reconciliations" and create a glReconciliation and copy the glReconciliationId
3. Navigate to Accounting->Financial Account->Transactionsgl
4. Click "Create New" and create a new transaction with glReconciliationId set to the one created in step 2
5. Navigate to Accounting->Financial Account->Reconciliation again and an error should appear about finAccountTrans.entryDateId not being a valild field

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1650882 13f79535-47bb-0310-9956-ffa450edef68
2015-01-11 10:14:14 +00:00
Jacques Le Roux 5605d43918 This which is a WIP part of OFBIZ-5945 has slipped in inadvertently, reverting for now
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1650881 13f79535-47bb-0310-9956-ffa450edef68
2015-01-11 10:02:42 +00:00
Jacques Le Roux b8ca5543c9 Changes in all labels files: <value xml:lang="(.*)_(.*)"> to <value xml:lang="$1-$2">
Changes also listLocales.ftl to show dashes rather than underscores

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1650880 13f79535-47bb-0310-9956-ffa450edef68
2015-01-11 09:59:32 +00:00
Adrian Crum 91feff5f51 Updated the UI label files so they reference a schema.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1649666 13f79535-47bb-0310-9956-ffa450edef68
2015-01-05 21:24:18 +00:00
Jacques Le Roux 3ca40543d5 Revert r1647522. This is not the right solution said Scott on dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647542 13f79535-47bb-0310-9956-ffa450edef68
2014-12-23 11:06:32 +00:00
Jacques Le Roux 9f55c4a001 A patch from Prateek Ashtikar for "Issue reported while performing Refund & Void (java.lang.ClassCastException: java.lang.String cannot be cast to java.math.BigDecimal)" https://issues.apache.org/jira/browse/OFBIZ-5927
Change committed in AIMPaymentServices.java.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647522 13f79535-47bb-0310-9956-ffa450edef68
2014-12-23 09:51:56 +00:00
Jacques Le Roux b1de6b8bb2 Fixes a missing .from("CustomTimePeriod") in EntityQuery
Small formatting

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647490 13f79535-47bb-0310-9956-ffa450edef68
2014-12-23 06:43:36 +00:00
Ashish Vijaywargiya 682d5e14c8 Applied all the patch files from jira issue - OFBIZ-5893 - Use EntityQuery Builder methods in goovy files by replacing Entity Engine methods.
Thanks so much Arun for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646916 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 04:31:20 +00:00
Jacques Le Roux fc6eba04eb Reverts part of r1645950, thanks to Scott who spotted it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646546 13f79535-47bb-0310-9956-ffa450edef68
2014-12-18 21:48:44 +00:00
Ashish Vijaywargiya f8927d3d3e Applied patch from jira issue OFBIZ-5902 - Fetch configurable settings data driven by replacing UtilProperties.getPropertyValue() method with EntityUtilProperties.getPropertyValue().
We have removed the recent changes that we did for <property-to-field> in XML file because those changes was not actually needed.
Thanks Arun for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646214 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 12:28:02 +00:00
Ashish Vijaywargiya 05ceee8d4b Applied patch from jira issue - OFBIZ-5892 - Replace all occurences of dispatcher.runSync in groovy files with runService() of DSL.
In this patch removed the use of "userLogin". Thanks Arun for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646213 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 12:20:06 +00:00
Ashish Vijaywargiya f19b8bdfe7 Reverting r1646165. It seems that changes that we did for <property-to-field> are not needed. I will commit the new changes soon.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646191 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 10:49:41 +00:00
Ashish Vijaywargiya d3e50d1e18 Applied patch from jira issue - OFBIZ-5892 - Replace all occurences of dispatcher.runSync in groovy files with runService() of DSL.
Thanks Arun for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646167 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 08:10:12 +00:00