Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0025619Openbravo ERP09. Financial managementpublic2014-01-31 09:252014-02-12 18:29
jonalegriaesarte 
Sandrahuguet 
immediatemajorhave not tried
closedfixed 
5
3.0MP28.5 
3.0PR14Q23.0PR14Q2 
jonalegriaesarte
Core
Production - Confirmed Stable
2012-06-27
https://code.openbravo.com/erp/devel/pi/rev/cd5ca526067a [^]
No
0025619: Post of financial invoices fails when the tax is not deductible
Post of financial invoices fails when the tax in the line is not deductible
A tax flagged as not deductible is needed for this topic

- Create a purchase invoice header
- Create a financial line. To do that create a new gl item with the accouting and select it in the line
- Select the not deductible tax in the line
- Book it
- Post it.
Error
Process failed during execution
Issue seems to be in DocInvoice.java in line:

 Account.getAccount(conn, dataEx[0].pExpenseAcct)

dataEx is null

Changeset that is causing the issue:

https://code.openbravo.com/erp/devel/pi/rev/cd5ca526067a [^]
No tags attached.
Issue History
2014-01-31 09:25jonalegriaesarteNew Issue
2014-01-31 09:25jonalegriaesarteAssigned To => Sandrahuguet
2014-01-31 09:25jonalegriaesarteModules => Core
2014-01-31 09:25jonalegriaesarteTriggers an Emergency Pack => No
2014-01-31 11:41SandrahuguetRegression level => Production - Confirmed Stable
2014-01-31 11:41SandrahuguetRegression date => 2012-06-27
2014-01-31 11:41SandrahuguetRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/cd5ca526067a [^]
2014-01-31 12:52SandrahuguetStatusnew => acknowledged
2014-01-31 12:52SandrahuguetStatusacknowledged => scheduled
2014-01-31 12:52Sandrahuguetfix_in_branch => pi
2014-01-31 13:44hgbotCheckin
2014-01-31 13:44hgbotNote Added: 0063827
2014-01-31 13:44hgbotStatusscheduled => resolved
2014-01-31 13:44hgbotResolutionopen => fixed
2014-01-31 13:44hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/31e52bc4238396629ed756f99ff8748824282ea2 [^]
2014-02-05 09:26jonalegriaesarteReview Assigned To => jonalegriaesarte
2014-02-05 09:26jonalegriaesarteNote Added: 0063912
2014-02-05 09:26jonalegriaesarteStatusresolved => closed
2014-02-05 09:26jonalegriaesarteFixed in Version => 3.0MP32
2014-02-12 18:29hudsonbotCheckin
2014-02-12 18:29hudsonbotNote Added: 0064143

Notes
(0063827)
hgbot   
2014-01-31 13:44   
Repository: erp/devel/pi
Changeset: 31e52bc4238396629ed756f99ff8748824282ea2
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Fri Jan 31 13:43:17 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/31e52bc4238396629ed756f99ff8748824282ea2 [^]

Fixed bug 25619 Post of financial invoices fails when the tax is notdeductible

---
M src/org/openbravo/erpCommon/ad_forms/DocInvoice.java
---
(0063912)
jonalegriaesarte   
2014-02-05 09:26   
Tested and working fine.
(0064143)
hudsonbot   
2014-02-12 18:29   
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/d1a5bb862230 [^]
Maturity status: Test