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
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
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
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
* new cash flow statement report from Sumit Pandit; this is a draft and a work in progress and it is only partially working at this stage
* reimplemented the comparative income statement
* misc enhancements to the other financial statements
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887752 13f79535-47bb-0310-9956-ffa450edef68
Remove links for adjustment on return screen is not working.
Steps to regenerate issue:
1) Create an sales order and complete order by 'Quick Ship Entire Order' from order detail page.
2) Clicks on Create return link on order detail page
3) Clicks on Select all checkbox and then click on 'Return Selected items'
4) On Return Items screen 'Remove' links for adjustment gives secure url error.
Thanks Arun for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887173 13f79535-47bb-0310-9956-ffa450edef68
In ordermgr when we update the items it will recreate the adjustments and promotion and cancel the previous promotion item, and showing deleted adjustment promotion item on the order view page (i.e showing duplicate promotion item with cancel status on order view page).
Steps to produce scenario :
– goto https://localhost:8443/ordermgr/control/main
– create aa sales order.
– on order view page click on "Edit Items" links.
– click on "Update Items" link.
Now on order view page it will show the duplicate promotion items of respective adjustment.
Thanks Arpit for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887172 13f79535-47bb-0310-9956-ffa450edef68
And generalized to all FTL files where needed.
I only tested for lookups, but should be ok, since the same trick is used in other FTL files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887166 13f79535-47bb-0310-9956-ffa450edef68
corrected the XML tests
added new functions in selenium for better conversion from selenese and use with the XML tests :
* echo
* verifyTextPresent
* verifyTextNotPresent
* assertTitle
* assertConfirmation
Removed comments
* waitForPageToLoad : just wait the page to load before any other action (time in ms)
* click : make a click on an element
* assertContains : assert an element contains some code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887126 13f79535-47bb-0310-9956-ffa450edef68
When you receive return for Manual Return Adjustment gives following error: org.ofbiz.webapp.event.EventHandlerException: Service invocation error (null)
Steps to regenerate error:
1. Create Return from Ordermgr > Return > New
2. Fill following information in the create Return form:
* From Party Id : Customer's party Id
* To Party Id : Company's PartyId
3. Click submit button.
4. Go to Return Item tab & select the order id from the dropdown and click on Load Order Item for Return.
5. Now in the Manual Return Adjustment section: Enter the details/reason for return, the amount & Select the return type "Store Credit"
6. Check the check box against Manual Return Adjustment fields and click "Return Selected Item" button.
7. Accept Return from Return Header screen or Return Item screen.
8. From The Return Header screen receive return.
Receive Return works fine if there is a product returned with the Manual Return Adjustment.
Thanks Akash for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887083 13f79535-47bb-0310-9956-ffa450edef68
just adding the needed lines in commonEntityLabels and adding the property ressource name for the entity VisualTheme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886745 13f79535-47bb-0310-9956-ffa450edef68
After doing research on this error I got exact steps to produce this error, reason of the error and solution for the error. Here are my findings:
Steps to reproduce the error:
1) Start placing sales order from Order manager application by taking DemoCustomer.
2) Add any two products into the cart, choose shipping address and shipping method.
3) And then land on Order terms screens. Now select Term Type = Payment (net days) or any of its subtype.
4) Do not enter Term days and click on add button.
5) Select offline payment and create your order.
6) Now from payment section of order detail page, click on "Receive Payment" button and receive payment for Personal check by entering the amount and clicking on save button.
7) Complete the order by clicking on "Quick ship entire order" button on Action block.
8) Note the Invoice Id created and go to Find Invoices screen of AR by accessing https://demo.ofbiz.org/ar/control/FindArInvoices
9) Enter the Invoice ID and click on search, You will find error page.
Reason of error:
1) getInvoicePaymentInfoList Service returns error (in ListInvoices.ftl) for invoices of some specific order in which Term type = Payment (net days) or any of its subtype and user forgot to enter Term days.
2) Due to this reason code breaks while calling getDayEnd class method inside getInvoicePaymentInfoList simple method of PaymentServies.xml
Solution of error:
1) I have handled this situation by adding validation on Order terms screen .
2) Validation is like if User selects, Term type = Payment (net days) or any of its subtype and not entered Term days , then Error message will be returned to user
3) Error message will prompt : Order Term Days is required for this term type.
Thanks Divesh for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886738 13f79535-47bb-0310-9956-ffa450edef68
- Replaced java.util.Date with java.sql.Date because the latter is used in ofbiz services.
- Replaced soap binding style from document to rpc, as this is the expected style in SoapEventHandler, ie the service name element, wrapping all the parameter elements in the soap body.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886727 13f79535-47bb-0310-9956-ffa450edef68