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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0024993
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Quotationsminoralways2013-10-23 07:272013-12-05 12:10
ReportersureshbabuView Statuspublic 
Assigned Toguilleaer 
PrioritynormalResolutionfixedFixed in VersionRMP28
StatusclosedFix in branchpiFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Review Assigned Tomarvintm
OBNetwork customerNo
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0024993: RMP28: Tax amount wrongly calculated when sales order is created from quotation without selecting the option "Firm Quotation"

DescriptionTax amount wrongly calculated when sales order is created from quotation without selecting the option "Firm Quotation"
Steps To Reproduce  Login to POS terminal, go to the login URL: http://{server}/{context}/web/org.openbravo.retail.posterminal/?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.88
Total Tax amount: 3.12
Then change the price of the product from “3.60” to “3.00”

And verify the below details in the POS screen

Product: Adhesive body warmers
Quantity: 5
Unit Price: 3.00
Total line amount: 15.00
Total Gross Amount: 15.00
Tax Breakdown

Tax percentage: Entregas IVA 21%
Taxable Amount: 12.40
Total Tax amount: 2.60
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,

Uncheck “Firm Quotation” option
Click “Create Sales Order” to confirm the action
 Verify the success message appears in the screen

SUCCESS
A Sales order has been created from quotation successfully
Verify sales order document details

Product: Adhesive body warmers
Quantity: 5
Unit Price: 3.60 (price details will be picked from the pricelist from the backend system, instead of from quotation)
Total line amount: 18.00
Total Gross Amount: 18.00
Tax Breakdown

Defect: Tax amount wrongly calculated

Expected Tax amount:

Tax percentage: Entregas IVA 21%
Taxable Amount: 14.88
Total Tax amount: 3.12

Actual Tax amount:
Tax percentage: Entregas IVA 21%
Taxable Amount: 12.40
Total Tax amount: 5.60
TagsNo tags attached.
Attached Filespng file icon Tax amount is wrongly calculated, when sales order is created from quotation after unselecting the option “Firm Quotation”.png [^] (188,408 bytes) 2013-10-23 07:27

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0061906)
guilleaer (viewer)
2013-10-25 14:10

Resolved by this commit
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1d46b5f15ff4 [^]
(0061908)
guilleaer (viewer)
2013-10-25 16:46

this commit also affects to this issue
http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fa29b692d3940002932a219bd577b6c8b0dda26e [^]
(0061945)
marvintm (viewer)
2013-10-29 17:29

Now the fix is correct. It's important to mention that in fact the expected (and after the fix, obtained) results are actually the following:


Tax percentage: Entregas IVA 21%
Taxable Amount: 14.90
Total Tax amount: 3.10
(0062007)
hgbot (developer)
2013-10-31 18:15

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: fe0d08a06c4a12cd18b4f5358db34576140ae611
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Thu Oct 31 16:18:14 2013 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fe0d08a06c4a12cd18b4f5358db34576140ae611 [^]

fixed issue 25055, related to issue 24994, related to issue 24993: quotation with discounts is working fine

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0062191)
hgbot (developer)
2013-11-18 12:53

Repository: erp/pmods/org.openbravo.retail.posterminal-splitlines
Changeset: fe0d08a06c4a12cd18b4f5358db34576140ae611
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Thu Oct 31 16:18:14 2013 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-splitlines/rev/fe0d08a06c4a12cd18b4f5358db34576140ae611 [^]

fixed issue 25055, related to issue 24994, related to issue 24993: quotation with discounts is working fine

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0062559)
hgbot (developer)
2013-12-05 12:10

Repository: erp/pmods/org.openbravo.retail.posterminal.cirque
Changeset: fe0d08a06c4a12cd18b4f5358db34576140ae611
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Thu Oct 31 16:18:14 2013 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cirque/rev/fe0d08a06c4a12cd18b4f5358db34576140ae611 [^]

fixed issue 25055, related to issue 24994, related to issue 24993: quotation with discounts is working fine

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---

- Issue History
Date Modified Username Field Change
2013-10-23 07:27 sureshbabu New Issue
2013-10-23 07:27 sureshbabu Assigned To => guilleaer
2013-10-23 07:27 sureshbabu File Added: Tax amount is wrongly calculated, when sales order is created from quotation after unselecting the option “Firm Quotation”.png
2013-10-23 07:27 sureshbabu OBNetwork customer => No
2013-10-23 07:27 sureshbabu Triggers an Emergency Pack => No
2013-10-25 13:06 guilleaer Steps to Reproduce Updated View Revisions
2013-10-25 14:10 guilleaer Status new => scheduled
2013-10-25 14:10 guilleaer fix_in_branch => pi
2013-10-25 14:10 guilleaer Note Added: 0061906
2013-10-25 14:10 guilleaer Status scheduled => resolved
2013-10-25 14:10 guilleaer Fixed in Version => RMP28
2013-10-25 14:10 guilleaer Resolution open => fixed
2013-10-25 16:46 guilleaer Note Added: 0061908
2013-10-29 17:29 marvintm Review Assigned To => marvintm
2013-10-29 17:29 marvintm Note Added: 0061945
2013-10-29 17:29 marvintm Status resolved => closed
2013-10-31 18:15 hgbot Checkin
2013-10-31 18:15 hgbot Note Added: 0062007
2013-11-18 12:53 hgbot Checkin
2013-11-18 12:53 hgbot Note Added: 0062191
2013-12-05 12:10 hgbot Checkin
2013-12-05 12:10 hgbot Note Added: 0062559


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker