Openbravo Issue Tracking System - POS2
View Issue Details
0046903POS2POSpublic2021-05-31 12:292021-06-14 07:32
ebecerra 
AtulOpenbravo 
normalmajorhave not tried
closedfixed 
5
 
 
No
0046903: Send complete object (Product) at template: buyproductnotificationtemplate.xml
When a product has marked with the flag: "Generate notification" and the correspond template is called only with product name and quantity. It will be possible to send the complete product object?
N/A
No tags attached.
depends on backport 0046912TAP closed AtulOpenbravo Send complete object (Product) at template: buyproductnotificationtemplate.xml 
Issue History
2021-05-31 12:29ebecerraNew Issue
2021-05-31 12:29ebecerraAssigned To => Retail
2021-05-31 12:29ebecerraTriggers an Emergency Pack => No
2021-05-31 18:03dmiguelezStatusnew => acknowledged
2021-05-31 18:03dmiguelezAssigned ToRetail => AtulOpenbravo
2021-05-31 18:04dmiguelezResolution time => 1623362400
2021-05-31 18:04dmiguelezTypefeature request => defect
2021-05-31 18:04dmiguelezStatusacknowledged => scheduled
2021-06-09 17:03hgbotNote Added: 0129271
2021-06-09 17:04hgbotNote Added: 0129273
2021-06-14 07:26hgbotResolutionopen => fixed
2021-06-14 07:26hgbotStatusscheduled => closed
2021-06-14 07:26hgbotNote Added: 0129438
2021-06-14 07:26hgbotNote Added: 0129439
2021-06-14 07:26hgbotNote Added: 0129440
2021-06-14 07:26hgbotNote Added: 0129441
2021-06-14 07:26hgbotNote Added: 0129442
2021-06-14 07:29hgbotNote Added: 0129443
2021-06-14 07:32hgbotNote Added: 0129444

Notes
(0129271)
hgbot   
2021-06-09 17:03   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/538 [^]
(0129273)
hgbot   
2021-06-09 17:04   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/47 [^]
(0129438)
hgbot   
2021-06-14 07:26   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: e6de4c9a526b40a97f4cce1e1d122633d69d844a
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 2021-06-11T18:29:22+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/e6de4c9a526b40a97f4cce1e1d122633d69d844a [^]

Fixes BUG-46903:Send complete object (Product) at template:
buyproductnotificationtemplate.xml

**Notifications iin payload now has product object in place of just
id and identifier properties.

---
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/CompleteTicketActionPreparation.js
M web/org.openbravo.pos2/res/buyproductnotificationtemplate.xml
M web/org.openbravo.pos2/res/prepareproductnotificationtemplate.xml
---
(0129439)
hgbot   
2021-06-14 07:26   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/538 [^]
(0129440)
hgbot   
2021-06-14 07:26   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: cb3a52e49508cd39b4d6351ee5ff923ad50b90af
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 2021-06-11T18:29:22+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/cb3a52e49508cd39b4d6351ee5ff923ad50b90af [^]

Related To BUG-46903:Send complete object (Product)

**Use product object in place of just id and identifier property
when creating PrintLines in PagerUtils

---
M web-jspack/org.openbravo.pos2/src/services/pager/PagerUtils.js
---
(0129441)
hgbot   
2021-06-14 07:26   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 8c8105c2495c70f3fb27a09c46e635386ec37bd6
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 2021-06-11T18:29:22+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/8c8105c2495c70f3fb27a09c46e635386ec37bd6 [^]

Related To BUG-46903:Send complete object (Product)

**Use product object in place of just id and identifier property
in PagerHandler

---
M web-jspack/org.openbravo.pos2/src/services/pager/PagerHandler.js
---
(0129442)
hgbot   
2021-06-14 07:26   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 1060b15abfae373975121a3fc77b0349dc4b4327
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 2021-06-11T21:58:48+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/1060b15abfae373975121a3fc77b0349dc4b4327 [^]

Related to BUG-46903:Send complete object (Product) at template:
buyproductnotificationtemplate.xml

**Update product notification test with product object instead of
identifier and id property

---
M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/ProductNotification.test.js
---
(0129443)
hgbot   
2021-06-14 07:29   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant [^]
Changeset: 8ba17e0f6fd8e254920d9f796c7e85e26ed9a275
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 2021-06-14T10:58:36+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/commit/8ba17e0f6fd8e254920d9f796c7e85e26ed9a275 [^]

Related To BUG-46903:Send complete object (Product)

**Use product object in place of just id and identifier property
when creating PrintLines in RestaurantPagerUtils

---
M web-jspack/org.openbravo.pos2.restaurant/src/services/pager/RestaurantPagerUtils.js
---
(0129444)
hgbot   
2021-06-14 07:32   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/47 [^]