Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0030208 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2015-06-19 09:39 | 2015-07-20 13:59 | |||
Reporter | malsasua | View Status | public | |||||
Assigned To | guilleaer | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | def6db59d486 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||
OS Version | Community Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | migueldejuana | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | 36667 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0030208: create a hook when receipt is created in webpos | |||||||
Description | A hook should be created when the button new receipt is clicked in webpos | |||||||
Steps To Reproduce | n/a | |||||||
Proposed Solution | patch attached | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() | |||||||
![]() |
|||||||||||||||
|
![]() |
|
(0078593) guilleaer (viewer) 2015-06-30 14:08 edited on: 2015-06-30 14:08 |
Attached a diff which includes 2 new hooks [addHooks_issue_30208_final.diff] OBPOS_PreCreateNewReceipt: Executed when new button is pressed. At this point the developer can modify the information about the model or cancel the operation. Arguments: In: model-> current window model context -> Enyo component which represent the button. Out: cancelOperation -> Cancel the creation of the new order Example of use: Whenever a new receipt is created the developer wants to check something external and then add information to the new order model. OBPOS_PostCreateNewReceipt: Executed when the new order has been already added to the list of opened orders Arguments: In: model-> current window model context -> Enyo component which represent the button. Example of use: Once a new ticket is created, show the receipt properties dialog. These hooks will be part of 15Q4 Release |
(0078626) hgbot (developer) 2015-07-02 16:34 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: def6db59d486662f86abaef2ac435dca19c5db5b Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com> Date: Thu Jul 02 11:57:56 2015 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/def6db59d486662f86abaef2ac435dca19c5db5b [^] fixed issue 30208: 2 new hooks have been added to allow the customization of the process which creates new orders. OBPOS_PreCreateNewReceipt: Executed when new button is pressed. At this point the developer can modify the information about the model or cancel the operation. OBPOS_PostCreateNewReceipt: Executed when the new order has been already added to the list of opened orders. --- M web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-left.js --- |
(0078971) migueldejuana (viewer) 2015-07-20 13:59 |
Tested and reviewed in 976cfed505b7 |
![]() |
|||
Date Modified | Username | Field | Change |
2015-06-19 09:39 | malsasua | New Issue | |
2015-06-19 09:39 | malsasua | Assigned To | => Retail |
2015-06-19 09:39 | malsasua | File Added: hookOBPOS_CreateReceipt.diff | |
2015-06-19 09:39 | malsasua | OBNetwork customer | => Yes |
2015-06-19 09:39 | malsasua | Support ticket | => 36667 |
2015-06-19 09:39 | malsasua | Resolution time | => 1436652000 |
2015-06-19 09:39 | malsasua | Triggers an Emergency Pack | => No |
2015-06-30 11:58 | guilleaer | Assigned To | Retail => guilleaer |
2015-06-30 13:57 | guilleaer | File Added: addHooks_issue_30208_final.diff | |
2015-06-30 13:58 | guilleaer | File Deleted: addHooks_issue_30208_final.diff | |
2015-06-30 13:58 | guilleaer | File Added: addHooks_issue_30208_final.diff | |
2015-06-30 14:08 | guilleaer | Note Added: 0078593 | |
2015-06-30 14:08 | guilleaer | Note Edited: 0078593 | View Revisions |
2015-07-02 16:34 | hgbot | Checkin | |
2015-07-02 16:34 | hgbot | Note Added: 0078626 | |
2015-07-02 16:34 | hgbot | Status | new => resolved |
2015-07-02 16:34 | hgbot | Resolution | open => fixed |
2015-07-02 16:34 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/def6db59d486662f86abaef2ac435dca19c5db5b [^] |
2015-07-20 13:59 | migueldejuana | Review Assigned To | => migueldejuana |
2015-07-20 13:59 | migueldejuana | Note Added: 0078971 | |
2015-07-20 13:59 | migueldejuana | Status | resolved => closed |
2015-10-02 16:01 | Orekaria | Relationship added | causes 0031035 |
2016-11-13 18:43 | dmitry_mezentsev | Relationship added | causes 0034412 |
Copyright © 2000 - 2009 MantisBT Group |