Openbravo Issue Tracking System - POS2
View Issue Details
0046768POS2Restaurantspublic2021-05-20 19:032021-05-27 11:58
timothee_catteeuw 
gorka_gil 
normalcriticalalways
closedfixed 
5
 
 
No
0046768: JIRA 1446 - Impossible to pay after selecting a type of menu
KO on test as well.

Use case enabling to reproduce the issue :

Activate auto discovery menu

With the same product not gather in a menu, it is not possible to reproduce the issue.

Select these 2 articles :

Code = 17457, name = FILET POISSON PANE SCE TARTARE

Code = 7758, name = NESTLE PURE LIFE 50CL PET

Both articles make a menu

Go to the payamen, pay, and try to print the receipt

impossible to finish the payment, the following message is displayed : Cannot read property 'flfieActivities' of undefined

 

I cannot reproduce on live build, I think you need to check on Agapes test environement
Cf. description
No tags attached.
depends on backport 0046784TAP closed gorka_gil JIRA 1446 - Impossible to pay after selecting a type of menu 
png image-20210520-165018.png (55,874) 2021-05-20 19:03
https://issues.openbravo.com/file_download.php?file_id=15797&type=bug
png
Issue History
2021-05-20 19:03timothee_catteeuwNew Issue
2021-05-20 19:03timothee_catteeuwAssigned To => Retail
2021-05-20 19:03timothee_catteeuwFile Added: image-20210520-165018.png
2021-05-20 19:03timothee_catteeuwTriggers an Emergency Pack => No
2021-05-21 12:31guilleaerResolution time => 1622152800
2021-05-21 12:32guilleaerStatusnew => scheduled
2021-05-21 12:32guilleaerStatusscheduled => acknowledged
2021-05-25 17:03gorka_gilAssigned ToRetail => gorka_gil
2021-05-25 17:03gorka_gilStatusacknowledged => scheduled
2021-05-26 16:43hgbotNote Added: 0128680
2021-05-27 11:58hgbotResolutionopen => fixed
2021-05-27 11:58hgbotStatusscheduled => closed
2021-05-27 11:58hgbotNote Added: 0128703
2021-05-27 11:58hgbotNote Added: 0128704

Notes
(0128680)
hgbot   
2021-05-26 16:43   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/38 [^]
(0128703)
hgbot   
2021-05-27 11:58   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant [^]
Changeset: 96030e462685d708cf0fecdca91182f8f1b86cf0
Author: Gorka Gil <gorka.gil@openbravo.com>
Date: 2021-05-27T11:57:07+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/commit/96030e462685d708cf0fecdca91182f8f1b86cf0 [^]

Fixed ISSUE-46768: fix problem when paying a menu generated by autodiscovery

When creating a menu with autodiscovery, the obpos2OrgSchema is not set.

Changing the order or prehooks, so it is exeucted first the prehook
that detect that a product complete a menu, and replace this product
with a menu.

So later the prehook that add the obpos2OrgSchema to the products
it adds to the menu instead the other product that will be replaced.

---
M web-jspack/org.openbravo.pos2.restaurant/src/ob-init.js
---
(0128704)
hgbot   
2021-05-27 11:58   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/38 [^]