Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0021031 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] 07. Sales management | major | have not tried | 2012-07-12 09:47 | 2012-07-13 14:20 | |||
| Reporter | plujan | View Status | public | |||||
| Assigned To | mirurita | |||||||
| Priority | immediate | Resolution | fixed | Fixed in Version | 3.0MP13 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | 5e61ae4a9e68 | ||||
| Projection | none | ETA | none | Target Version | 3.0MP13 | |||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | main | SCM revision | ||||||
| Merge Request Status | ||||||||
| Review Assigned To | ||||||||
| OBNetwork customer | No | |||||||
| Web browser | Mozilla Firefox | |||||||
| Modules | Core | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0021031: Discounts are not applied properly for Price Including Taxes price lists | |||||||
| Description | When applying a 10% discount for a product using a Price Including Taxes price list, I get a wrong calculation of the taxes. | |||||||
| Steps To Reproduce | 1. Enter as F&B Admin user 2. Go to Price List window 3. Edit "Tarifa de Ventas" record by marking it as Including Taxes 4. Go to Sales Order window 5. Create a new document for "Alimentos y Supermercados" business partner 6. Create a new line for "Agua sin gas 1L" 7. Book the order 8. Expected amounts: Line 10: 1.29 (price including taxes is 1.53) Line 20: -0.13 (10% discount) Tax: taxable 1.16, tax (VAT 18%) 0.21 Total: 1.37 (1.53 minus 10%) Current (wrong amounts): Line 10: 1.29 (correct) Line 20: -0.13 (correct) Tax: taxable 1.16 (correct), tax 0.37 (wrong) Total: 1.53 (wrong) | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
Notes |
|
|
(0050530) hgbot (developer) 2012-07-12 13:37 |
Repository: erp/devel/pi Changeset: 5e61ae4a9e68d720898297d8c5355937f3e80a6c Author: Mikel Irurita <mikel.irurita <at> openbravo.com> Date: Thu Jul 12 13:35:58 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/5e61ae4a9e68d720898297d8c5355937f3e80a6c [^] Fixes issue 21031: problem with discounts and Price Including Taxes price lists --- M src-db/database/model/functions/C_INVOICE_POST.xml M src-db/database/model/functions/C_ORDER_POST1.xml --- |
|
(0050552) psarobe (viewer) 2012-07-13 12:11 |
Works fine. Also tested in invoices and works fine |
|
(0050568) hgbot (developer) 2012-07-13 14:20 |
Repository: erp/devel/pi Changeset: 6ebfbe6577f59537dc57a51d23f6cde02752e839 Author: Mikel Irurita <mikel.irurita <at> openbravo.com> Date: Fri Jul 13 14:10:26 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/6ebfbe6577f59537dc57a51d23f6cde02752e839 [^] Related to issue 21031: apply rounding to gross amounts --- M src-db/database/model/functions/C_INVOICE_POST.xml --- |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-07-12 09:47 | plujan | New Issue | |
| 2012-07-12 09:47 | plujan | Assigned To | => psarobe |
| 2012-07-12 09:47 | plujan | Web browser | => Mozilla Firefox |
| 2012-07-12 09:47 | plujan | Modules | => Core |
| 2012-07-12 09:47 | plujan | OBNetwork customer | => No |
| 2012-07-12 11:06 | psarobe | Web browser | Mozilla Firefox => Mozilla Firefox |
| 2012-07-12 11:06 | psarobe | Assigned To | psarobe => mirurita |
| 2012-07-12 11:06 | psarobe | Status | new => scheduled |
| 2012-07-12 13:37 | hgbot | Checkin | |
| 2012-07-12 13:37 | hgbot | Note Added: 0050530 | |
| 2012-07-12 13:37 | hgbot | Status | scheduled => resolved |
| 2012-07-12 13:37 | hgbot | Resolution | open => fixed |
| 2012-07-12 13:37 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/5e61ae4a9e68d720898297d8c5355937f3e80a6c [^] |
| 2012-07-13 12:11 | psarobe | Note Added: 0050552 | |
| 2012-07-13 12:11 | psarobe | Status | resolved => closed |
| 2012-07-13 12:11 | psarobe | Fixed in Version | => 3.0MP13 |
| 2012-07-13 14:20 | hgbot | Checkin | |
| 2012-07-13 14:20 | hgbot | Note Added: 0050568 | |
| 2017-03-06 18:41 | aferraz | Relationship added | related to 0035428 |
| Copyright © 2000 - 2009 MantisBT Group |