Commit Graph
741 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 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
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
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
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
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
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
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
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 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
Ashish Vijaywargiya f4fc6c4962 Applied bug fix from jira issue - OFBIZ-3537 - Not all sales invoice item types are showing in listInvoiceItems screen.
Thanks Arun Patidar for the contribution.  

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626409 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 10:08:51 +00:00
Vikas Mayur 31e2bf5642 Use the prop() method to change/retrieve DOM properties like checked, disabled state of form elements as recommended in jQuery API.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1624244 13f79535-47bb-0310-9956-ffa450edef68
2014-09-11 10:03:34 +00:00
Anil Patel 11172f28dc [OFBIZ-5654] Applying patch from the ticket. Thanks Pierre Smits for reporting and ofbiz.us team for fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618358 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 13:50:30 +00:00
Anil Patel b85d134ff2 [OFBIZ-5655] Check not null before accessing the variable. Thanks Pierre Smits for reporting and ofbiz.us for fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618349 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 12:18:20 +00:00
Ashish Vijaywargiya d0566c2968 Applied the patch OFBIZ-4902_application.patch from OFBIZ-4902 - Replace in Freemarker templates the deprecated built-ins: default, exists, if_exists.
Thanks http://ofbiz.us team for providing the patch work.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618336 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 11:34:57 +00:00
Jacques Le Roux 6b819dc71b Correct indentation, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1614736 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 18:42:46 +00:00
Jacques Le Roux 341821ecd6 Better solution for the Party Tax Id, thanks to Adrian and Pierre comments
Now the Party Tax Id is shown under the other parties information
No needs for a differentiation between vendor and client 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1614734 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 18:38:41 +00:00
Jacques Le Roux 1fa4852b76 Better formatting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1614592 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 09:17:17 +00:00
Jacques Le Roux c8f1640aeb This is useful when you have more lines in the right header column. It then prevents an override from the header left column
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1614590 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 09:07:57 +00:00
Jacques Le Roux 1436c1a16e In accounting, replaces billingParty by billToParty which is more clear (actually billingParty was a wrong name)
Introduces a billToPartyTaxId, this is now mandatory in at least France for VAT (http://vosdroits.service-public.fr/professionnels-entreprises/F31808.xhtml), and might exist in other countries as well

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1614562 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 06:59:17 +00:00
Jacopo Cappellato c7b517df80 Fixed bug reported in OFBIZ-5595 by nguyenthang: invoices status change was not working after the refactoring of the screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609087 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 10:42:02 +00:00
Jacopo Cappellato 92fafc6905 Fixed broken and unnecessary column.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609076 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 10:22:52 +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 b169a7dcfc Missed to commit GetAccountOrganizationAndClass.groovy in previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1547745 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 09:35:22 +00:00
Jacques Le Roux 777b0ec794 I made a mistake in r1527171. When I removed the call to GetInvoiceItemTypes.groovy in InvoiceScreens.xml I did not notice it was also generating the AccountOrganizationAndClass list.
This fixes it by renaming GetInvoiceItemTypes.groovy to GetAccountOrganizationAndClass.groovy and removing the now useless invoiceItemTypes list inside it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1547742 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 09:29:59 +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
Jacques Le Roux 5c4bb0a2b4 Reverts r1518777
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1522675 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 17:36:45 +00:00
Jacques Le Roux d6eaefbeb6 This fixes "Net before overhead report generates an error" https://issues.apache.org/jira/browse/OFBIZ-5267
This is related with r1361130, where the birt component was moved from framework to specialpurpose.

The fix is to create the possibility of a loose coupling from applications controllers to specialpurpose controllers. For that an if-present attribute is added to the include element. When used, if the included controller does not exist, instead of an error and a stack trace, a warning is thrown (only in English, for developers) suggesting to checkout the component from trunk. Indeed, in the current case, this situation should only arise in release after 12.04 where the birt component, like all others but the ecommerce component, had been removed. This can be used in other cases, but for now only the component level is covered.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518777 13f79535-47bb-0310-9956-ffa450edef68
2013-08-29 19:37:44 +00:00
Hans Bakker ff9107cb25 replace groovy file with new view and add orderitemSeqId to invoiceitemlist
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512132 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 03:08:25 +00:00
Hans Bakker 9f45dde852 remove a non functional jquery error messaging in costcenter perc screens with the standard, but working messages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1503615 13f79535-47bb-0310-9956-ffa450edef68
2013-07-16 08:41:17 +00:00
Hans Bakker 392374d22d add orghanizationParty Id to the costcenter list, because the referenced glaccountId can come from several different companies in the hierarchy
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502418 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 03:29:22 +00:00
Hans Bakker 6d7fd95df4 more consistent namimg of requests,screens and forms for import/export invoices
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502149 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 08:33:24 +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 e8c8ef35e9 applications from invoice not working
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1498848 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 09:07:55 +00:00
Hans Bakker 9febbb5ee6 reduce size of percentage field in costcenter screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1496362 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 07:08:18 +00:00
Hans Bakker 7a52186af0 show on the costcenter screen that the content of the input fields is a percentage
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1496346 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 04:10:21 +00:00
Hans Bakker cecc38b6b6 fixed problem of not able to add accounting company, caused by r1494034 and reported by Pierre at https://issues.apache.org/jira/browse/OFBIZ-5229
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1494435 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 03:59:17 +00:00
Scott Gray 85f3137230 Groovy script cleanup, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493507 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 13:06:04 +00:00
Scott Gray 99a58796d1 Groovy script cleanup, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493506 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 12:57:18 +00:00
Scott Gray a5fc6fad11 FIX: The Sales/Purchase Invoice GlAccount Override screen would always so the Remove button even when no overrides were in place
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493505 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 12:51:52 +00:00
Scott Gray 57503bd2b5 Simplified filtering in groovy script
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493500 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 11:55:28 +00:00
Jacques Le Roux 28b891cb20 A patch from Jeremy Olmstead for "Unable to search accounting transaction entries by productId " https://issues.apache.org/jira/browse/OFBIZ-5160
From the FindAcctgTransEntries screen, enter a part number to search for...you will still get a complete list of all transactions because the form field name is produtId instead of productId.  After searching relevant document types it turns out there are a few places where produtId is used instead of productId, the patch is meant to fix them all.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1460116 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 08:27:30 +00:00
Adam Heath 12934702ec Add AgreementFacilityAppl entity and screens. There is no code that
deals with the data yet, however.  This is modeled after
AgreementProductAppl minus the price.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1413810 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 20:09:17 +00:00
Jacques Le Roux 9fd4ddb462 Closes "correct "javascript:void();" to "javascript:void(0);" to make it syntax valid" reported by Leon https://issues.apache.org/jira/browse/OFBIZ-4970
Firefox will throw syntax error if you call javascript void function without parameter.

jleroux: I did not reproduce with FF14 on XP (modern browsers correct by themselves) but I agree it's a better syntax. So I changed all where it was needed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369555 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 11:27:20 +00:00
Jacopo Cappellato c6ef77ac59 Removed the old and unused "serviceReaderUrls" context-param from all the web applications.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1364217 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 06:33:26 +00:00
Jacopo Cappellato 3aa85842f2 Moved the "birt" component out of framework to specialpurpose; moved all the birt reports from the applications to the birt component itself, where the application webapps are overriden to inject the reports; the end result is the same but since all these birt reports are simply a proof of concepts that cannot be used in production (for example they use hardcoded userlogin for authentication) the birt component should be probably disabled by default (but this will be discussed in the dev list).
Now it will be very easy to extract the birt component (for OFBiz Extras) or to disable it when deploying to production or when interested in sparing some hardware resources. I did some cursory tests but since the work has been challenging and rather complex I would appreciate testing help and also reviews to finds chunks of code that I could have missed and that could be moved out as well.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361130 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 09:48:32 +00:00
Hans Bakker ff9542a4eb update revision 1352768 to use CREATE instead of ADMIN, suggestion from Jacopo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1357450 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 03:07:58 +00:00