Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0028498 | Retail Modules | Web POS | public | 2014-12-29 15:58 | 2015-01-20 12:56 |
|
Reporter | jecharri | |
Assigned To | aaroncalero | |
Priority | urgent | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | RR15Q2 | Fixed in Version | pi | |
Merge Request Status | |
Review Assigned To | Orekaria |
OBNetwork customer | OBPS |
Support ticket | 33209 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0028498: Include a hook in method finishInvoice to add some action when an invoice is created using the cash up |
Description | Include a hook in method finishInvoice to add some action when an invoice is created using the cash up |
Steps To Reproduce | -Do a cash up
-Verify that you can not add a logic hook to process generated invoices
|
Proposed Solution | Currently the solution will be to add a hook in the cash up and using the cash up, get all the orders and orderlines related to the cash up and finally take all the invoices with the orderlines.
That behavior can create performance issues so it is better to add the hook |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | Issue28498_Q3.4_backport.diff (5,652) 2015-01-20 12:55 https://issues.openbravo.com/file_download.php?file_id=7706&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2014-12-29 15:58 | jecharri | New Issue | |
2014-12-29 15:58 | jecharri | Assigned To | => marvintm |
2014-12-29 15:58 | jecharri | OBNetwork customer | => Yes |
2014-12-29 15:58 | jecharri | Support ticket | => 33209 |
2014-12-29 15:58 | jecharri | Resolution time | => 1390431600 |
2014-12-29 15:58 | jecharri | Triggers an Emergency Pack | => No |
2014-12-30 10:05 | marvintm | Target Version | RR15Q1 => RR15Q2 |
2015-01-07 08:59 | mtaal | Resolution time | 1390431600 => 1421967600 |
2015-01-08 11:44 | mtaal | Assigned To | marvintm => aaroncalero |
2015-01-08 11:45 | mtaal | Note Added: 0073351 | |
2015-01-09 14:39 | hgbot | Checkin | |
2015-01-09 14:39 | hgbot | Note Added: 0073402 | |
2015-01-09 14:39 | hgbot | Status | new => resolved |
2015-01-09 14:39 | hgbot | Resolution | open => fixed |
2015-01-09 14:39 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f07fdcc113c97812ec3a46f839352d9c698791ae [^] |
2015-01-12 08:48 | hgbot | Checkin | |
2015-01-12 08:48 | hgbot | Note Added: 0073407 | |
2015-01-12 13:58 | Orekaria | Review Assigned To | => Orekaria |
2015-01-12 13:58 | Orekaria | Status | resolved => closed |
2015-01-12 13:58 | Orekaria | Fixed in Version | => pi |
2015-01-15 09:42 | hgbot | Checkin | |
2015-01-15 09:42 | hgbot | Note Added: 0073508 | |
2015-01-20 12:55 | aaroncalero | File Added: Issue28498_Q3.4_backport.diff | |
2015-01-20 12:56 | aaroncalero | Note Added: 0073641 | |
Notes |
|
(0073351)
|
mtaal
|
2015-01-08 11:45
|
|
|
|
(0073402)
|
hgbot
|
2015-01-09 14:39
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: f07fdcc113c97812ec3a46f839352d9c698791ae
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Fri Jan 09 14:35:28 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f07fdcc113c97812ec3a46f839352d9c698791ae [^]
Fixed issue 28498: Include a hook in method finishInvoice to add some action when an invoice is created using the cash up
Added a hook to the OrderGroupingProcessor (executed during the cashup process to create invoices), allowing to execute code after invoices have been created and the correct document number has been set.
Changed the way OrderGroupingProcessor is instantiated to allow the use of hooks
---
M src/org/openbravo/retail/posterminal/OrderGroupingProcessor.java
M src/org/openbravo/retail/posterminal/ProcessCashClose.java
A src/org/openbravo/retail/posterminal/FinishInvoiceHook.java
---
|
|
|
(0073407)
|
hgbot
|
2015-01-12 08:48
|
|
|
|
(0073508)
|
hgbot
|
2015-01-15 09:42
|
|
|
|
|
Attached patch file with the backport to RR14Q3.4 |
|