Openbravo Issue Tracking System - POS2
View Issue Details
0047814POS2POSpublic2021-10-05 17:472021-10-22 13:11
jmelin 
prakashmurugesan88 
urgentmajoralways
closedfixed 
5
 
 
AugustoMauch
No
0047814: JIRA 2396 - When loading an existing order, product details linked to sales order is not loaded
When opening a existing sales order, only the product id and the name of the product of a menu component is retrieved

Because of that, there are missing information for custom process
Create a new order with a menu and complete it

Look for this order in "Sales" window and do a verified return of all the product.

The following informations are needed for menu items of menu:
ticket.lines[].menuItems.product => retrieve product informations (including taxCategory and custom field)
ticket.lines[].menuItems.product.schemas
ticket.lines[].taxes
ticket.lines[].grossUnitAmount
ticket.lines[].baseGrossUnitAmount
ticket.lines[].grossUnitAmountWithoutTicketDiscounts
ticket.lines[].grossUnitPriceWithoutTicketDiscounts
ticket.lines[].promotions
Load data linked to the componenet product like done for regular product and menu or when completing a new order
No tags attached.
duplicate of defect 0047880 closed guilleaer Required data to work with productBoms is not being loaded when working with Restaurants menus 
depends on backport 0047834TAP closed Retail JIRA 2249 - When loading an existing order, product details linked to sales order is not loaded 
png Add line id to paid receipt.png (33,467) 2021-10-19 13:08
https://issues.openbravo.com/file_download.php?file_id=16279&type=bug
png
Issue History
2021-10-05 17:47jmelinNew Issue
2021-10-05 17:47jmelinAssigned To => Retail
2021-10-05 17:47jmelinTriggers an Emergency Pack => No
2021-10-11 12:57guilleaerStatusnew => acknowledged
2021-10-11 12:57guilleaerStatusacknowledged => scheduled
2021-10-11 12:57guilleaerStatusscheduled => acknowledged
2021-10-11 12:58guilleaerAssigned ToRetail => prakashmurugesan88
2021-10-13 10:29guilleaerStatusacknowledged => scheduled
2021-10-13 18:51jmelinSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=23181#r23181
2021-10-13 18:51jmelinSummaryJIRA 2249 - When loading an existing order, product details linked to sales order is not loaded => JIRA 2396 - When loading an existing order, product details linked to sales order is not loaded
2021-10-14 09:19jmelinSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=23182#r23182
2021-10-19 13:07jmelinNote Added: 0132445
2021-10-19 13:08jmelinFile Added: Add line id to paid receipt.png
2021-10-22 13:10guilleaerNote Added: 0132592
2021-10-22 13:10guilleaerStatusscheduled => resolved
2021-10-22 13:10guilleaerResolutionopen => fixed
2021-10-22 13:10guilleaerReview Assigned To => AugustoMauch
2021-10-22 13:10guilleaerNote Added: 0132593
2021-10-22 13:10guilleaerStatusresolved => closed
2021-10-22 13:11guilleaerRelationship addedduplicate of 0047880

Notes
(0132445)
jmelin   
2021-10-19 13:07   
To correctly retrieve the taxCategory customly, we need to have the lineId from the order menu line item in the request to get the paid receipt.



(0132592)
guilleaer   
2021-10-22 13:10   
https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/commit/9012b6b8c17ef7b9a6e47cccbf0b98ddab03f368 [^]
(0132593)
guilleaer   
2021-10-22 13:10   
https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/commit/9012b6b8c17ef7b9a6e47cccbf0b98ddab03f368 [^]