Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047879Retail ModulesWeb POSpublic2021-10-19 10:382021-10-19 16:50
guilleaer 
guilleaer 
normalminorhave not tried
closedfixed 
5
 
RR22Q1 
No
0047879: Allow to extend product model in paid receipts hook
Allow to extend product model in paid receipts hook

When a paid receipt is loaded in the frontend; for each paid receipt model a check is done to verify if product information is provided or not by the backoffice. If product property is provided that inof is used as product; if not; frontend loads the product information from the local database.

In that second scenario (load from local database) it is not possible to inject properties in that model

N/A
No tags attached.
blocks defect 0047880 closed guilleaer POS2 Required data to work with productBoms is not being loaded when working with Restaurants menus 
blocks backport 0047881TAP closed guilleaer POS2 Required data to work with productBoms is not being loaded when working with Restaurants menus 
Issue History
2021-10-19 10:38guilleaerNew Issue
2021-10-19 10:38guilleaerAssigned To => guilleaer
2021-10-19 10:38guilleaerTriggers an Emergency Pack => No
2021-10-19 10:44hgbotNote Added: 0132438
2021-10-19 11:28guilleaerRelationship addedblocks 0047880
2021-10-19 11:29guilleaerRelationship addedblocks 0047881
2021-10-19 11:29guilleaerStatusnew => scheduled
2021-10-19 16:50hgbotResolutionopen => fixed
2021-10-19 16:50hgbotStatusscheduled => closed
2021-10-19 16:50hgbotNote Added: 0132456
2021-10-19 16:50hgbotFixed in Version => RR22Q1
2021-10-19 16:50hgbotNote Added: 0132457

Notes
(0132438)
hgbot   
2021-10-19 10:44   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/601 [^]
(0132456)
hgbot   
2021-10-19 16:50   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/601 [^]
(0132457)
hgbot   
2021-10-19 16:50   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: af14370dc145cfe35b373d2e9a6572826c4d4b07
Author: Guillermo Alvarez de Eulate <guillermo.alvarez@openbravo.com>
Date: 2021-10-19T14:49:57+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/af14370dc145cfe35b373d2e9a6572826c4d4b07 [^]

fixed ISSUE-47879: Add a way to extend product model form paidReceipts hook

---
M src/org/openbravo/retail/posterminal/PaidReceiptsHook.java
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/LoadTicketUtils.js
---