Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0048522 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | major | always | 2022-02-03 12:50 | 2022-03-07 16:15 | |||
Reporter | timothee_catteeuw | View Status | public | |||||
Assigned To | migueldejuana | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | guilleaer | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0048522: JIRA 2672 - prepareproductnotificationtemplate.xml does not work when using printing template option | |||||||
Description | Following tests on the ability to configure a template directly on BO trough “POS Print templates”, 3 templates does not work when I switch them to this new feature. This ticket was created for prepareproductnotificationtemplate, after switching the prepareproductnotificationtemplate to printing template option, prepareproductnotificationtemplate is not print anymore. And an error message appears POS2.js:3630 Error displaying message: RequestError: Request to null? responded with error; line: Hh.printProductNotification (https://XXXXXX.cloud.openbravo.com/openbravo/web/pos/static/js/2.ba1a4c18.chunk.js:1:727528 [^]) (*) (anonyme) @ POS2.js:3630 i @ POS2.js:4220 (anonyme) @ POS2.js:4249 printProductNotification @ ProductNotificationEndpoint.js:97 await in printProductNotification (asynchrone) (anonyme) @ ProductNotificationEndpoint.js:47 synchronizeMessage @ POS2.js:12974 synchronizeMessage @ POS2.js:12859 synchronizeMessages @ POS2.js:12848 synchronize @ POS2.js:12786 await in synchronize (asynchrone) (anonyme) @ POS2.js:12765 internalFlush @ POS2.js:12764 onMessagesChanged @ POS2.js:12751 await in onMessagesChanged (asynchrone) (anonyme) @ POS2.js:9440 handleChange @ POS2.js:9438 v @ redux.js:221 dispatch @ POS2.js:8603 (anonyme) @ POS2.js:9111 (anonyme) @ POS2.js:9248 await in (anonyme) (asynchrone) action @ StateUserAction.js:61 launch @ UserAction.js:165 await in launch (asynchrone) (anonyme) @ getUserAction.js:35 onConfirm @ PaymentKeypad.jsx:67 onLeftClick @ BaseKeypad.jsx:192 onClick @ BaseButton.jsx:86 He @ react-dom.production.min.js:52 Ke @ react-dom.production.min.js:52 (anonyme) @ react-dom.production.min.js:53 Sr @ react-dom.production.min.js:100 _r @ react-dom.production.min.js:101 (anonyme) @ react-dom.production.min.js:113 ze @ react-dom.production.min.js:292 (anonyme) @ react-dom.production.min.js:50 Mr @ react-dom.production.min.js:105 Zt @ react-dom.production.min.js:75 Gt @ react-dom.production.min.js:74 t.unstable_runWithPriority @ scheduler.production.min.js:18 Hi @ react-dom.production.min.js:122 Ae @ react-dom.production.min.js:292 Xt @ react-dom.production.min.js:73 | |||||||
Steps To Reproduce | 1) create a new POS Print template (Module = empty, name = prepareproductnotificationtemplate , template type = Prepare Product with NotificationTemplate, active = yes, printing template = prepareproductnotificationtemplate.xml ) prepareproductnotificationtemplate.xml is avaibable in related Jira 2) go to organization and assign the prepareproductnotificationtemplate document to a store 3) Go to webpos, refresh, logout and login, start a sale and take a product which generates a Prepare Product with NotificationTemplate 4) Pay → KO, Prepare Product with NotificationTemplate does not print anymore | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||||||||
|
![]() |
|
(0134894) cberner (viewer) 2022-02-10 18:08 |
MR Created for related issue 48529 will also fix this one: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/807 [^] |
(0135379) timothee_catteeuw (viewer) 2022-03-02 11:05 edited on: 2022-03-03 16:38 |
Reopened after the merge of pickuppoints project I tested with the last version of pickup point and this xml configured as printing template prepareproductnotificationtemplate.xml and again no coupon are printed. Steps to reproduce : create a new POS Print template (Module = empty, name = prepareproductnotificationtemplate , template type = Prepare Product with NotificationTemplate, active = yes, printing template = prepareproductnotificationtemplate.xml Link of prepareproductnotificationtemplate.xml was put in Jira Assign this template to a notification point type Go to organization and assign the notification type to a product and a pickupoint Go to webpos, refresh, logout and login, start a sale and take the product you previously configured which generates a Prepare Product with NotificationTemplate described above Pay → KO the coupon is not printed, moreover the sales is also not printed No error displayed in developer tool → to go back to the normal printing process, it is mandatory to clean cache on my browser, and assign the default template to the related notification point type |
(0135513) migueldejuana (viewer) 2022-03-07 16:14 |
Fixed in 48529 |
![]() |
|||
Date Modified | Username | Field | Change |
2022-02-03 12:50 | timothee_catteeuw | New Issue | |
2022-02-03 12:50 | timothee_catteeuw | Assigned To | => Retail |
2022-02-03 12:50 | timothee_catteeuw | OBNetwork customer | => No |
2022-02-03 12:50 | timothee_catteeuw | Triggers an Emergency Pack | => No |
2022-02-03 15:22 | timothee_catteeuw | Steps to Reproduce Updated | View Revisions |
2022-02-10 18:08 | cberner | Note Added: 0134894 | |
2022-02-10 18:08 | cberner | Assigned To | Retail => cberner |
2022-02-10 18:08 | cberner | Status | new => scheduled |
2022-02-10 18:08 | cberner | Relationship added | related to 0048529 |
2022-02-10 18:09 | cberner | Relationship added | related to 0048521 |
2022-02-11 17:50 | guilleaer | Status | scheduled => resolved |
2022-02-11 17:50 | guilleaer | Resolution | open => fixed |
2022-02-11 17:50 | guilleaer | Review Assigned To | => guilleaer |
2022-02-11 17:50 | guilleaer | Status | resolved => closed |
2022-03-02 11:05 | timothee_catteeuw | Note Added: 0135379 | |
2022-03-02 11:25 | timothee_catteeuw | Status | closed => new |
2022-03-02 11:27 | timothee_catteeuw | Note Edited: 0135379 | View Revisions |
2022-03-03 10:29 | timothee_catteeuw | Description Updated | View Revisions |
2022-03-03 16:38 | guilleaer | Note Edited: 0135379 | View Revisions |
2022-03-03 16:38 | guilleaer | Status | new => scheduled |
2022-03-03 16:38 | guilleaer | Assigned To | cberner => migueldejuana |
2022-03-07 16:14 | migueldejuana | Note Added: 0135513 | |
2022-03-07 16:14 | migueldejuana | Status | scheduled => resolved |
2022-03-07 16:15 | migueldejuana | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |