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
This patch do not modify the files, but is just for cleaning this files :
seleniumXml.java
seleniumIDEconverter.java
There is a lot of LOC commented in the code, a lot of whitespaces and so on. This patch removes all of this.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886301 13f79535-47bb-0310-9956-ffa450edef68
This line was causing the error : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
What Erwan done :
* corrected the imports in the script
* used sed to remove this line, it is now creating a temp file without the line which is given to the converter.
I have personally modified the convertSeleniumIDE.bat file but did not test (nor Linux version, I suppose it's ok). I guess this will mostly used on Linux Server and should work anyway.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886233 13f79535-47bb-0310-9956-ffa450edef68
In this new version, I :
* removed the graphic tag
* added the mediaobject tag
* updated the selenium help page
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886157 13f79535-47bb-0310-9956-ffa450edef68
Added two fields to the acctg trans entry totals view entity, that will be used to compute balances in the upcoming improved script for the income statement.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886138 13f79535-47bb-0310-9956-ffa450edef68
When running a seleniumXML test, the locale used should be English as the buttons or links are defined in English in the test files.
Adding the language choice before logging in the application will then resolved errors due to a bad localization.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885752 13f79535-47bb-0310-9956-ffa450edef68
this patch will allow to diplay images in the help system.
The help images will be located in framework/images/webapp/images/help (one is included in this issue)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885748 13f79535-47bb-0310-9956-ffa450edef68