Openbravo Issue Tracking System - POS2
View Issue Details
0049165POS2Restaurantspublic2022-04-28 15:382022-05-13 16:29
timothee_catteeuw 
Retail 
normalcriticalhave not tried
closedfixed 
5
 
 
No
0049165: JIRA 2925 - No call to kitchen display anymore when counter product
There is no call anymore to kitchen display when the product is linked to delivery mode type “counter”
1) Configure a product in order to link it to delivery control method “counter”
2) Go to product window and select a product
3) Go to product organization information
4) In that tab, add a record for the restaurant you are used to base your test on, and link it to a pickup point and delivery control allowing to associate the product to “counter” (delivery control method = counter)

5) Normally this configuration will print a coupon and call API kitchen (function = AjouterNouvelleCommandeWI) when you buy this product. Since the last version only the coupon is printed.

6) go to WebPOS

7) select your product

8) go to payment and pay

- coupon is printed → OK

- but non call to API kitchen → KO
Moreover when I fill in an address in “delivery control window” (ex : 127.0.0.1:80) (cf. screen shot) , an error appear on WEbPOS after paying

POS2.js:3657 Error sending document: RequestError: Failed to fetch; line: Object.printDocumentTemplate (https://agapes-fs-u18-test.cloud.openbravo.com/openbravo/web/pos/static/js/11.ca1e3f4b.chunk.js:1:380441 [^]) (*)

This address has to be used to define the API kitchen server as we can do it for the pager mode
No tags attached.
png image-20220428-133351.png (40,148) 2022-04-28 15:38
https://issues.openbravo.com/file_download.php?file_id=16957&type=bug
png
Issue History
2022-04-28 15:38timothee_catteeuwNew Issue
2022-04-28 15:38timothee_catteeuwAssigned To => Retail
2022-04-28 15:38timothee_catteeuwFile Added: image-20220428-133351.png
2022-04-28 15:38timothee_catteeuwTriggers an Emergency Pack => No
2022-05-12 12:27mtaalNote Added: 0137217
2022-05-12 20:31mtaalStatusnew => scheduled
2022-05-12 20:31mtaalNote Added: 0137240
2022-05-12 20:31mtaalStatusscheduled => resolved
2022-05-12 20:31mtaalResolutionopen => fixed
2022-05-13 16:29mtaalStatusresolved => closed

Notes
(0137217)
mtaal   
2022-05-12 12:27   
The change to be done is that the logic for compteur products should only select pager dcm's which have a url set.
(0137240)
mtaal   
2022-05-12 20:31   
MR:
https://gitlab.com/obcustomers/AGAP/com.openbravo.flunch.integration.beeper/-/merge_requests/10 [^]