[ 
https://issues.apache.org/jira/browse/OFBIZ-10791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17128202#comment-17128202
 ] 

Priya Sharma commented on OFBIZ-10791:
--------------------------------------

Hello Pierre and All,

As per my exploration, this issue was specific to the bulk add to cart feature. 
So I thought of handling it the same way as it is handled for a single item add 
to cart.
In the latter, we are navigated to the product detail page, where you can fill 
in the reservation start and end date.
Thus I have added a condition to render the detail page if the item added is of 
asset type.

But you are still not able to add the details because the submission form does 
not contain these parameters and it keeps on asking for the required details.
Thus updated the markup to enclose the fields in the respective form.
!asset-addtocart.png!

Please have a look at the approach and suggest if there is a better way to do 
so.

> Unable to add product (of ASSET_USAGE type) in order
> ----------------------------------------------------
>
>                 Key: OFBIZ-10791
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10791
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 16.11, Release Branch 18.12, Release 
> Branch 17.12, Trunk
>            Reporter: Praveen Sharma
>            Assignee: Priya Sharma
>            Priority: Major
>              Labels: ASSET_USAGE, CONTRACT_RENEWAL, PURCHASE_RENTAL, 
> SALES_RENTAL
>         Attachments: OFBIZ-10791.patch, Screenshot from 2019-03-09 
> 11-05-31.png, Screenshot from 2019-03-09 11-06-20.png, Screenshot from 
> 2019-03-09 11-06-36.png, asset-addtocart.png
>
>
> Steps to regenerate:
>  # Login to URL: [https://demo-trunk.ofbiz.apache.org/ordermgr/control/main]
>  # Click on order entry
>  # Set customer and click on continue
>  # Click continue on Enter Order Currency, Agreements, and Ship Dates page 
> (Please refer attachment: 2-Continue)
>  # Try to add product from Quick Lookup.
> Actual: Unable to add product for order.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to