Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047187Retail ModulesWeb POSpublic2021-06-18 17:122021-07-15 09:22
rtoledano 
rqueralta 
urgentmajoralways
closedfixed 
5
pi 
RR21Q4 
marvintm
No
0047187: Wrog creation date of the sales invoice record
The sales invoice has the same creation date as the sales order, despite having been created at different times
Steps
 1 - Log in on POS
 2 - Create a new ticket
 3 - Add some products
 4 - Assign a non anonymous customer
 5 - Pay and Complete the ticket
 6 - Go to backend on Sales Order window, find the receipt record and read the
    creation date in the Audit section
 7 - Wait some minutes (Ex. 2 min)
 8 - Now go back on POS and Re-open the ticket
 9 - Do an Issue Invoice
 10-Checkout and click on Done
 11-Go to backend on Sales Invoice window, find the related invoice record and
    read the creation date in the Audit section

You can check that creation date of the sales order and the invoice is the same. However the invoice was created minutes later.

This bug is causing that printed invoice inform a wrong Datetime information
NOR
Issue History
2021-06-18 17:12rtoledanoNew Issue
2021-06-18 17:12rtoledanoAssigned To => Retail
2021-06-18 17:12rtoledanoResolution time => 1624572000
2021-06-18 17:12rtoledanoTriggers an Emergency Pack => No
2021-06-18 17:15rtoledanoTag Attached: NOR
2021-06-21 08:04marvintmResolution time1624572000 => 1625176800
2021-06-22 17:29rqueraltaAssigned ToRetail => rqueralta
2021-06-22 17:29rqueraltaStatusnew => scheduled
2021-06-28 03:52hgbotNote Added: 0129818
2021-06-29 03:55hgbotNote Added: 0129882
2021-06-29 04:53hgbotNote Added: 0129883
2021-06-29 08:08hgbotResolutionopen => fixed
2021-06-29 08:08hgbotStatusscheduled => closed
2021-06-29 08:08hgbotNote Added: 0129892
2021-06-29 08:08hgbotFixed in Version => RR21Q3
2021-06-29 08:08hgbotNote Added: 0129893
2021-07-14 15:57lorenzofidalgoNote Added: 0130478
2021-07-14 15:57lorenzofidalgoStatusclosed => new
2021-07-14 15:57lorenzofidalgoResolutionfixed => open
2021-07-14 15:57lorenzofidalgoFixed in VersionRR21Q3 =>
2021-07-14 18:58lorenzofidalgoNote Deleted: 0130478
2021-07-15 09:21guilleaerStatusnew => scheduled
2021-07-15 09:21guilleaerStatusscheduled => resolved
2021-07-15 09:21guilleaerResolutionopen => fixed
2021-07-15 09:22guilleaerReview Assigned To => marvintm
2021-07-15 09:22guilleaerNote Added: 0130492
2021-07-15 09:22guilleaerStatusresolved => closed
2021-07-15 09:22guilleaerFixed in Version => RR21Q4

Notes
(0129818)
hgbot   
2021-06-28 03:52   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/486 [^]
(0129882)
hgbot   
2021-06-29 03:55   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/486 [^]
(0129883)
hgbot   
2021-06-29 04:53   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/493 [^]
(0129892)
hgbot   
2021-06-29 08:08   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/493 [^]
(0129893)
hgbot   
2021-06-29 08:08   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 146cd6cef0a047d1fe5901d029ec7f0fd45a307a
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-06-29T06:08:39+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/146cd6cef0a047d1fe5901d029ec7f0fd45a307a [^]

Fixed BUG-47187: Removed unnecessary updateAuditInfo function

---
M src/org/openbravo/retail/posterminal/utility/InvoiceUtils.java
---
(0130492)
guilleaer   
2021-07-15 09:22   
Closed again after resolve doubts raised by QA team