Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0039676 | Openbravo ERP | 07. Sales management | public | 2018-11-22 12:33 | 2018-12-13 00:22 |
Reporter | Leyre | ||||
Assigned To | markmm82 | ||||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | 3.0PR19Q1 | |||
Merge Request Status | |||||
Review Assigned To | Sandrahuguet | ||||
OBNetwork customer | OBPS | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | 6063 | ||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0039676: Error when calculating the taxes in the "Copy from Orders" process | ||||
Description | Error when calculating the taxes in the "Copy from Orders" process | ||||
Steps To Reproduce | 1. Create a sales order from Backend: 1.1 Role International Group Admin - F&B International Group 1.2 Business Partner = Restaurantes Luna Llena 1.3 Lines -> Agua sin Gas. 2. Check that the assigned Tax = "entregas IVA 21%". 3. In the Business Partner Window -> Location/Address tab -> add a line, for example, Venezuela Location. 4. Create the header of a new Sales Order with this Business Partner. 4.1 Make sure that "Partner Address" is the old one from Spain. 5. Copy from Orders. * Verify that the line is created with Tax = "Exportaciones (%N=>0%)" | ||||
Proposed Solution | CORRECT: In the case that you add the line "manually",first the tax is calculated without product. Then, when a product is added, the line is updated and the tax is calculated again. The parameter "bill Partner location" is calculated in SL_Order_Product.java class: StringUtils.isEmpty(data[0].billtoId) ? strCBPartnerLocationID:data[0].billtoId Then the SQL is executed by returning a correct value. WRONG: In the case that you execute the "Copy from Order" process, the bill partner location is calculated in the getMaxBusinessPartnerLocationId method, in UpdateTax.java class. It takes the maximum value of the bussiness PartnerÅ› locations. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2018-11-22 12:33 | Leyre | New Issue | |||
2018-11-22 12:33 | Leyre | Assigned To | => Triage Finance | ||
2018-11-22 12:33 | Leyre | OBNetwork customer | => OBPS | ||
2018-11-22 12:33 | Leyre | Modules | => Core | ||
2018-11-22 12:33 | Leyre | Support ticket | => 6063 | ||
2018-11-22 12:33 | Leyre | Resolution time | => 1544655600 | ||
2018-11-22 12:33 | Leyre | Triggers an Emergency Pack | => No | ||
2018-11-22 12:36 | Practics | Issue Monitored: Practics | |||
2018-11-22 13:33 | Sandrahuguet | Assigned To | Triage Finance => AtulOpenbravo | ||
2018-12-04 09:34 | Sandrahuguet | Assigned To | AtulOpenbravo => markmm82 | ||
2018-12-04 09:34 | Sandrahuguet | Status | new => scheduled | ||
2018-12-04 21:32 | markmm82 | Note Added: 0108259 | |||
2018-12-12 10:20 | hgbot | Checkin | |||
2018-12-12 10:20 | hgbot | Note Added: 0108540 | |||
2018-12-12 10:20 | hgbot | Status | scheduled => resolved | ||
2018-12-12 10:20 | hgbot | Resolution | open => fixed | ||
2018-12-12 10:20 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/7f011c2b82dfaa613265c4c040c1e578236f0276 [^] | ||
2018-12-12 10:21 | Sandrahuguet | Review Assigned To | => Sandrahuguet | ||
2018-12-12 10:21 | Sandrahuguet | Note Added: 0108541 | |||
2018-12-12 10:21 | Sandrahuguet | Status | resolved => closed | ||
2018-12-12 10:21 | Sandrahuguet | Fixed in Version | => 3.0PR19Q1 | ||
2018-12-13 00:22 | hudsonbot | Checkin | |||
2018-12-13 00:22 | hudsonbot | Note Added: 0108559 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|