Commit Graph
7832 Commits
Author SHA1 Message Date
Jacopo Cappellato 22df920f51 Small layout improvements to the PDF version of the Balance Sheet
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883461 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 18:55:47 +00:00
Jacopo Cappellato 3279f9361e Small fixes for comments and formatting.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883449 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 18:35:26 +00:00
Jacopo Cappellato 287200a9ca A bunch of enhancements to demo data related to general ledger:
1) the value of inventory in gl now matches the value of inventory items
2) the purchase cost of fixed assets also matches the value in gl
3) fixed several demo accouting transactions with better accounts

Now the Balance Sheet looks in much better shape (but there is still a lot to do).



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883445 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 18:18:01 +00:00
Anil Patel 914591615d [OFBIZ-3251] Patch to fix Format the FinAccountTransAssociatedWithPayment section in the PaymentOverview screen. Thanks Aswath Satrasala for patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883410 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 17:02:08 +00:00
Jacques Le Roux ec52afdb2e Correct a label, reported by Sam Hamilton at " Wrong Label used when creating an employee" (https://issues.apache.org/jira/browse/OFBIZ-3248) - OFBIZ-3248
I used BabelFish (http://fr.babelfish.yahoo.com/translate_txt) to do the translations from Customer to Person (but for Romanian, Thai and Hindi where I used http://dictionnaire.sensagent.com/). Thai was the hardest because I did not know how to cut the sentences (it seems there are no words in Thai). I kept, in comments, the labels I was not sure about : hi_IN, ru, th and zh.

It was fun to do this, and amazing to see that all indo-european languages (in OFBiz) use something very near (for Russian I suppose because unable to read). I guess they all use a word which comes from the Latin Persona (which did not change in Italian)

Doing that I found an interesting tool : http://iate.europa.eu

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883387 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 16:09:54 +00:00
Ashish Vijaywargiya 9f43893c28 Applied patch from jira issue OFBIZ-2619 - Issues with Receive PO functionality.
-- updated patch with use of variable name modifiers in UEL arithmetic, as suggested by Adrian. 

Thanks Mridul for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883348 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 14:07:40 +00:00
Jacques Le Roux 49b2961e9c Fix few things in help files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883329 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 13:02:53 +00:00
Ashish Vijaywargiya 6449e9e2c0 Applied patch from Akash Jain.
Order Lookup is not working properly for Receive Inventory process.

Steps to reproduce :-

(1) Hit url
https://demo.ofbiz.org/facility/control/ReceiveInventory?facilityId=WebStoreWarehouse 
(2) Depress Lookup for Purchase Order Number. 
(3) First time it works proper there is shown list of purchase orders properly. 
(4) Depress LOOKUP button, now there is no purchase order in the result. 

Thanks Scott & Rishi for jumping in b/w and providing your useful comments on it.
For more details please refer: http://markmail.org/message/qrgrlpyk24f4jipy?q=Order+Lookup+is+not+working+properly+for+Receive+Inventory

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883328 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 13:02:51 +00:00
Hans Bakker 8142ef2fdc show communication even screens within in the communication portlet avoiding having required decorators.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883323 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 12:45:36 +00:00
Jacques Le Roux 23f65dfef7 Oops, I put a wrong tag in r883280 while doing some tests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883292 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 09:35:26 +00:00
Jacques Le Roux f64c440775 A patch from Surya Kusumakar "New feature to upload multiple Additional View Images at Product Content." (https://issues.apache.org/jira/browse/OFBIZ-3244) - OFBIZ-3244
Add a new feature in Product Content to add all four images at a time and one can preview those images in larger view on mouse over of particular image. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883280 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 08:48:43 +00:00
Adam Heath 820d11eb97 Deprecate UtilCache constructors, and add a create helper function.
This is the first step to making utilCacheTable concurrent, and
non-blocking.  To do so, the constructor has to have no side-effects.
This means it can't modify utilCacheTable itself; this will be moved to
the helper function created above.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883217 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 02:56:28 +00:00
Bilgin Ismet Ibryam 9190cdeb89 Renamed AgreementWorkEffortAppl entity to AgreementWorkEffortApplic in order to change relation types so that assigning WorkEfforts to Agreements is possible w/o specifying an agreementItemSeqId.
Added a migrateAgreementWorkEffortAppl service to migrate existing data to the new entity.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883140 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 20:17:38 +00:00
Bruno Busco 342e9cb614 Accounting application
Moved TabBar Menus from the "body" decorator-section to the "pre-body" decorator section.
This makes better the rendering of themes such as Dropping Crumbs.

Removed several redundant <section><widget> tags also

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883139 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 20:14:11 +00:00
Hans Bakker f8e9df50f0 A first proposal open for comments of the order OLAP entities. secas and initial load are on the way and implemeted following the same pattern as Jacopo's accounting entities
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883034 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 04:37:27 +00:00
Bruno Busco 360898c331 Removed specific menu style that is no longer needed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883021 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 00:41:00 +00:00
Bruno Busco e4c40b9a3c Moved several TabBar Menus from the "body" decorator-section to the "pre-body" decorator section.
Having the TabBar menu in the "pre-body" seems to be the right pattern (already present in several screens) that should always be followed.
This change allows a much better rendering of the Dropping Crumbs while having a very little TabBar menu shift in other themes.
All other screens will be changed accordingly.
This commit also fixes OFBIZ-3240

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883020 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 00:39:41 +00:00
Bilgin Ismet Ibryam 8527fba151 Added missing lookup requests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882796 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 00:01:44 +00:00
Bruno Busco aee9b7b437 Moved some application labels out of the framework
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882731 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 21:50:31 +00:00
Bruno Busco 7a275e9488 Fixed TabBars layout problems for Dropping Crumbs theme.
The offending TabBars include-menu tags have been wrapped with a <container style="no-clear">.
I preferred this method instead of what suggested by Adrian in rev.881027 (that consists in changing the menu style) because in principle the menu could be used in other screens where there is no need of this (no multi-column) and also because in this way there is no needs to change the menu every time we change the screen layout.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882725 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 21:43:15 +00:00
Ashish Vijaywargiya 3b245ade90 In case of variant product it returns NPE while calculating purchase price and base price is not been set or we can say data is not prepared for it.
Thanks Amit for your help.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882644 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 17:16:20 +00:00
Ashish Vijaywargiya 9ae56f1ef1 Minor correction for service name - Thanks Amit for reporting the issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882641 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 17:01:37 +00:00
Jacques Le Roux d41f62b0a0 A patch from Carsten Schinzer " Extend ContentOperationData for LEGAL_INFO." (https://issues.apache.org/jira/browse/OFBIZ-3234) - OFBIZ-3234
The ContentOperationsData.xml file lists ContentPurposeTypes.
I found that among the typical company / ecommerce content, there is also legal information such as: Terms and Conditions, Imprint / Legal Notices, Data Protection Policies, other policies.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882631 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 16:25:07 +00:00
Ashish Vijaywargiya 70548f0b98 Applied patch from jira issue OFBIZ-3077 - Error for productStoreId when click on productId link from showcart of purchase order.
Steps regenerate error:
1) Hit url: https://localhost:8443/ordermgr/control/orderentry
2) Select purchase order with supplier
3) Add product for order
4) Click on the productId from showcart page

it will generate error as following
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen component://order/widget/ordermgr/OrderEntryCatalogScreens.xml#productdetail: java.lang.NullPointerException: Cannot get property 'productStoreId' on null object (Cannot get property 'productStoreId' on null object)

Notes from Mridul:
As Joe has already stated that we need to do few adjustments in the code based on presence of productStoreId. I would vote for:

   1. Showing all reviews.
   2. Skipping surveys.

The third section, which is the most important one and needs productStoreId is getProductVariantTree service invoked in ProductDetail.groovy (line 232). getProductVariantTree service needs productStoreId to get available inventory. In case of PO's we don't need to check for available inventory at all. Now for being able to use the same code to display product detail page in case of a PO, we will need to make modifications to getProductVariantTree service too, which can be done in two ways:

   1. Add a boolean IN attribute checkInventory to service definition, if its true check the available inventory and if false do not.
   2. A check on productStoreId in the implementation can serve our purpose too.

I like #1 more as it won't eliminate importance of productStoreId in case of a sales order. Looking forward to suggestions from community to handle this situation.

Thanks Amit for the contribution. Mridul Thanks a lot for providing useful notes for the implementation.
Guys, I appreciate your coordination on this!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882618 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 15:54:39 +00:00
Vikas Mayur 2f1dd4a7db Added user friendly error messages following scenarios:
Case 1
(a) Go to Facility -> Shipment, click on New Shipment link.
(b) Select "Status Id = Input", "Origin Facility = Web Store Warehouse" & "Shipment type Id = Sales Shipment" then depress Update button.
(c) Now depress Items tab, enter product Id & quantity then depress create button.
(d) Select "New" for Add to Package dropdown and depress Add button.
(e) Now depress Delete button for Item then it will show error message that can be understood by a warehouse manager.

Case 2

(a) Follow #a to #d process in Case 1
(b) Depress Packages tab.
(c) Depress Delete button for Package then it will show error message that can be understood by a warehouse manager.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882555 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 13:58:42 +00:00
Jacques Le Roux 8a6de29205 Format few lines
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882536 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 12:29:13 +00:00
Ashish Vijaywargiya 0ff0adf348 Applied patch from Mukesh Marathe to remove the error message from costcenter page after short duration.
Steps to reproduce:
Go to - https://localhost:8443/accounting/control/CostCenters

-- Enter the values for cost center 1, 2 and 3 so that the total is not equals to 100.
-- The error appears on click submit, now correct the values in respective fields so total is equals to 100.
-- On click on submit the values save in the DB, but error still shows on the page - remove error message after short duration.

Thanks Mukesh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882535 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 12:28:10 +00:00
Jacques Le Roux 6e32e64af0 Format few lines (playing with my new tool as explained on dev ML)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882493 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 10:49:10 +00:00
Hans Bakker 4f65ccd201 commnication is meant for all communication events not only for the logged on person, now showing properly again
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882463 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 09:30:03 +00:00
Ashish Vijaywargiya e474a6eca2 Applied patch from jira issue OFBIZ-3208 - On order view page when clicking on "Create As New Order", the adjustments Shipping and Handling and Sales Tax are duplicated.
Patch will resolve the following Issues

1) Shipping and Handling Charges are added twice in new order amount.
2) Sales Tax are added twice in new order amount.
3) Add extra tax on shipping and handling charges for new order.
4) When click on "Create as New Order" Link, it is Giving NPE on some Promotion (Happy Hour
Promotion 9020).
5) Click on "Edit Items" Link and then "Update" Link it is it is Giving NPE on some Promotion (Happy
Hour Promotion 9020).

Thanks Arpit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882454 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 08:59:05 +00:00
Jacques Le Roux 96ca14f622 A patch from Sharan Foga "Special feature to allow submitting patches for online help update" (https://issues.apache.org/jira/browse/OFBIZ-2219) - OFBIZ-2219
Frmatting and tidy up using the itemized and orderedlist docbook commands for Tax Authorities. I've also included some documentation on the Bank Reconciliation process.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882452 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 08:52:53 +00:00
Hans Bakker c5732ca682 header-link-style and header-link not working and only used in 2 forms in the system, removed. Assumed sortfield took over this fucntionality?
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882423 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 06:02:12 +00:00
Jacques Le Roux 5f3dd64e70 Revert r882217 and by consequence r882217 from Adam's advice on dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882342 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 22:45:56 +00:00
Jacques Le Roux 4094fe09ad Fix a possible conflict (MODE is a SQL reserved word). Thanks to Adrian on dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882337 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 22:28:56 +00:00
Jacques Le Roux eb2fdcdac9 Fix https://issues.apache.org/jira/browse/OFBIZ-3229 in a slightly different way
a) FixedAssetGeoLocation had its error response going to the wrong view "EditFacility" (which did not exist in this controller).
b) taxAuthorityVATReport was pointing to a view-map entry that was commented out; these are not used yet: WIP...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882326 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 22:10:06 +00:00
Jacques Le Roux d28f95ad2b Complete 882210, contains InvoiceWorker.java (got a conflict) and some other changes, mostly enhanced for loops instead of iterators with while loops
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882217 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 17:44:00 +00:00
Jacques Le Roux bff67dc987 A patch from Marc Morin "Resolve java warnings exposed in Eclipse : application - accounting" (https://issues.apache.org/jira/browse/OFBIZ-3157) - OFBIZ-3157¨
Patch for generic's warnings for accounting application 

I will soon commit InvoiceWorker.java (got a conflict) and some other changes I want to do, mostly enhanced for loops


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882210 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 17:26:03 +00:00
Ashish Vijaywargiya b261859529 Applied patch from jira issue OFBIZ-3226 - "Quick lookup" screen for purchase order is broken when adding item from order detail page in edit mode.
Steps to produce the bug:

1) Place a purchase order
2) Once your order is placed then click on "Edit items" button of "Actions block"
3) After this down at the bottom click on "Quick lookup" button
4) You will land on screen which is broken 

Thanks Divesh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882132 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 12:49:07 +00:00
Ashish Vijaywargiya c4706b7adc Applied patch from jira issue OFBIZ-3225 - cancelAllBackOrders scheduled service should not attempt to cancel "Completed" Orders.
-- cancelAllBackOrders scheduled service should not attempt to cancel "Completed" Orders. When this service runs for Completed Purchase Orders, it throws error as Completed cannot be cancelled.

Thanks Divesh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882131 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 12:46:54 +00:00
Ashish Vijaywargiya d1c4fc90ae Conditional check for billingAccount amount. If no account limit is set with party's billing account then 0.00 will be shown on checkout page. Thanks Akash for the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882127 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 12:30:58 +00:00
Jacques Le Roux 65601eeccd A patch from Abdullah Shaikh "SagePay payment gateway integrated" (https://issues.apache.org/jira/browse/OFBIZ-3180) - OFBIZ-3180
SagePay payment gateway integrated. All the gateway parameters are configurable using the Payment gateway configuration, also the transaction types that are available in sagepay are configurable.

I moved the httpclient httpcore jars to base/lib (also new jcip-annotations-1.0.jar)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882103 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 11:01:29 +00:00
Ashish Vijaywargiya 6cd34053b4 Applied patch from jira issue OFBIZ-3218 - By entering OrderId in Pack Order Screen from Facility manager, and clicking on "Weigh Package only" is not rendering text boxes to enter weights and dimension of packages.
Steps to produce the bug:

1) Place a sales Order,
2) Go through Verify Pick process
3) Go to Packing Screen
4) Enter OrderId and then click on "Weigh Package Only button ."
5) Text boxes to enter weights and dimension of packages should render.

Thanks Divesh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882068 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 08:09:59 +00:00
Jacques Le Roux b53c6ab6d0 Some itemizedlists and orderedlists in Accounting Help
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882067 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 08:03:56 +00:00
Scott Gray 04ad21560d Fixed incorrect camel casing in the test case name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882058 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 07:06:33 +00:00
Scott Gray 6d66bd096a Removed code block that was causing invoices with types other than sales or purchase to return a total of zero (e.g. a commission invoice)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882048 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 05:00:06 +00:00
Scott Gray d524c9b93a Corrected unitCosts for test inventory I created yesterday
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882045 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 04:24:44 +00:00
Scott Gray a597b2a624 Added missing paymentMethodId to the testGlPostingOnCheckRun test, now passes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882044 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 04:21:54 +00:00
Scott Gray 92a2370f03 When creating gl entries for outgoing payments, get the glAccountId for the credit entry from the PaymentMethodTypeGlAccount record for the given payment.paymentMethodTypeId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882043 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 04:18:24 +00:00
Scott Gray 3dc7e6e7a2 Fixed the testDepositWithdrawPayments and testDepositWithdrawPaymentsInSingleTrans tests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882034 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 02:50:39 +00:00
Bruno Busco e1b3275805 Moved some application labels out of the framework (more to come)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882011 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 00:10:52 +00:00