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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011728
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementminoralways2009-12-10 16:202010-01-22 17:05
ReporternetworkbView Statuspublic 
Assigned Torafaroda 
PriorityurgentResolutionfixedFixed in Version2.50MP11
StatusclosedFix in branchFixed in SCM revision8c5b57d9a6a4
ProjectionnoneETAnoneTarget Version2.50MP11
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP9SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0011728: Discounts when change a sale order from Quotation to Standar Order

DescriptionWhen you complete a Quotation(the sale order is "Under Way"), a discount is applied. If you change the Sale Order from Quotation to Standar order and complete again, the discount is applied again.
Steps To Reproduce-As Openbravo Admin go to Master Data Management || Business Partner
-Select Mcgiver and go to Discount and create a new record.
   -Discount: Discount 15%
   -Set Apply in Order
-Save and go to Sales Management || Transactions || Sales Order
-Create a new record
    -Bussines Partner: McGiver Supplies
    -Transaction Document: Quotation
-Save go to Lines and create a new record (Select a product and unit Price: 100)
-Save and go back to the Header.
-Complete
-Realize that the Summed Line Amount is 85 and the Document Status is Under Way.

-Change the Transaction Document to Standard Order
-Save and complete

-Realize that the Summed Line Amount is 70 now
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0023183)
rafaroda (developer)
2010-01-04 09:22

Changed its Priority to Urgent.
(0023632)
hgbot (developer)
2010-01-20 23:18

Repository: erp/devel/pi
Changeset: 8c5b57d9a6a476924b14b59cd2f0561d9c31f330
Author: Rafa Roda Palacios <rafael.roda <at> openbravo.com>
Date: Wed Jan 20 04:08:16 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/8c5b57d9a6a476924b14b59cd2f0561d9c31f330 [^]

Fixes issue 11728 Discounts are now cleared and re-calculated in Order completion.

---
M src-db/database/model/functions/C_ORDER_POST1.xml
---
(0023674)
rafaroda (developer)
2010-01-20 23:26

Steps to test the fix:

1) As Openbravo Admin go to Master Data Management || Business Partner

2) Select Mcgiver and go to Discount tab and create a new record.
* Discount: Discount 15%
* Set Apply in Order

3) Save and go to Sales Management || Transactions || Sales Order

4) Create a new record
* Business Partner: McGiver Supplies
* Transaction Document: Quotation

5) Save go to Lines and create a new record (Select a product and unit Price: 100)

6) Save and go back to the Header and click on Complete button.

7) Check that:
* Summed Line Amount is 85 (100 -100*0.15)
* Document Status is Under Way
* You find the Discount 15% in Discounts tab.

8) Change the Transaction Document to Standard Order

9) Save and click on Complete button.

7) Check that:
* Summed Line Amount is 85 (100 -100*0.15)
* Document Status is Complete
* You find the Discount 15% in Discounts tab.
(0023687)
sureshbabu (reporter)
2010-01-21 05:56

tested working fine
(0023757)
hudsonbot (developer)
2010-01-22 17:05

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/8c5b57d9a6a4 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/ba83bb4d9240 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/obx/core/OpenbravoERP-2.50CI.15962.obx [^]

- Issue History
Date Modified Username Field Change
2009-12-10 16:20 networkb New Issue
2009-12-10 16:20 networkb Assigned To => rafaroda
2009-12-30 17:55 psarobe Status new => scheduled
2009-12-30 17:55 psarobe fix_in_branch => pi
2010-01-04 09:22 rafaroda Note Added: 0023183
2010-01-04 09:22 rafaroda Priority immediate => urgent
2010-01-04 09:22 rafaroda fix_in_branch pi =>
2010-01-20 23:18 hgbot Checkin
2010-01-20 23:18 hgbot Note Added: 0023632
2010-01-20 23:18 hgbot Status scheduled => resolved
2010-01-20 23:18 hgbot Resolution open => fixed
2010-01-20 23:18 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/8c5b57d9a6a476924b14b59cd2f0561d9c31f330 [^]
2010-01-20 23:26 rafaroda Note Added: 0023674
2010-01-21 05:56 sureshbabu Note Added: 0023687
2010-01-21 05:56 sureshbabu Status resolved => closed
2010-01-21 05:56 sureshbabu Fixed in Version => 2.50MP11
2010-01-22 00:00 anonymous sf_bug_id 0 => 2936683
2010-01-22 17:05 hudsonbot Checkin
2010-01-22 17:05 hudsonbot Note Added: 0023757


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker