Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0013698 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 07. Sales management | major | always | 2010-06-18 12:39 | 2010-08-16 00:00 | |||
Reporter | sureshbabu | View Status | public | |||||
Assigned To | adrianromero | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | e8550a2429e4 | |||
Projection | none | ETA | none | Target Version | 2.50MP20 | |||
OS | Linux 64 bit | Database | PostgreSQL | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | main | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0013698: While creating sales invoice using Copy lines option system wrongly adds line item of which is created automatically for discoun | |||||||
Description | While creating sales invoice using Copy lines option system wrongly adds line item of product : Discounts, because of this system wrongly calculates Discount amount for the newly generated invoice. | |||||||
Steps To Reproduce | 1) Setup to define discount for a Business partner a: Create a product with below details Name: Discount 17.5% , product Category: Discounts, UOM:Unit, Product Type: Item, Purchase & Sales: Checked b) Navigate to Discount tab (Master Data Management || Business Partner Setup || Discount || Discount ) and click new, then enter the below details Name: Discount 17.5% for BP:Bell Phone apply only to invoice , Product: Discount 17.5%, Discount %: 17.50 c) Navigate to Business partner window (Master Data Management || Business Partner || Business Partner ) and select the customer : Bell Phone company and then navigate to "Discount" tab, then click New and enter the below details Discount: Discount 17.5% for BP:Bell Phone apply only to invoice, Apply in order: unchecked (critical, please make sure you unchecked this check box) , Customer:Checked 2) Created and complete a sales invoice for BP: Bell Phone company, & Product: Hammer 3) on complete of invoice, a new line item for product "Discount 17.5%" add ups to the sales invoice 4) Create one more Sales invoice for BP: Bell Phone Company, but this time copy line item details using sales invoice created in step 2 using button "COPY LINES" Error: System wrongly copies line items of product: "Discount 17.5%", because of this, on complete of sales invoice system wrongly calculates discount amount. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0029948) hgbot (developer) 2010-08-13 09:48 |
Repository: erp/devel/pi Changeset: e8550a2429e49514a490e6f0256f5966f010b933 Author: Adrián Romero <adrianromero <at> openbravo.com> Date: Fri Aug 13 09:46:55 2010 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/e8550a2429e49514a490e6f0256f5966f010b933 [^] Fixes issue 0013698: While creating sales invoice using Copy lines option system wrongly calculates Discount amount for the newly generated invoice. It has been modified the SQL sentence that copies the invoice lines to not include lines that are discounts that are applied when completing invoices --- M src/org/openbravo/erpCommon/ad_actionButton/CopyFromInvoice_data.xsql --- |
(0029953) hudsonbot (viewer) 2010-08-13 14:20 |
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/e8550a2429e4 [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/e10b0c3d07eb [^] Tests: http://builds.openbravo.com/view/int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18143.obx [^] |
(0029962) sureshbabu (viewer) 2010-08-15 19:45 |
verified closed |
![]() |
|||
Date Modified | Username | Field | Change |
2010-06-18 12:39 | sureshbabu | New Issue | |
2010-06-18 12:39 | sureshbabu | Assigned To | => adrianromero |
2010-06-18 12:39 | sureshbabu | OBNetwork customer | => No |
2010-06-18 15:38 | sureshbabu | Summary | While creating sales invoice using Copy lines option system wrongly adds line item of product category: Discounts => While creating sales invoice using Copy lines option system wrongly adds line item of which is created automatically for discoun |
2010-06-18 15:38 | sureshbabu | Description Updated | View Revisions |
2010-06-18 15:38 | sureshbabu | Steps to Reproduce Updated | View Revisions |
2010-08-12 13:58 | adrianromero | Status | new => scheduled |
2010-08-12 13:58 | adrianromero | fix_in_branch | => pi |
2010-08-13 09:48 | hgbot | Checkin | |
2010-08-13 09:48 | hgbot | Note Added: 0029948 | |
2010-08-13 09:48 | hgbot | Status | scheduled => resolved |
2010-08-13 09:48 | hgbot | Resolution | open => fixed |
2010-08-13 09:48 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e8550a2429e49514a490e6f0256f5966f010b933 [^] |
2010-08-13 14:20 | hudsonbot | Checkin | |
2010-08-13 14:20 | hudsonbot | Note Added: 0029953 | |
2010-08-15 19:45 | sureshbabu | Note Added: 0029962 | |
2010-08-15 19:45 | sureshbabu | Status | resolved => closed |
2010-08-16 00:00 | anonymous | sf_bug_id | 0 => 3045724 |
Copyright © 2000 - 2009 MantisBT Group |