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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030208
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2015-06-19 09:392015-07-20 13:59
ReportermalsasuaView Statuspublic 
Assigned Toguilleaer 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisiondef6db59d486
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0030208: create a hook when receipt is created in webpos

DescriptionA hook should be created when the button new receipt is clicked in webpos
Steps To Reproducen/a
Proposed Solutionpatch attached
TagsNo tags attached.
Attached Filesdiff file icon hookOBPOS_CreateReceipt.diff [^] (3,284 bytes) 2015-06-19 09:39 [Show Content]
diff file icon addHooks_issue_30208_final.diff [^] (3,520 bytes) 2015-06-30 13:58 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
causes defect 0031035RR15Q4 closeddbaz Deprecation messages when logging in web pos 
causes defect 0034412 closedjorge-garcia Multi ticket is not working when preference "Web POS Print suspended order" is set to "Y" 

-  Notes
(0078593)
guilleaer (manager)
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 (developer)
2015-07-20 13:59

Tested and reviewed in 976cfed505b7

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