Openbravo Issue Tracking System - Retail Modules
View Issue Details
0027956Retail ModulesQuotationspublic2014-10-23 10:402014-11-03 14:00
sureshbabu 
migueldejuana 
urgentminoralways
closedfixed 
5
main 
RR15Q1 
adrianromero
Production - QA Approved
RR14Q3
No
0027956: [RR14Q4] Duplicate receipt id gets generated, when sales order is created from Quotation continuously twice.
Duplicate receipt id gets generated, when sales order is created from Quotation continuously twice.
 Login to POS terminal, go to the login URL: http://{server}/{context}/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^]

Enter login credentials:

    "Username": vallblanca
    "Password": openbravo

The POS window will appear.

From menu options, select “Create Quotation”

Verify “Quotation –Draft” text appears in the receipt

To add product click “Browse” button

Then select “Backpacks & Travel” category

And from the product list select

    Product: Adhesive body warmers
    Quantity: 5 numbers

And verify the below details

    Product: Adhesive body warmers
    Quantity: 5
    Unit Price: 3.60
    Total line amount: 18.00
    Total Gross Amount: 18.00

Tax Breakdown

    Tax percentage: Entregas IVA 21%
    Taxable Amount: 14.90
    Total Tax amount: 3.10

To complete the Quotation tap on the “Total” amount

Verify status of the quotation changes from “Quotation –Draft” to “Quotation –Under Evaluation”

  Verify the success message appears in the screen

    SUCCESS
    Quotation no: xxxxx/yyyyyyyy has been created successfully

Then from main menu, select “Create Sales order” option

Then in the popup,

    Select “Firm Quotation” option
    Click “Create Sales Order” to confirm the action

 Verify the success message appears in the screen

    Sales order has been created from quotation successfully


Note down the receipt id.. (assume n)

Then complete the sales order.

Again create a Quotation and then create a sales order from quotation details

Note down the receipt id (assume n+1)
Then complete the receipt.and verify the new receipt id.



Defect: Duplicate id gets generated when sales order is created from quotation details continuously twice.
No tags attached.
related to defect 0027631 closed migueldejuana Document sequence is not reseted when you change the prefix 
related to defect 0028043 closed Orekaria Creating sales order from quotations creates empty sales 
png Duplicate id gets generated when sales order is created from quotation..png (159,790) 2014-10-23 10:40
https://issues.openbravo.com/file_download.php?file_id=7419&type=bug
png
Issue History
2014-10-23 10:40sureshbabuNew Issue
2014-10-23 10:40sureshbabuAssigned To => marvintm
2014-10-23 10:40sureshbabuFile Added: Duplicate id gets generated when sales order is created from quotation..png
2014-10-23 10:40sureshbabuRegression level => QA functional test
2014-10-23 10:40sureshbabuTriggers an Emergency Pack => No
2014-10-23 17:28hgbotCheckin
2014-10-23 17:28hgbotNote Added: 0071142
2014-10-23 17:28hgbotStatusnew => resolved
2014-10-23 17:28hgbotResolutionopen => fixed
2014-10-23 17:28hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3c572929efe0f7ce2155b82c953f50d208218331 [^]
2014-10-23 17:29migueldejuanaAssigned Tomarvintm => migueldejuana
2014-10-23 17:29migueldejuanaStatusresolved => new
2014-10-23 17:29migueldejuanaResolutionfixed => open
2014-10-23 17:29migueldejuanaRelationship addedrelated to 0027631
2014-10-23 17:32migueldejuanaStatusnew => scheduled
2014-10-23 17:32migueldejuanafix_in_branch => pi
2014-10-23 17:33migueldejuanaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d742e2eed52c [^]
2014-10-23 17:33migueldejuanafix_in_branchpi =>
2014-10-23 17:34migueldejuanaNote Added: 0071143
2014-10-23 17:34migueldejuanaStatusscheduled => resolved
2014-10-23 17:34migueldejuanaResolutionopen => fixed
2014-10-24 10:08migueldejuanaNote Added: 0071154
2014-10-25 15:44sureshbabuNote Added: 0071176
2014-10-31 14:15adrianromeroReview Assigned To => adrianromero
2014-10-31 14:15adrianromeroNote Added: 0071307
2014-10-31 14:15adrianromeroStatusresolved => closed
2014-10-31 14:15adrianromeroFixed in Version => RR15Q1
2014-10-31 15:19adrianromeroRelationship addedrelated to 0028043
2014-11-03 12:52migueldejuanaStatusclosed => new
2014-11-03 12:52migueldejuanaResolutionfixed => open
2014-11-03 12:52migueldejuanaFixed in VersionRR15Q1 =>
2014-11-03 12:52migueldejuanaRegression introduced in release => RR14Q3
2014-11-03 12:52migueldejuanaStatusnew => scheduled
2014-11-03 12:52migueldejuanafix_in_branch => pi
2014-11-03 12:53migueldejuanaStatusscheduled => resolved
2014-11-03 12:53migueldejuanaResolutionopen => fixed
2014-11-03 12:54migueldejuanaStatusresolved => closed
2014-11-03 13:14dmitry_mezentsevNote Added: 0071351
2014-11-03 13:14dmitry_mezentsevStatusclosed => new
2014-11-03 13:14dmitry_mezentsevResolutionfixed => open
2014-11-03 13:21dmitry_mezentsevRegression levelQA functional test => Production - QA Approved
2014-11-03 13:21dmitry_mezentsevfix_in_branchpi =>
2014-11-03 13:48migueldejuanaRegression introduced by commithttps://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d742e2eed52c [^] =>
2014-11-03 13:59dmitry_mezentsevNote Added: 0071357
2014-11-03 13:59dmitry_mezentsevStatusnew => acknowledged
2014-11-03 13:59dmitry_mezentsevStatusacknowledged => scheduled
2014-11-03 13:59dmitry_mezentsevfix_in_branch => pi
2014-11-03 14:00dmitry_mezentsevStatusscheduled => resolved
2014-11-03 14:00dmitry_mezentsevFixed in Version => RR15Q1
2014-11-03 14:00dmitry_mezentsevResolutionopen => fixed
2014-11-03 14:00dmitry_mezentsevStatusresolved => closed

Notes
(0071142)
hgbot   
2014-10-23 17:28   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 3c572929efe0f7ce2155b82c953f50d208218331
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Thu Oct 23 17:27:20 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3c572929efe0f7ce2155b82c953f50d208218331 [^]

Fixed issue 0027956: Duplicate receipt id gets generated, when sales order is created from Quotation. Add it properly

---
M web/org.openbravo.retail.posterminal/js/components/modalcreateorderfromquotation.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0071143)
migueldejuana   
2014-10-23 17:34   
I'm not sure if it was introduced in https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d742e2eed52c [^] or it is not a regression
(0071154)
migueldejuana   
2014-10-24 10:08   
I tested in Q3 and I can reproduce it, so it wasn't introduced by https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d742e2eed52c [^] [^] .
In my opinion, it is not a regression.
(0071176)
sureshbabu   
2014-10-25 15:44   
We can reproduce this issue in both Q3 & Q4. But not in Q2. so its an regression probably introduced in Q3.
(0071307)
adrianromero   
2014-10-31 14:15   
Verified
(0071351)
dmitry_mezentsev   
2014-11-03 13:14   
Regression fields update
(0071357)
dmitry_mezentsev   
2014-11-03 13:59   
We failed to identify the root cause for this regression