Openbravo Issue Tracking System - Openbravo ERP | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0037628 | Openbravo ERP | 09. Financial management | public | 2018-01-12 11:23 | 2018-01-22 16:10 |
| Reporter | ngarcia | ||||
| Assigned To | collazoandy4 | ||||
| Priority | urgent | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | 3.0PR18Q2 | |||
| Merge Request Status | |||||
| Review Assigned To | dmiguelez | ||||
| OBNetwork customer | OBPS | ||||
| Web browser | |||||
| Modules | Core | ||||
| Support ticket | 50426 | ||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0037628: Wrong tax amount calculated for a negative tax based on the amount of other tax | ||||
| Description | Wrong tax amount calculated for a negative tax based on the amount of other tax | ||||
| Steps To Reproduce | As group admin role: Create the following 4 taxes: 1. Name: Parent Valid From: today Tax Category: IVA Normal Summary Level: Y Sales/Purchase Type: Purchase Tax Country, Destination Country, Region, Destination Region: empty Line No.: 10 2. Name: Child 16 Valid From: today Tax Category: IVA Normal Summary Level: N Rate: 16 Sales/Purchase Type: Purchase Tax Document Tax Amount Calculation: Document based amount by rate Country, Destination Country, Region, Destination Region: empty Base Amount: Line net Amount Line No.: 10 Parent Tax Rate: Parent 3. Name: Child -66 Valid From: today Tax Category: IVA Normal Summary Level: N Rate: -66.66666 Sales/Purchase Type: Purchase Tax Document Tax Amount Calculation: Document based amount by rate Country, Destination Country, Region, Destination Region: empty Base Amount: Tax Amount Line No.: 20 Parent Tax Rate: Parent Refresh the tab Select Child 16 as Tax Base for Child -66 4. Name: Child -10 Valid From: today Tax Category: IVA Normal Summary Level: N Rate: -10 Sales/Purchase Type: Purchase Tax Document Tax Amount Calculation: Document based amount by rate Country, Destination Country, Region, Destination Region: empty Base Amount: Line net Amount Line No.: 30 Parent Tax Rate: Parent Create a purchase order Add a line to it Set a unit price of 2000 and select previously created tax ('Parent') Add a new line to it Set a unit price of 185.00 and select previously created tax ('Parent') Check that in the tax tab the following values are shown: Child 16 Tax amount: 349.60 Taxable amount: 2185.00 Child -66: Tax amount: -1689.73 (it should be -233.07) Taxable amount: 2534.60 (check which value should be used here) Child -10: Tax amount: -218.50 Taxable amount: 2185.00 | ||||
| Proposed Solution | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2018-01-12 11:23 | ngarcia | New Issue | |||
| 2018-01-12 11:23 | ngarcia | Assigned To | => Triage Finance | ||
| 2018-01-12 11:23 | ngarcia | OBNetwork customer | => Yes | ||
| 2018-01-12 11:23 | ngarcia | Modules | => Core | ||
| 2018-01-12 11:23 | ngarcia | Support ticket | => 50426 | ||
| 2018-01-12 11:23 | ngarcia | Resolution time | => 1517526000 | ||
| 2018-01-12 11:23 | ngarcia | Triggers an Emergency Pack | => No | ||
| 2018-01-12 11:23 | ngarcia | Issue Monitored: networkb | |||
| 2018-01-12 13:53 | dmiguelez | Assigned To | Triage Finance => collazoandy4 | ||
| 2018-01-12 21:02 | collazoandy4 | Status | new => scheduled | ||
| 2018-01-12 22:22 | collazoandy4 | Status | scheduled => feedback | ||
| 2018-01-15 09:43 | ngarcia | Status | feedback => scheduled | ||
| 2018-01-17 21:34 | collazoandy4 | Note Added: 0101765 | |||
| 2018-01-19 10:04 | dmiguelez | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=16553#r16553 | ||
| 2018-01-19 11:12 | dmiguelez | Note Edited: 0101765 | bug_revision_view_page.php?bugnote_id=0101765#r16563 | ||
| 2018-01-19 11:19 | dmiguelez | Note Edited: 0101765 | bug_revision_view_page.php?bugnote_id=0101765#r16564 | ||
| 2018-01-22 11:45 | dmiguelez | Note Added: 0101830 | |||
| 2018-01-22 11:45 | dmiguelez | Status | scheduled => resolved | ||
| 2018-01-22 11:45 | dmiguelez | Fixed in Version | => 3.0PR18Q2 | ||
| 2018-01-22 11:45 | dmiguelez | Fixed in SCM revision | => https://code.openbravo.com/erp/devel/pi/rev/25ba8c2893a6 [^] | ||
| 2018-01-22 11:45 | dmiguelez | Resolution | open => fixed | ||
| 2018-01-22 11:46 | dmiguelez | Review Assigned To | => dmiguelez | ||
| 2018-01-22 11:46 | dmiguelez | Note Added: 0101831 | |||
| 2018-01-22 11:46 | dmiguelez | Status | resolved => closed | ||
| 2018-01-22 16:10 | dmiguelez | Note Added: 0101852 | |||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||