Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048521
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2022-02-03 12:372022-02-11 17:48
Reportertimothee_catteeuwView Statuspublic 
Assigned Tocberner 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0048521: JIRA 2671 - creditnote.xml does not work when using printing template option

DescriptionFollowing 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 Reproduce1) 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
TagsNo tags attached.
Attached Filespng file icon image-20220203-113041.png [^] (29,203 bytes) 2022-02-03 12:37

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0048522 closedmigueldejuana JIRA 2672 - prepareproductnotificationtemplate.xml does not work when using printing template option 
related to defect 0048529 closedmigueldejuana JIRA 2670 - buyproductnotificationtemplate.xml does not work when using Printing template option 

-  Notes
(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 [^]

- Issue History
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 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 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: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
Powered by Mantis Bugtracker