Commit Graph
12919 Commits
Author SHA1 Message Date
Jacopo Cappellato f8700a63fb Misc enhancements to the ship group item management and other misc cleanups:
* added ability to set and edit shipBefore and shipBy dates
* enhancements to the checkout ship options screens
* fixed forms in ship groups screenlet of order detail to support orders with more than one ship group
* fixed uri of checkout tabs (removed an extra /)





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889644 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 14:51:06 +00:00
Ashish Vijaywargiya e667b5c554 Applied patch from jira issue - OFBIZ-3330 - Restrict Canceled/Frozen Financial Account operation in Financial Account tab.
*  User can not perform following operation for Cancelled or Manually Frozen FinAccount, Provide check on Ui as well as at service level .

   1. Can not assign role from screen https://localhost:8443/accounting/control/EditFinAccountRoles?finAccountId=SC_CHECKING
   2. Can not create transaction from screen https://localhost:8443/accounting/control/EditFinAccountTrans?finAccountId=SC_CHECKING
   3. "Create New Financial Account Reconciliations" button will not display on screen https://localhost:8443/accounting/control/FindFinAccountReconciliations?finAccountId=SC_CHECKING
   4. If FinAccount is frozen or canceled then do not allow user to update the financial account, first user have to change status to active then he/she can update FinAccount Record .

Thanks Awdesh & Sumit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889604 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 13:02:43 +00:00
Ashish Vijaywargiya adad2d41a1 Applied patch from jira issue OFBIZ-3326 - Imporve Cash Flow Statement.
Currently Cash flow statement showing many sections like asset, liability ..... that are not required. Sections contains account payable, receivable and these should no part of cash flow.
So doing improvements in Cash Flow Statement by showing only Cash_Equivalent transactions.

New implementation contains three parts -

    * Opening Cash flow
          o It will contain sum of transactions form last closing period to current from date.
    * Period Cash Flow
          o It will contain sum of transaction during date range.
    * Closing Cash flow
          o It will contain sum of amounts of opening cash flows and closing cash flow.

There is a last section of totals, which will in same format of other reports. 

Also PDF and CSV feature added in this work.

Thanks Sumit & Jacopo for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889598 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 12:54:18 +00:00
Ashish Vijaywargiya 5a9d044123 Applied patch from jira issue OFBIZ-3324 - Showing two "Find" button on screen.
Thanks Arpit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889592 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 12:30:35 +00:00
Jacques Le Roux 908852b731 Remove some useless types, Number covers: BigDecimal, BigInteger, Byte, Double, Float, Integer, Long, Short
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889319 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 16:41:13 +00:00
Jacques Le Roux 244d0a61ba A patch from Erwan de FERRIERES "Center labels when in front of more than 1 line control" (https://issues.apache.org/jira/browse/OFBIZ-3325) - OFBIZ-3325
When a label is in front of a more than 1 line control, like a multiple select, it is staying on the botton of the cell, so this will center the label, to make it more "in front" of the control. An example can be found at this page : https://localhost:8443/ap/control/CommissionRun

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889279 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 14:50:54 +00:00
Bilgin Ismet Ibryam 25bf7c9ba7 Removed an extra quote from tree renderer.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889190 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 11:14:12 +00:00
Jacques Le Roux c10003199d A patch from Harmeet Bedi "update required JDK constant to reflect JDK 1.6 requirement." (https://issues.apache.org/jira/browse/OFBIZ-3323) - OFBIZ-3323
Update gives a nice message instead of ugly stack trace when anyone attempts to run with JDK 1.5


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889124 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 07:34:03 +00:00
Jacques Le Roux 884cc9ce8f I forgot this file in r889014 - OFBIZ-3317 "Update and correction for the visual HTML editor"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889122 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 07:26:54 +00:00
Jacques Le Roux 8966894bd1 Missing files in r888763 (thanks to Sharan Foga who noticed it)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889121 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 07:22:53 +00:00
Ashish Vijaywargiya 0507a954f6 Part of OFBIZ-3320 - Now you will see "Find" button on Lookup forms.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889088 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 04:50:29 +00:00
Ashish Vijaywargiya 88a092d2f9 Applied patch from jira issue OFBIZ-3320 - improvement in Find screen.
Fix title of buttons to Find, for all the find screens to maintain consistency. 

Thanks Chandan for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889084 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 04:29:19 +00:00
Scott Gray 84445caafe Fix typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889043 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 01:02:37 +00:00
Scott Gray ced8fd1a54 Reverted previous temporary security fix for request parameters being directly inserted into survey forms and changed all SurveyWrapper instances using this method to instead store the parameter map in the session temporarily.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889040 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 00:53:47 +00:00
Scott Gray bcaacf4fd1 Added new class SurveyEvents and event method that wraps a createSurveyResponse service call and additionally restores a previously stored request parameter map
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889039 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 00:52:53 +00:00
Scott Gray a56b0d4ea2 Added two new methods to UtilHttp to assist in temporarily storing and retreiving request parameters to/from the session.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889038 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 00:52:37 +00:00
Hans Bakker 79e409b0f8 some more small changes o the readme file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889021 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 23:50:50 +00:00
Hans Bakker acec87649f update README file with java 1.6 and wiki change
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889019 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 23:26:10 +00:00
Jacques Le Roux 22741bbb34 I found Long to appear too much. While at it I add all primtives wrappers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889015 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 23:15:19 +00:00
Jacques Le Roux 1423f948ee A patch from Erwan de FERRIERES " Update and correction for the visual HTML editor" (https://issues.apache.org/jira/browse/OFBIZ-3317) - OFBIZ-3317
The visual editor is using this line to fix a minimum height for the textarea box.
if (!o(idTa).rows < 5) o(idTa).rows='15';//IE won't use % from style
No matter the size we give it, it stays at 15. So I commented the line in the .js file. While I was at it, I updated whizzywig.js to the last version (55i ->59) and put the new toolbar icons system

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889014 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 23:07:02 +00:00
Anil Patel d24cb4b232 Removing Person First and Last name from required Parameters for the service. This will allow to implement simple create user login screen where user is able create account in system with username and password and then later populate rest of the account information.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888986 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 21:30:29 +00:00
Adrian Crum 5689f98d4a Fixed a bug in the demo data that was causing a primary key violation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888941 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 20:10:51 +00:00
Jacopo Cappellato 6e1ffe90ed Misc cleanups to the Gl Account Trial Balance; the html code was wrong and this was causing layout issues; now it is better but still needs more love.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888867 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 16:38:23 +00:00
Adam Heath 48a7d8470e Add a target for per-component quick testing. Can only deal with tests
that can run standalone.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888851 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 16:05:33 +00:00
Jacopo Cappellato fd4f4de5ae Fixed code that could cause infinite loops.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888825 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 15:06:42 +00:00
Jacques Le Roux da29268213 A patch from Sharan Foga (https://issues.apache.org/jira/browse/OFBIZ-2219) - OFBIZ-2219
More help files for the financial account bank reconciliation process so hopefully that is completed now. 
In this patch I've also created the placeholder files all the Agreement help documentation which I'll work on completing next.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888763 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 10:44:33 +00:00
Ashish Vijaywargiya f46fe43ac5 Improved UiLabels.
Changed received -> Received.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888750 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 09:39:39 +00:00
Anil Patel 513ac5bfb8 Check if there is any row with invalid data before enabling submit button.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888727 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 08:15:12 +00:00
Anil Patel 5bab69ad1c Adding field validation for each cost center share in glAccount.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888721 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 07:54:28 +00:00
Jacques Le Roux fe340b0b19 Some other forgotten changes done by hand.
Note that in ofbizwebsite/data/OfbizData.xml there are a lot of old tinylinks...
It'd be a pity to have to rewrite them all or to lost them :/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888587 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 21:54:04 +00:00
Jacques Le Roux 47c9613346 Some easy documentation (cwiki) links changes following r888510
I have found a way to fix tinylinks :D http://confluence.atlassian.com/pages/viewpage.action?pageId=162988142

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888559 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 20:23:23 +00:00
Jacques Le Roux 4330b121f9 Update the link to documentation (also updated)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888510 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 18:42:35 +00:00
Jacques Le Roux 1b81cfb2dd A patch from Erwan de FERRIERES "Service invoked in service definition is wrong" (https://issues.apache.org/jira/browse/OFBIZ-3315) - OFBIZ-3315
The service invoqued (updatePartyNameFromPerson) for createPartyIdentifications is not existing in OFBiz, this patch correct the error

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888509 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 18:42:03 +00:00
Jacopo Cappellato aa321ed509 Enhanced the "Transaction Totals" financial reports with information about opening and closing balances; removed the "Monthly Trial Balance" report because the same (and improved) information is now available in the "Transaction Totals" report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888489 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 17:14:18 +00:00
Bilgin Ismet Ibryam 0a55b369ae Removed an extra <li> element and added a missing <a> element to htmlFormMacroLibrary.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888412 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 14:43:36 +00:00
Vikas Mayur 6de573c289 Removed assignment operator from the value being saved.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888381 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 12:56:46 +00:00
Jacopo Cappellato 3aa8844064 Cleanup for data preparatio script for accounting transaction totals report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888309 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 10:21:24 +00:00
Jacopo Cappellato 36e62e223b Renamed report month selection script; misc cleanups and enhancements to financial report screens.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888305 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 10:16:42 +00:00
Hans Bakker 0ad5266b1c add help screens also to the ofbiz general document
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888303 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 09:58:24 +00:00
Ashish Vijaywargiya a0eb848cb4 Applied patch from Awdesh covering issues reported on Mailing list for failing of test cases.
Now everything is working fine when we ran "java -Xmx1024M -jar ofbiz.jar -test -component='accounting'".

Following points are covered in this patch:

1) Created one more PaymentGroup record that is 9001 (Because same PaymentGroup record is being used in two different test cases so prepared individual record for each of them) .
2) Removed record "<PaymentGroupMember paymentGroupId="9000" paymentId="8002" fromDate="2009-07-11 12:28:45.315"/>" because no Fin Account Trans record is present corresponding to this and as per business process when we create deposit slip or check run one trans record is also created which is associated with payment group record ,also changed value in test case accordingly .

Thanks Awdesh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888270 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 05:47:09 +00:00
Jacques Le Roux 6be9a2c8ea Revert r887916, not a solution at all
I did not test eCommerce, it crashes at 1st load :/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888111 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 20:05:51 +00:00
Jacopo Cappellato 48969ba20c Added form definition that I have erroneously deleted; thanks to Sumit Pandit for the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888042 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 17:41:03 +00:00
Bruno Busco d0d9384a6e Added a new feature that allows to save the screenlet collapsed/expanded status as a userPreference. (OFBIZ-3271)
By default screenlets status are saved. A new "save-collapsed" screenlet attribute (default=true) can be used to disable this feature for selected screenlets.
An userPreference with key = screenlet.id+"_collapsed" is used to save the status.
Screenlets that share the same ID, share the same saved status also (i.e. all searchOptions screenlets used in the FindScreenDecorator use the same status). In order to have them separated a different ID should be specified.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888030 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 17:24:21 +00:00
Jacques Le Roux 01b091494e A patch from Erwan de FERRIERES "Resolve compiler warnings" (https://issues.apache.org/jira/browse/OFBIZ-3314) - OFBIZ-3314
ProductWorker.getProductvirtualVariantMethod
Those warning are due to a typo in the method name.

JLR : while I was at it, I also changed selectedProdcutId to selectedProductId

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887967 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 15:56:12 +00:00
Jacques Le Roux ef296bb420 A patch from Adrian Crum "ServerHit aborts transactions when trying to create entries with duplicate startTime(s)." (https://issues.apache.org/jira/browse/OFBIZ-2208) - OFBIZ-2208
This add synchronization for ServerHit entities creation. Hence startTime is no longer used. 
I have also removed some comment about the problem, and added one for startTime no longer used.

Note: If synchronization proves to slow down sites we could introduce a properties in serverstats.properties to switch from using it or not since I did not remove startTime from the method signature
Then we will use one or the other lines
-            serverHit.set("hitStartDateTime", new java.sql.Timestamp(startTime));
+            serverHit.set("hitStartDateTime", getNowTimestamp());


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887916 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 13:00:09 +00:00
Jacques Le Roux cf864f9b98 A patch from Erwan de FERRIERES "Mountpoint for the ofbiz website" (https://issues.apache.org/jira/browse/OFBIZ-3313) - OFBIZ-3313
Following Hans' commit for OFBiz website at the root of the webapp, images/css/etc... are not displayed. The component mountpoint is /, but should be /ofbiz
The patch is correcting this.
The website is then reachable at this address : http://localhost:8080/ofbiz/control/main

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887894 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 11:46:03 +00:00
Jacopo Cappellato c5e27c43d5 Misc layout enhancements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887874 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 10:07:29 +00:00
Jacopo Cappellato e55995a041 Implemented pdf and csv versions of the comparative balance sheet report; misc enhancements to the other financial reports.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887870 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 09:50:36 +00:00
Hans Bakker 4f1eda0b7a changed proposed by pierre smits, left however the sequence party/related oarties/contact in the left column because also this way in party manager
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887860 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 08:13:54 +00:00
Hans Bakker a58547a2b2 english and dutch label wron wayg around....as reported by Erwan in the mailing list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887858 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 07:57:04 +00:00