Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0034579 | Retail Modules | Web POS | public | 2016-11-18 12:58 | 2016-11-23 11:56 |
Reporter | airaceburu | ||||
Assigned To | ranjith_qualiantech_com | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | pi | ||||
Target Version | Fixed in Version | RR17Q1 | |||
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 | 0034579: Forcedtemplate parameter does not work when set before PrePrint hook | ||||
Description | The forcedTemplate parameter does not work when set before PrePrint hook as it is retrieved from args inside the success callback of the hook and is not being send to it. | ||||
Steps To Reproduce | Do: receipt.trigger('print', receipt, { forcedtemplate: '1' }); set a breakpoint in "if (args.forcedtemplate)" Check that it does not stop | ||||
Proposed Solution | Send the paramter to the PrePrint hook, or send all printargs to the PrePrint hook: OB.UTIL.HookManager.executeHooks('OBPRINT_PrePrint', { forcePrint: printargs.forcePrint, offline: printargs.offline, order: order ? order : me.receipt, template: template, callback: printargs.callback, forcedtemplate: printargs.forcedtemplate } or OB.UTIL.HookManager.executeHooks('OBPRINT_PrePrint', { forcePrint: printargs.forcePrint, offline: printargs.offline, order: order ? order : me.receipt, template: template, callback: printargs.callback, printargs: printargs } | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2016-11-18 12:58 | airaceburu | New Issue | |||
2016-11-18 12:58 | airaceburu | Assigned To | => Retail | ||
2016-11-18 12:58 | airaceburu | OBNetwork customer | => No | ||
2016-11-18 12:58 | airaceburu | Resolution time | => 1480633200 | ||
2016-11-18 12:58 | airaceburu | Triggers an Emergency Pack | => No | ||
2016-11-18 12:59 | airaceburu | Summary | Forcedtemplate parameter does not worked when set before PrePrint hook => Forcedtemplate parameter does not work when set before PrePrint hook | ||
2016-11-21 16:06 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | ||
2016-11-21 16:06 | ranjith_qualiantech_com | Status | new => scheduled | ||
2016-11-22 17:20 | hgbot | Checkin | |||
2016-11-22 17:20 | hgbot | Note Added: 0091751 | |||
2016-11-22 17:20 | hgbot | Status | scheduled => resolved | ||
2016-11-22 17:20 | hgbot | Resolution | open => fixed | ||
2016-11-22 17:20 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1a7326589f3a4f9d03b6d6de28e303131996dda1 [^] | ||
2016-11-23 11:56 | marvintm | Review Assigned To | => marvintm | ||
2016-11-23 11:56 | marvintm | Status | resolved => closed | ||
2016-11-23 11:56 | marvintm | Fixed in Version | => RR17Q1 |
Notes | |||||
|
|||||
|
|