Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0034579 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2016-11-18 12:58 | 2016-11-23 11:56 | |||
Reporter | airaceburu | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR17Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 1a7326589f3a | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | 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 | 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 } | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0091751) hgbot (developer) 2016-11-22 17:20 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 1a7326589f3a4f9d03b6d6de28e303131996dda1 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Tue Nov 22 21:47:50 2016 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1a7326589f3a4f9d03b6d6de28e303131996dda1 [^] Fixes issue 34579 : Add Missing attributes to OBPRINT_PrePrint hook --- M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js --- |
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |