Commit Graph
205 Commits
Author SHA1 Message Date
Sebastian Berg 18b83b91c2 Fixed: Unable to add product (of ASSET_USAGE type) in order OFBIZ-10791
Thanks Priya for providing the patch
2021-02-15 17:56:35 +01:00
Jacques Le Roux e7b3169d03 Improved: Rename some connoted words like blacklist and whitelist (OFBIZ-12168)
Renames respectively blacklist and whitelist to denylist and allowlist in
several places.

There are still a lot of master word which can be replaced by main, but not in
contexts where slave is also used. I'll discuss that on dev ML again...

Provides the migrateOldOrderBlacklistAndOldOrderBlacklistType service to migrate
records from OrderBlacklist and OrderBlacklistType entities to new OrderDenylist
and OrderDenylistType entities
2021-02-09 09:55:39 +01:00
Akash Jain 68d210a7d0 Improved: Purchase Order Email Support (OFBIZ-11864) 2020-08-03 17:29:13 +05:30
James Yong 2f557b7fba Reverted: Use Compound Widget on rest of the project (OFBIZ-11821)
Verbose and may better suit in custom implementation.
2020-06-20 20:06:42 +08:00
James Yong 28809d71d8 Improved: Use Compound Widget on rest of the project (OFBIZ-11821)
Refactor for Find Request
2020-06-14 11:40:16 +08:00
Suraj Khurana 3615f5b842 Improved: Converted all CustRequestContent related CRUD services from simple to entity-auto (#94)
* Improved: Converted all CustRequestContent related CRUD services from simple to entity-auto
(OFBIZ-11627)

* Improved: Added seca rule for checkStatusCustRequest while invoke and updateCustRequestLastModifiedDate while commit for services related to CustRequestContent.
2020-05-02 17:00:48 +05:30
Jacques Le Roux 67531d8bb2 Improved: "auth" should be true for all the request url used for Application
components

(OFBIZ-4956)

Currently there are some URLs present in application components with
auth="false". So anyone can hit these URLs and access these resources without
authorization.
I think all the URLs should be secure with auth="true"

jleroux: I have also fixed the dataResourceId="GZ-DIG"

Thanks: Amardeep Singh Jhajj for report and initial fix
2020-03-14 08:51:23 +01:00
Jacques Le Roux 531793820e Improved: Add a discussion feature in order detail view for following
communication about the order (mail, phone etc.)
(OFBIZ-11210)

This is in order detail view for following communication about the order 
(mail, phone etc.) to keep an eye about all com' event linked to the order.

Thanks: Carl Demus

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867581 13f79535-47bb-0310-9956-ffa450edef68
2019-09-26 15:11:52 +00:00
Deepak Nigam 5e6c96d8bb Implemented: The feature where a user will be able to add different types of content(image, document, URL, etc.) to an order.
(OFBIZ-7257)
Here is an implementation plan for the proposed solution. 
Order Attachment Flow:
1) Show 'Attachments' instead of 'Image' on the order view screen.
2) If there are any attachments associated with the order, then their information will be displayed in the form of a button(Content link) else 'No Attachment' label should be shown.
3) If no attachments are there, then along with the label, a button(Add Attachment) will be displayed.
On clicking the Add Attachment button, a user will be redirected to a page where he/she can add different types of content(image, document, URL, etc.) to the order.
Order Attachment Modeling:
Used OrderContent as the entity to store the content and order association.
Created OrderContentType data for an image and document for starters.

Thanks Avnindra Sharma for reporting the original issue, Devanshu Vyas for providing the patch and Jacques for review and suggestions.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1861853 13f79535-47bb-0310-9956-ffa450edef68
2019-06-22 12:06:43 +00:00
Jacques Le Roux 69587ffec2 Fixed: Replace request-redirect w/ no redirect-param attribute by
request-redirect-noparam
(OFBIZ-9997)

Reverts all the rest from r1816180, and, after reading carefully the code used 
for "request-redirect" in RequestHandler (and downward), fixes the documentation 
in site-conf.xsd


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1859800 13f79535-47bb-0310-9956-ffa450edef68
2019-05-23 16:36:37 +00:00
Suraj Khurana 443bac5d8f Improved: Added support for Inventory (Supply) Allocation Planning.
(OFBIZ-10518)
Thanks Deepak Nigam for initiating this feature and providng the patches, Arun Patidar for review and Swapnil Shah for design discussions.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1858270 13f79535-47bb-0310-9956-ffa450edef68
2019-04-27 13:05:30 +00:00
Nicolas Malin c7d7b23144 Improved: Migrate from minilang to entity-auto createQuoteWorkEffort et deleteQuoteWorkEffort.
(OFBIZ-10553)
But createQuoteWorkEffort is not a crud service on entity QuoteWorkEffort because it is linked to a seca to call createWorkeffort before if a workEffortId is not present in context.

<eca service="createQuoteWorkEffort" event="in-validate">
   <condition field-name="workEffortId" operator="is-empty"/>
   <action service="createWorkEffort" mode="sync"/>
</eca>

I converted this service createQuoteWorkEffort has a real Crud service and create an other ensureWorkEffortAndCreateQuoteWorkEffort to simulate the attendee process. Now we have a coherent service naming and not surprise for developer .
To manage the service createQuoteWorkEffort as deprecated, I define it twice

     <service name="createQuoteWorkEffort" default-entity-name="QuoteWorkEffort" engine="entity-auto" invoke="create" auth="true">
        <deprecated use-instead="ensureWorkEffortAndCreateQuoteWorkEffort" since="Upcoming Release">
            use createQuoteWorkEffort to create a workeffort has been deprecated for best pratice naming reason, use ensureWorkEffortAndCreateQuoteWorkEffort instead.
            Now createQuoteWorkEffort work as a crud service on QuoteWorkEffort
        </deprecated>
    </service>
    <service name="createQuoteWorkEffort" default-entity-name="QuoteWorkEffort" engine="entity-auto" invoke="create" auth="true">
        <description>Create a new QuoteWorkEffort</description>
        <required-permissions join-type="AND">
            <check-permission permission="ORDERMGR" action="_CREATE"/>
        </required-permissions>
        <auto-attributes mode="IN" include="pk"/>
     </service>

First to alert on deprecation and second ensure that the definition work fine.
In log we will have an alert on the deprecation and an alert on the duplicated definition during the deprecation time.

Thanks to Antoine Ouvrard, Gil Portenseigne, Leila Mekika and Mathieu Lirzin for their review

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1847056 13f79535-47bb-0310-9956-ffa450edef68
2018-11-20 20:19:34 +00:00
Suraj Khurana 0c59f7ac61 Improved: Consistency and Readability improvements for event tag (controller.xml).
(OFBIZ-8965)
Thanks Ankush Upadhyay for reporting and Devanshu Vyas for providing the updated patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1845086 13f79535-47bb-0310-9956-ffa450edef68
2018-10-29 08:14:55 +00:00
Suraj Khurana 1278d00e50 Improved: Rename deletePartyContactMechPurpose* services with proper names.
Thanks everyone for discussions.
(OFBIZ-10398)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1836874 13f79535-47bb-0310-9956-ffa450edef68
2018-07-28 08:25:25 +00:00
Jacques Le Roux f939ba4767 Improved: Replace deleteRequirement service by entity-auto
(OFBIZ-10400)

Also, introduces deleteRequirementAndRelated service which will delete all 
related entity records before deleting requirement. This new service is used 
in place of deleteRequirement for history compatibility reason

Thanks: Suraj

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1831542 13f79535-47bb-0310-9956-ffa450edef68
2018-05-14 07:46:50 +00:00
Jacques Le Roux a8b7e77ec3 Improved: no functional change removes a duplicate getAssociatedStateList
request map already present in the common-controller.xml

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826780 13f79535-47bb-0310-9956-ffa450edef68
2018-03-15 10:22:42 +00:00
Jacques Le Roux 17d7246e06 Improved: Replace request-redirect w/ no redirect-param attribute by
request-redirect-no-param
(OFBIZ-9997)

There was a typo in r1816180 , this fixes it and adds plugins part



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816183 13f79535-47bb-0310-9956-ffa450edef68
2017-11-23 18:42:23 +00:00
Jacques Le Roux dfc7fb084a Improved: Replace request-redirect w/ no redirect-param attribute by
request-redirect-no-param
(OFBIZ-9997)

This follows the discussion at http://markmail.org/message/sbfdlhntdzziqeyz



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816180 13f79535-47bb-0310-9956-ffa450edef68
2017-11-23 18:21:51 +00:00
Nicolas Malin 2e9a000287 Fixed: Consistency and Readability improvements for view-map tag (OFBIZ-9110)
Consistency on the attribute order for view-map element as : name, type, page
Thanks to Ankush Upadhyay and Devanshu Vyas for the issue and the corrective patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805892 13f79535-47bb-0310-9956-ffa450edef68
2017-08-23 12:18:09 +00:00
Arun Patidar 4da1003bae Improved:On create order, the page shows orderview screen, but Url does not change. It shows processorder. (OFBIZ-9462)
Thanks Renuka Srishti for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801273 13f79535-47bb-0310-9956-ffa450edef68
2017-07-08 10:53:55 +00:00
Deepak Dixit 65f97c28f3 Improved: From Date and Thru Date doesn't reflect on List Quote Roles screen.Applied slightly different patch from jira issue (OFBIZ-8266)
Thanks Akshay Modak for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1792272 13f79535-47bb-0310-9956-ffa450edef68
2017-04-22 08:26:39 +00:00
Deepak Dixit d09255c0b7 Reverted: Minilang code readability and consistency improvements done at r#1768222, this commit reversed key and description of drop-down in the code.
(OFBIZ-9114)

Thanks  Wei Zhang for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1772880 13f79535-47bb-0310-9956-ffa450edef68
2016-12-06 12:37:42 +00:00
Divesh Dutta 70eb7ff508 Improvement: Minilang code readability and consistency improvements.
(OFBIZ-8929) (OFBIZ-8930) (OFBIZ-8953) (OFBIZ-8965) (OFBIZ-8972) (OFBIZ-8986) (OFBIZ-8991) 

Thanks: Ankush Upadhyay, Anuj Jain, Abhijeet for your patches. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768222 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 14:34:00 +00:00
Jacques Le Roux e2415807c0 Fixed: deleteCustomerTaxAuthInfo page called from /ecommerce/control/viewprofile
(OFBIZ-4106)

Completes previous commit at r1764158: moves deleteCustomerTaxAuthInfo request 
from ecommerce to order where it's only used


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1764176 13f79535-47bb-0310-9956-ffa450edef68
2016-10-10 20:16:46 +00:00
Mridul Pathak db98226bf3 [OFBIZ-7529] Part 3 of "Delete stale java files from applications and framework". Deleted following files/directories, their references and example implementations -
framework/webapp/src/main/java/org/apache/ofbiz/webapp/view/JasperReportsJXlsViewHandler.java
framework/webapp/src/main/java/org/apache/ofbiz/webapp/view/JasperReportsPdfViewHandler.java
framework/webapp/src/main/java/org/apache/ofbiz/webapp/view/JasperReportsPoiXlsViewHandler.java
framework/webapp/src/main/java/org/apache/ofbiz/webapp/view/JasperReportsXmlViewHandler.java

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1754636 13f79535-47bb-0310-9956-ffa450edef68
2016-07-31 06:58:39 +00:00
Deepak Dixit 834691742b (OFBIZ-6274) Renamed OFBiz artefacts from org.ofbiz.* to org.apache.ofbiz.*.Thanks to Taher for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752920 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 10:30:49 +00:00
Jacques Le Roux c8ba932772 Fixes a "typo" in last commit for "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
We used targetNamespace (should only be used in schema) instead of xsi:schemaLocation



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749634 13f79535-47bb-0310-9956-ffa450edef68
2016-06-22 05:58:26 +00:00
Jacques Le Roux 89212904bd Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
This is the 2nd step: puts back the original names, so it will be transparent for remaining references in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749489 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:37:47 +00:00
Jacques Le Roux 4931db1ed9 Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061 by replacing xsd files references in xml files by -ns.xsd files and removing the concerned xsd files
This is a 1st step, in a 2nd I will put back the original names, so it will be transparent for remaining reference in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749488 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:14:16 +00:00
Deepak Dixit 9c0c31a780 (OFBIZ-7302) Applied patch from jira issue
===================================
Add a look-up for Product Id, UserLogin Id and Billing Account in Find Order Screen
===================================

Thanks Pawan Verma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748932 13f79535-47bb-0310-9956-ffa450edef68
2016-06-18 08:34:37 +00:00
Jacques Le Roux ec66e361e1 A big but straightforward commit for "Move minilang scripts from component://componentname/script/org/ofbiz to component://componentname/minilang" - https://issues.apache.org/jira/browse/OFBIZ-7267
I removed duplicate paths were componentname was uselessly repeated after component://componentname/script/org/ofbiz (projectmngr was the only one using there project instead)

I had few typos, easily fixed thanks to the tests. There could be still typos but they are unexpected and anyway no-brainer to fix 

I'm still wondering about specialpurpose/example/minilang/README.txt.
I changed its content to 
  "The minilang directory is for static resources that are interpreted at run time rather than being compiled. This goes on the classpath, but does not get built or put into a JAR file."
not sure it makes any sense, I don't see how this relates to the classpath. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747712 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 14:04:30 +00:00
Divesh Dutta d1c68bbb8d [OFBIZ-6361] Done improvement: createQuoteItem should display EditQuoteItem page instead of ListQuoteItems when error occurs like updateQuoteItem controller settings
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746681 13f79535-47bb-0310-9956-ffa450edef68
2016-06-03 07:10:46 +00:00
Jacques Le Roux 740942ffb7 An enhanced patch from Yashwant Dhakad based on Pierre Smits's for "Creating a QuoteRole doesn't return to overview of QuoteRoles" https://issues.apache.org/jira/browse/OFBIZ-6026
Currently, when adding a QuoteRole to a Quote the user stays in the screen associated with 'EditQuoteRole'. Thus the user has no confirmation that the QuoteRole is added successfully. It is better to show the overviews of the quote roles.

Yashwant Dhakad werified the patch and found that success message not shown on the screen, so updated the patch and now shown the success message when added role successfully.

jleroux: I moved the party field line to have the lookup show. Note: in case of error the message is still awful, not a big deal

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746290 13f79535-47bb-0310-9956-ffa450edef68
2016-05-31 15:27:56 +00:00
Arun Patidar 48828d2ca3 [OFBIZ-7123] Recalculated sales tax after updating/deleting any type of order adjustment. Thanks Rohit Kaushal for your patch and contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746228 13f79535-47bb-0310-9956-ffa450edef68
2016-05-31 05:34:13 +00:00
Jacques Le Roux 00d45f52a8 No functional change, forgot this one in : r1743949
URL: http://svn.apache.org/viewvc?rev=1743949&view=rev
Log:
Closes "Move all Groovy scripts in components WEB-INF/actions sub-folders" - https://issues.apache.org/jira/browse/OFBIZ-6981


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1743995 13f79535-47bb-0310-9956-ffa450edef68
2016-05-16 08:38:12 +00:00
Pranay Pandey 09c1604f7e OFBIZ-7044 - Removed redundant entries of handlers from controllers where common-controller is already included. Thanks Amardeep Singh Jhajj for reporting this improvement and providing patch for the same.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742714 13f79535-47bb-0310-9956-ffa450edef68
2016-05-07 14:09:23 +00:00
Jacques Le Roux 6cedfa1a74 Fixes "Error on the Split Payment button from the Quick Finalize Order screen" https://issues.apache.org/jira/browse/OFBIZ-6743
Error in trunk:
ERROR rendering error page [/error/error.jsp], but here is the error text: org.ofbiz.webapp.control.RequestHandlerException: No definition found for view with name [checkoutpayment]
Error in stable and old:
org.ofbiz.webapp.control.RequestHandlerException: No definition found for view with name [checkoutpayment]

Vyom Jain added a comment - 22/Nov/15 07:50
This is an issue even in 09.04 and 10.04 code, so it has been there for sometime now.

Scott Gray added a comment - 03/Jan/16 05:43
The view-map was moved to ecommerce in r544053. Probably because the view-map wasn't referenced in the controller.xml for ordermgr. It is actually used though as a view override in component://order/webapp/ordermgr/entry/checkoutoptions.ftl
Just needs to be restored in the controller and have the screen moved back.

jleroux: So I moved back from ecommerce to order (with few adaptations)
* the checkoutpayment.ftl file 
* the order controller view-map
* the screen name checkoutpayment

I tested in both order and ecommerce, works! I will try to backport, let's see...



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726828 13f79535-47bb-0310-9956-ffa450edef68
2016-01-26 15:43:17 +00:00
Jacques Le Roux 15520297ff A patch from Pierre Smits for "Replace bsf event type and handler with groovy" https://issues.apache.org/jira/browse/OFBIZ-6598
jleroux: I did the same in order controller (was only in ecommerce) even if only a commented out example was used there

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1704227 13f79535-47bb-0310-9956-ffa450edef68
2015-09-21 07:54:13 +00:00
Divesh Dutta 756535ab00 [OFBIZ-5347] 1) Fixed issue: Shipping costs not recalculated after changing sales order shipment method. For this introduced new service as per the design in this task. 2) This service will loads the cart save new shipping method in cart, re-do all the calculations for tax and promotion, and saves the cart again in order. 3) Also adding new SECA rule which will trigger resetGrandTotal service on new service updateShipGroupShipInfo.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686635 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 14:58:45 +00:00
Christian Carlow 1dd09ed536 Replacing deleteCustRequestParty with expireCustRequestParty to be exectuted with newly added Expire <hyperlink> and implementing deleteCustRequestParty to perform <remove-value> instead of updating.
https://issues.apache.org/jira/browse/OFBIZ-6463

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683953 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 20:28:34 +00:00
Jacques Le Roux 5abf245037 Implements "Allow to edit ship groups contents after and order has been created" https://issues.apache.org/jira/browse/OFBIZ-5761
From an UI perspective this adds a "View ship group by order item" button which allows to create new ship groups by order items and to move the quantity of the order item between ship groups.
This is the adaptation of the "oisg-management" addon for R12.04 to the trunk. Thanks to Nicolas and Leila from Nereides for their help

For more information refer to the Jira issue.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643077 13f79535-47bb-0310-9956-ffa450edef68
2014-12-03 10:15:20 +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
Jacques Le Roux 7bfc413625 A slightly modified patch from Ankit Jain from a previous work by Nandani Aggarwal for "No method to remove a promo code from the shopping cart" https://issues.apache.org/jira/browse/OFBIZ-4291
When working with promotions and promo codes in the shopping cart, it seems not possible to remove _one_ specific promo code from the cart neither through the ShoppingCart and its helpers and services, nor through the ProductPromoWorker.
ShoppingCart has the method 

{{addProductPromoCode(String productPromoCodeId, LocalDispatcher dispatcher)}}

but no method to remove the added PromoCode. Is there any other worker, service or event that can be called to do this? And if not, is there a specifc reason (maybe relating to promotions application rules) for not implementing this?

Current provided method of dealing with removal of promotions is a so called brute force approach where removing all and adding not to be removed promotions again.

jleroux: 
* in ecommerce no needs to be authentified to be abble to remove a promo code
* I also added a French label

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493512 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 14:01:56 +00:00
Jacques Le Roux b4735dcfc3 A patch from Ankit Jain for "User is redirected to showcart page when any error comes on checkout page." https://issues.apache.org/jira/browse/OFBIZ-5206
On checkout page if any error comes it redirects user back to showcart page with an error message.
Expected : Error should be shown on the same page.

To reproduce the issue,
Goto OrderEntry -> Add any product to cart -> click on Quick finalize order now select shipping address & shipping method but don't select any payment option and now click on "Continue to Final Order Review" link. You will be redirected to showcart page and with a error message. "Please select a method of payment."
And expected behaviour is to show the error message on the same checkout page.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1488127 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 08:27:48 +00:00
Jacques Le Roux 45fee0240d Reverts r1487997 and uses Stephen's patch for Fixes "CheckOutEvents setCheckOutPages" https://issues.apache.org/jira/browse/OFBIZ-4161
There was an extra check in CheckOutEvents.setCheckOutPages that prevented an error message from being produced when no payment method was selected on the "How shall you pay" step of the checkout process. 

jleroux: and you got redirected to the order entry page, with the patch you stay on the payment method page.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1488000 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 20:42:31 +00:00
Jacques Le Roux 995111a5c3 Fixes "CheckOutEvents setCheckOutPages" https://issues.apache.org/jira/browse/OFBIZ-4161
Simply returns an error in request and get to the view, as does shipping

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1487997 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 20:35:05 +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
Jacques Le Roux 137fed08aa A patch from Ankit Jain "Split Into Multiple Shipment Button is not working in Order Manager quick checkout" https://issues.apache.org/jira/browse/OFBIZ-4866
Split Into Multiple Shipment Button is not working on quick checkout page


jleroux: part the current known issue with Freemarker and findByAnd(), it works well on both sides (Order Manager and eCommerce)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340415 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 11:13:38 +00:00
Jacopo Cappellato 9986094080 Updated all the controller entries for Groovy event to consistently use the same way to define the location for the script file. Now the path and filename are always in the "path" attribute and the "invoke" attribute is reserved for the execution of a method in the file (I am going to add support for this feature in my next commit); if the invoke element is not specified then the whole script is executed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1298904 13f79535-47bb-0310-9956-ffa450edef68
2012-03-09 16:17:12 +00:00