Openbravo Issue Tracking System - Retail Modules
View Issue Details
0028638Retail ModulesQuotationspublic2015-01-16 09:582015-02-25 18:10
aaroncalero 
mario_castello 
normalminorhave not tried
closedfixed 
5
 
 
aaroncalero
No
0028638: Quotations are not removed from the server after being reactivated and completed again
If we reactivate a quotation that hasn't been recovered from the server, and we complete it again, the old quotation is not removed.
Login in WebPOS.
Using the menu, create a new quotation.
Add some products and complete the quotation. Don't close the quotation.
Verify that the quotation is present in the server.
Reactivate the quotation.
Optionally, change some products or prices.
Complete the quotation.
Verify that a new quotation has been created on the server, but the old quotation is still there.
When a quotation is reactivated, we add the parameter oldId to the quotation, to be able to remove the old quotation after completing the new one.
It seems that quotations that have not been recovered from the server are missing the oldId parameter after reactivation, and thus the OrderLoader process is unable to remove the old quotation.
We should make sure the oldId parameter is appended to the quotations whatever their origin is.
No tags attached.
Issue History
2015-01-16 09:58aaroncaleroNew Issue
2015-01-16 09:58aaroncaleroAssigned To => marvintm
2015-01-16 09:58aaroncaleroTriggers an Emergency Pack => No
2015-02-19 15:20mario_castelloAssigned Tomarvintm => mario_castello
2015-02-20 18:32hgbotCheckin
2015-02-20 18:32hgbotNote Added: 0074741
2015-02-20 18:32hgbotStatusnew => resolved
2015-02-20 18:32hgbotResolutionopen => fixed
2015-02-20 18:32hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7573e414668939ed50b464b1d9ea581477737da1 [^]
2015-02-25 18:09aaroncaleroReview Assigned To => aaroncalero
2015-02-25 18:10aaroncaleroNote Added: 0074919
2015-02-25 18:10aaroncaleroStatusresolved => closed

Notes
(0074741)
hgbot   
2015-02-20 18:32   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 7573e414668939ed50b464b1d9ea581477737da1
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Fri Feb 20 11:31:36 2015 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7573e414668939ed50b464b1d9ea581477737da1 [^]

fixed issue 28638: Quotations are not removed from the server after being reactivated and completed again

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0074919)
aaroncalero   
2015-02-25 18:10   
Tested and reviewed