Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021566Openbravo ERP07. Sales managementpublic2012-09-06 12:262012-09-26 17:30
dmiguelez 
dmiguelez 
normalmajoralways
closedfixed 
20Community Appliance
 
3.0MP15 
gorkaion
Core
No
0021566: Wrong update of the tax amount line when completes an invoice and the Price List is set as as Price includes Tax
Wrong update of the tax amount line when completes an invoice and the Price List is set as as Price includes Tax
Login as Openbravo/openbravo

Go to Price List.
Select the Price List with name: Tarifa de ventas.
Check the Price includes Tax checkbox and save.

Go to Purchase or Sales invoice window,
  Create a new register for España organization and Business Partner Alimentos y Supermercados.
  Check in More Information that the Price List is Tarifa de Ventas.

 Go to lines tab
    create a new register
        product: Agua sin Gas
        Invoiced Quantity: 1
        tax: Ventas exentas
Save it. Realise that in the Tax tab there is one line with tax amount= 0.
 Create a new register in tax tab
     Tax: Adquisición Bienes Inversión 18% - IVA Normal Bienes Inversión
          taxable amount = 18
save it. Realise that the tax exempt shows in the tax amount = 0.24 (or 0 if issue 0021565 is fixed)

Complete it.

now realise that the tax amount of the tax exempt is = 3.24 (or 3 if issue 0021565 is fixed)
No tags attached.
Issue History
2012-09-06 12:26dmiguelezNew Issue
2012-09-06 12:26dmiguelezAssigned To => dmiguelez
2012-09-06 12:26dmiguelezModules => Core
2012-09-06 12:28hgbotCheckin
2012-09-06 12:28hgbotNote Added: 0051895
2012-09-06 12:28hgbotStatusnew => resolved
2012-09-06 12:28hgbotResolutionopen => fixed
2012-09-06 12:28hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b018aeca396fa6c9a9936175cb9d30fb43c33177 [^]
2012-09-06 12:28dmiguelezNote Added: 0051896
2012-09-06 16:21gorkaionClosed by => gorkaion
2012-09-06 16:21gorkaionStatusresolved => closed
2012-09-06 16:21gorkaionFixed in Version => 3.0MP15
2012-09-26 17:15hgbotCheckin
2012-09-26 17:15hgbotNote Added: 0052656
2012-09-26 17:15hgbotStatusclosed => resolved
2012-09-26 17:15hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/b018aeca396fa6c9a9936175cb9d30fb43c33177 [^] => http://code.openbravo.com/erp/devel/pi/rev/fcd54e3485b8b2053c54fa35a89dca5e0f5cf6aa [^]
2012-09-26 17:18hudsonbotCheckin
2012-09-26 17:18hudsonbotNote Added: 0052692
2012-09-26 17:30gorka_gilStatusresolved => closed

Notes
(0051895)
hgbot   
2012-09-06 12:28   
Repository: erp/devel/pi
Changeset: b018aeca396fa6c9a9936175cb9d30fb43c33177
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Thu Sep 06 12:27:40 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b018aeca396fa6c9a9936175cb9d30fb43c33177 [^]

Fixes issue 21566: Changes the parameters when calling the function
C_INVOICETAX_ROUNDING.

---
M src-db/database/model/functions/C_INVOICE_POST.xml
---
(0051896)
dmiguelez   
2012-09-06 12:28   
Testing Plan:

Login as Openbravo/openbravo

Go to Price List.
Select the Price List with name: Tarifa de ventas.
Check the Price includes Tax checkbox and save.

Go to Purchase or Sales invoice window,
  Create a new register for España organization and Business Partner Alimentos y Supermercados.
  Check in More Information that the Price List is Tarifa de Ventas.

 Go to lines tab
    create a new register
        product: Agua sin Gas
        Invoiced Quantity: 1
        tax: Ventas exentas
Save it. Realise that in the Tax tab there is one line with tax amount= 0.
 Create a new register in tax tab
     Tax: Adquisición Bienes Inversión 18% - IVA Normal Bienes Inversión
          taxable amount = 18
save it. Realise that the tax exempt shows in the tax amount = 0.24 (or 0 if issue 0021565 is fixed)

Complete it.

now realise that the tax amount of the tax exempt is = 0.24 (or 0 if issue 0021565 is fixed)
(0052656)
hgbot   
2012-09-26 17:15   
Repository: erp/devel/pi
Changeset: fcd54e3485b8b2053c54fa35a89dca5e0f5cf6aa
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Thu Sep 06 12:27:40 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/fcd54e3485b8b2053c54fa35a89dca5e0f5cf6aa [^]

Fixes issue 21566: Changes the parameters when calling the function
C_INVOICETAX_ROUNDING.

---
M src-db/database/model/functions/C_INVOICE_POST.xml
---
(0052692)
hudsonbot   
2012-09-26 17:18   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/b780e90c6452 [^]

Maturity status: Test