Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0048521 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | major | always | 2022-02-03 12:37 | 2022-02-11 17:48 | |||
Reporter | timothee_catteeuw | View Status | public | |||||
Assigned To | cberner | |||||||
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 | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0048521: JIRA 2671 - creditnote.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 initially provided to my client does not work when I switch them to this new feature. This ticket was created for credit note, after switching the credit note to printing template option, credit notes does not print anymore and a message appears on WebPOS (cf. attached file as well) Uncaught (in promise) RequestError: Request to null? responded with error at POS2.js:14688:17 (anonyme) @ POS2.js:14895 (anonyme) @ POS2.js:14688 await in (anonyme) (asynchrone) (anonyme) @ SendCreditNoteToPrinter.js:47 (anonyme) @ ob-init.js:64 synchronizeMessage @ POS2.js:12974 synchronizeMessage @ POS2.js:12859 synchronizeMessages @ POS2.js:12848 await in synchronizeMessages (asynchrone) 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) fb @ AddPayment.js:57 executeHooks @ UserAction.js:491 executePostHooks @ UserAction.js:477 launch @ UserAction.js:168 await in launch (asynchrone) (anonyme) @ getUserAction.js:35 S @ processPayment.js:142 Ha @ processPayment.js:207 await in Ha (asynchrone) h @ PaymentButton.jsx:90 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 = credit note, template type = credit note template, active = yes, printing template = creditnote.xml ) Creditnote.xml file is linked to related jira 2) go to organization and assign the credit note to a store 3) Go to webpos, refresh, logout and login and do a sale which will generate a credit note → KO, credit notes does not print anymore and a message appears on WebPOS | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|||||||||||||||
|
![]() |
|
(0134874) hgbot (developer) 2022-02-10 13:24 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/108 [^] |
(0134935) hgbot (developer) 2022-02-11 17:48 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^] Changeset: 5d60f5dbd0456c564b4f018403b8aee4b19cbaf3 Author: Cristian Berner <cristian.berner@openbravo.com> Date: 10-02-2022 13:21:02 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/5d60f5dbd0456c564b4f018403b8aee4b19cbaf3 [^] Fixes ISSUE-48521: creditnote.xml does not work when using printing template option Credit note is failing when printing using a template saved in terminal masterdata. It seems the name used to reference the printCreditNoteTemplate was wrong, previously it was GCNV_printCreditNoteTemplate, but the other name is the one that's saved in masterdata from backend, so I switched it to the other one. --- M web-jspack/org.openbravo.retail.giftcards/src/model/giftcard/SendCreditNoteToPrinter.js M web-jspack/org.openbravo.retail.giftcards/src/ob-init.js --- |
(0134936) hgbot (developer) 2022-02-11 17:48 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/108 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2022-02-03 12:37 | timothee_catteeuw | New Issue | |
2022-02-03 12:37 | timothee_catteeuw | Assigned To | => Retail |
2022-02-03 12:37 | timothee_catteeuw | File Added: image-20220203-113041.png | |
2022-02-03 12:37 | timothee_catteeuw | OBNetwork customer | => No |
2022-02-03 12:37 | timothee_catteeuw | Triggers an Emergency Pack | => No |
2022-02-04 16:45 | sntgreale | Assigned To | Retail => sntgreale |
2022-02-04 21:58 | sntgreale | Status | new => scheduled |
2022-02-09 17:49 | sntgreale | Assigned To | sntgreale => Retail |
2022-02-10 13:24 | hgbot | Merge Request Status | => open |
2022-02-10 13:24 | hgbot | Note Added: 0134874 | |
2022-02-10 18:09 | cberner | Relationship added | related to 0048522 |
2022-02-10 18:09 | cberner | Relationship added | related to 0048529 |
2022-02-10 18:09 | cberner | Assigned To | Retail => cberner |
2022-02-11 17:47 | hgbot | Merge Request Status | open => approved |
2022-02-11 17:48 | hgbot | Resolution | open => fixed |
2022-02-11 17:48 | hgbot | Status | scheduled => closed |
2022-02-11 17:48 | hgbot | Note Added: 0134935 | |
2022-02-11 17:48 | hgbot | Note Added: 0134936 |
Copyright © 2000 - 2009 MantisBT Group |