Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021523Openbravo ERP03. Procurement managementpublic2012-08-31 12:282012-09-26 17:30
VictorVillar 
mirurita 
immediatemajoralways
closedfixed 
5
3.0MP13 
3.0MP15 
Core
Production - QA Approved
2012-06-19
https://code.openbravo.com/erp/devel/pi/rev/09a2cab4bfac [^]
yes
0021523: Wrong update of the tax amount line when completes an invoice
Wrong update of the tax amount line when completes an invoice
As group admin role,

Go to Purchase or Sales invoice window,
  Create a new register for España organization
 Go to lines tab
    create a new register
        product: whatever
        tax: some tax exempt
Save it. Realise that in the Tax tab there is one line with tax amount= 0.
 Create a new register in tax tab
     Tax: importaciones 18% IVA or whatever
          tax amount = 18
save it. Realise that the tax exempt shows in the tax amount = 0

Complete it.

now realise that the tax amount of the tax exempt is = 18. This is the error.
 Due to this error when you post the invoice the journal entry shows information in Suspense account
No tags attached.
Issue History
2012-08-31 12:28VictorVillarNew Issue
2012-08-31 12:28VictorVillarAssigned To => mirurita
2012-08-31 12:28VictorVillarModules => Core
2012-08-31 12:28VictorVillarRegression level => Production - QA Approved
2012-09-06 12:06hgbotCheckin
2012-09-06 12:06hgbotNote Added: 0051892
2012-09-06 12:06hgbotStatusnew => resolved
2012-09-06 12:06hgbotResolutionopen => fixed
2012-09-06 12:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2d8b2a794d9d99115a91ee8058650e38caebb262 [^]
2012-09-06 12:08dmiguelezNote Added: 0051893
2012-09-06 13:56shuehnerRegression date => 2012-06-19
2012-09-06 13:56shuehnerRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/09a2cab4bfac [^]
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: 0052655
2012-09-26 17:15hgbotStatusclosed => resolved
2012-09-26 17:15hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/2d8b2a794d9d99115a91ee8058650e38caebb262 [^] => http://code.openbravo.com/erp/devel/pi/rev/9b83cbb3649b88537c65d906dde4db2d95b0d2bb [^]
2012-09-26 17:18hudsonbotCheckin
2012-09-26 17:18hudsonbotNote Added: 0052691
2012-09-26 17:30gorka_gilStatusresolved => closed

Notes
(0051892)
hgbot   
2012-09-06 12:06   
Repository: erp/devel/pi
Changeset: 2d8b2a794d9d99115a91ee8058650e38caebb262
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Thu Sep 06 12:04:26 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/2d8b2a794d9d99115a91ee8058650e38caebb262 [^]

Fixes issue 21523. Adds a conditinal sentence for avoiding
code when is not price including taxes.

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

Login as Openbravo/openbravo

Go to Purchase or Sales invoice window,
  Create a new register for España organization
 Go to lines tab
    create a new register
        product: whatever
        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: importaciones 18% IVA or whatever
          taxable amount = 18
save it. Realise that the tax exempt shows in the tax amount = 0

Complete it.

now realise that the tax amount of the tax exempt is still 0
(0052655)
hgbot   
2012-09-26 17:15   
Repository: erp/devel/pi
Changeset: 9b83cbb3649b88537c65d906dde4db2d95b0d2bb
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Thu Sep 06 12:04:26 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9b83cbb3649b88537c65d906dde4db2d95b0d2bb [^]

Fixes issue 21523. Adds a conditinal sentence for avoiding
code when is not price including taxes.

---
M src-db/database/model/functions/C_INVOICE_POST.xml
---
(0052691)
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