Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037300 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Return Receipt | minor | have not tried | 2017-11-16 04:50 | 2018-02-28 18:18 | |||
Reporter | rbianchini | View Status | public | |||||
Assigned To | alekosmp86 | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR18Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 9c9fb46da754 | ||||
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 | marvintm | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0037300: Draft ticket without product is printed as Return receipt | |||||||
Description | When a draft ticket without product is printed, the return receipt template is used | |||||||
Steps To Reproduce | 1 - Login into the POS on any POS Terminal 2 - Select Print this receipt | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0102306) hgbot (developer) 2018-02-09 18:46 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 9c9fb46da754bf99837530bc79adaadba95fdf05 Author: Alejandro <alekosmp86 <at> gmail.com> Date: Thu Feb 08 15:11:10 2018 -0500 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9c9fb46da754bf99837530bc79adaadba95fdf05 [^] Fixes issue 37300: Draft ticket without product is printed as Return receipt In pointofsale-print.js, when the receipt has no lines, the variable hasNegativeLines is always taking true as its value, which caused the assigned template for printing to be the one for returns. A validation has been added, to verify if the receipt has lines, and only assign the return template if it is true. --- M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js --- |
(0102877) hgbot (developer) 2018-02-28 18:18 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 18870622bbfb2af90d287c0c091f18ad1cf88524 Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Wed Feb 28 18:18:04 2018 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/18870622bbfb2af90d287c0c091f18ad1cf88524 [^] Related to issue 37300. Do not print twice normal draft, without lines --- M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2017-11-16 04:50 | rbianchini | New Issue | |
2017-11-16 04:50 | rbianchini | Assigned To | => Retail |
2017-11-16 04:50 | rbianchini | OBNetwork customer | => No |
2017-11-16 04:50 | rbianchini | Triggers an Emergency Pack | => No |
2018-02-09 18:46 | hgbot | Checkin | |
2018-02-09 18:46 | hgbot | Note Added: 0102306 | |
2018-02-09 18:46 | hgbot | Status | new => resolved |
2018-02-09 18:46 | hgbot | Resolution | open => fixed |
2018-02-09 18:46 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9c9fb46da754bf99837530bc79adaadba95fdf05 [^] |
2018-02-12 15:11 | marvintm | Assigned To | Retail => alekosmp86 |
2018-02-28 18:18 | hgbot | Checkin | |
2018-02-28 18:18 | hgbot | Note Added: 0102877 | |
2018-02-28 18:18 | marvintm | Review Assigned To | => marvintm |
2018-02-28 18:18 | marvintm | Status | resolved => closed |
2018-02-28 18:18 | marvintm | Fixed in Version | => RR18Q2 |
Copyright © 2000 - 2009 MantisBT Group |