Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0029682 | Openbravo ERP | 07. Sales management | public | 2015-04-23 12:54 | 2015-05-07 22:17 |
|
Reporter | ngarcia | |
Assigned To | AtulOpenbravo | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR15Q3 | |
Merge Request Status | |
Review Assigned To | aferraz |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 35798 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0029682: Repeated discount lines are introduced by Copy Lines process in Sales Invoice if same basic discount is defined for more BP |
Description | Repeated discount lines are introduced by Copy Lines process in Sales Invoice if same basic discount is defined for more BP |
Steps To Reproduce | 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 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 Solution | Check the select function of the CopyFrom Invoice_data.xsql file |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
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 | OBNetwork customer | => Yes |
2015-04-23 12:54 | ngarcia | Modules | => Core |
2015-04-23 12:54 | ngarcia | Support ticket | => 35798 |
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 | |
Notes |
|
|
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
|
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
---
|
|
|
|
|
|
|
|