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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029682
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementmajoralways2015-04-23 12:542015-05-07 22:17
ReporterngarciaView Statuspublic 
Assigned ToAtulOpenbravo 
PriorityurgentResolutionfixedFixed in Version3.0PR15Q3
StatusclosedFix in branchFixed in SCM revision628d66d2161b
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toaferraz
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0029682: Repeated discount lines are introduced by Copy Lines process in Sales Invoice if same basic discount is defined for more BP

DescriptionRepeated discount lines are introduced by Copy Lines process in Sales Invoice if same basic discount is defined for more BP
Steps To ReproduceAs group admin role:
   Define the same Basic Discount for more than one Business Partner and set is as Apply in Order (Business Partner - Basic Discount tab)
   Create a Sales Invoice for that Business Partner and book it
   Check the discount is applied
   Create a new Sales Invoice header and Copy Lines from the previously created invoice
   Check more than one discount line is created
Proposed SolutionCheck the select function of the CopyFrom Invoice_data.xsql file
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0076805)
AtulOpenbravo (developer)
2015-04-28 09:27

Test Plan
- Login as group admin role:
- Define the same Basic Discount for more than one Business Partner and set is as Apply in Order (Business Partner - Basic Discount tab).
- Create a Sales Invoice for that Business Partner with one line product.
- In Sales Invoice / Discount Tab add Discount defined for the Business Partner above and book invoice. Check that discount line is added in the invoice.
- Create a new Sales Invoice header and Copy Lines from the previously created invoice.
- Check that Discount lines are created properly and not the number of times the same Basic Discount defined for the business partners as earlier.
(0077031)
hgbot (developer)
2015-05-05 19:13

Repository: erp/devel/pi
Changeset: 628d66d2161bb5c25f669729f05d24954b8bd569
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Tue Apr 28 12:50:22 2015 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/628d66d2161bb5c25f669729f05d24954b8bd569 [^]

Fixes Issue 29682:Repeated discount lines are introduced by Copy Lines process
 in Sales Invoice if same basic discount is defined for more BP

There was no relation between business partner discount and business partner
while selecting records from invoice lines.

---
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromInvoice_data.xsql
---
(0077032)
aferraz (manager)
2015-05-05 19:13

Code review + Testing OK
(0077215)
hudsonbot (developer)
2015-05-07 22:17

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/a1817f84bd8b [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2015-04-23 12:54 ngarcia New Issue
2015-04-23 12:54 ngarcia Assigned To => Triage Finance
2015-04-23 12:54 ngarcia Modules => Core
2015-04-23 12:54 ngarcia Resolution time => 1432504800
2015-04-23 12:54 ngarcia Triggers an Emergency Pack => No
2015-04-23 12:55 ngarcia Issue Monitored: networkb
2015-04-28 08:32 AtulOpenbravo Assigned To Triage Finance => AtulOpenbravo
2015-04-28 08:33 AtulOpenbravo Status new => scheduled
2015-04-28 09:27 AtulOpenbravo Note Added: 0076805
2015-05-05 19:13 hgbot Checkin
2015-05-05 19:13 hgbot Note Added: 0077031
2015-05-05 19:13 hgbot Status scheduled => resolved
2015-05-05 19:13 hgbot Resolution open => fixed
2015-05-05 19:13 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/628d66d2161bb5c25f669729f05d24954b8bd569 [^]
2015-05-05 19:13 aferraz Review Assigned To => aferraz
2015-05-05 19:13 aferraz Note Added: 0077032
2015-05-05 19:13 aferraz Status resolved => closed
2015-05-05 19:13 aferraz Fixed in Version => 3.0PR15Q3
2015-05-07 22:17 hudsonbot Checkin
2015-05-07 22:17 hudsonbot Note Added: 0077215


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker