Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018546Openbravo ERP09. Financial managementpublic2011-09-16 16:552011-10-12 01:59
psanjuan 
mirurita 
immediatemajoralways
closedfixed 
20Ubuntu 8.04.1
 
3.0MP3 
Google Chrome
Core
No
0018546: Error - Process Failed during execution
Error - Process Failed during execution
Create a gl item for organization : F&B US Inc, by including the ledger accounts for both accounting schemas.

Create a Tax rate for F&B US Inc organization, named "Tax Exempt" as a sales tax rate. Make sure that the ledger accounts for both acc. schemas are properly setup.

Navigate to Sales Invoice and create a new one for F&B US Inc org.
Select a BP with USD as currency.
Select "Financial Invoice" flag and select the GL item previously create in the account field.

Enter a net unit price of 33.55 and the tax exempt.

Complete and try to post.

You will get below error.

It happens the same in case of:
(1) entering an exchange rate from USD to EUR in the exchange rate tab. I even do have USD to EUR conversion rates at system level.
(2) having 2 accounting schemas in USD, therefore no exchange rate is required.

No problem/issue in case of posting a "normal" sales invoice, including a product and not a GL item.
Regression
has duplicate defect 00185373.0MP4 closed mirurita It is imposible to post an invoice with G/L Items like a product 
png 18546_1.png (59,015) 2011-09-16 17:14
https://issues.openbravo.com/file_download.php?file_id=4553&type=bug
png

png 18546_2.png (88,830) 2011-09-16 17:15
https://issues.openbravo.com/file_download.php?file_id=4554&type=bug
png

png 18546_3.png (95,540) 2011-09-16 17:15
https://issues.openbravo.com/file_download.php?file_id=4555&type=bug
png

png 18546_4.png (104,084) 2011-09-16 17:15
https://issues.openbravo.com/file_download.php?file_id=4556&type=bug
png

png 18546_5.png (100,852) 2011-09-16 17:16
https://issues.openbravo.com/file_download.php?file_id=4557&type=bug
png

png 18546_6.png (102,972) 2011-09-16 17:16
https://issues.openbravo.com/file_download.php?file_id=4558&type=bug
png
Issue History
2011-09-16 16:55psanjuanNew Issue
2011-09-16 16:55psanjuanAssigned To => jonalegriaesarte
2011-09-16 16:55psanjuanWeb browser => Google Chrome
2011-09-16 16:55psanjuanModules => Core
2011-09-16 17:05psanjuanWeb browserGoogle Chrome => Google Chrome
2011-09-16 17:05psanjuanAssigned Tojonalegriaesarte => eduardo_Argal
2011-09-16 17:14psanjuanFile Added: 18546_1.png
2011-09-16 17:15psanjuanFile Added: 18546_2.png
2011-09-16 17:15psanjuanWeb browserGoogle Chrome => Google Chrome
2011-09-16 17:15psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=2717#r2717
2011-09-16 17:15psanjuanFile Added: 18546_3.png
2011-09-16 17:15psanjuanFile Added: 18546_4.png
2011-09-16 17:16psanjuanFile Added: 18546_5.png
2011-09-16 17:16psanjuanFile Added: 18546_6.png
2011-09-16 17:19psanjuanWeb browserGoogle Chrome => Google Chrome
2011-09-16 17:19psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=2718#r2718
2011-09-16 17:33psanjuanRelationship addedhas duplicate 0018537
2011-09-20 13:32miruritaAssigned Toeduardo_Argal => mirurita
2011-09-20 13:37hgbotCheckin
2011-09-20 13:37hgbotNote Added: 0041131
2011-09-20 13:37hgbotStatusnew => resolved
2011-09-20 13:37hgbotResolutionopen => fixed
2011-09-20 13:37hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5eb93b083e35857ff4dd11d27f491b72ea09b0b5 [^]
2011-09-20 19:48psanjuanWeb browserGoogle Chrome => Google Chrome
2011-09-20 19:48psanjuanNote Added: 0041166
2011-09-20 19:48psanjuanStatusresolved => closed
2011-09-20 19:50psanjuanNote Added: 0041167
2011-09-20 19:51hgbotCheckin
2011-09-20 19:51hgbotNote Added: 0041169
2011-09-22 10:59dmitry_mezentsevTag Attached: Regression
2011-09-29 19:34hgbotCheckin
2011-09-29 19:34hgbotNote Added: 0041385
2011-09-29 19:34hgbotStatusclosed => resolved
2011-09-29 19:34hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/5eb93b083e35857ff4dd11d27f491b72ea09b0b5 [^] => http://code.openbravo.com/erp/devel/pi/rev/a1001204ff42bd6c10eadf91714e30b0f5a7fe8e [^]
2011-09-29 19:34hgbotCheckin
2011-09-29 19:34hgbotNote Added: 0041386
2011-09-29 19:34hgbotCheckin
2011-09-29 19:34hgbotNote Added: 0041387
2011-09-29 19:34hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/a1001204ff42bd6c10eadf91714e30b0f5a7fe8e [^] => http://code.openbravo.com/erp/devel/pi/rev/415240d522f27ef5f763ef6e7a2097f0aad6519e [^]
2011-09-29 19:34hgbotCheckin
2011-09-29 19:34hgbotNote Added: 0041388
2011-09-30 11:58psanjuanWeb browserGoogle Chrome => Google Chrome
2011-09-30 11:58psanjuanStatusresolved => closed
2011-10-12 01:58hudsonbotCheckin
2011-10-12 01:58hudsonbotNote Added: 0041687
2011-10-12 01:59hudsonbotCheckin
2011-10-12 01:59hudsonbotNote Added: 0041691

Notes
(0041131)
hgbot   
2011-09-20 13:37   
Repository: erp/devel/pi
Changeset: 5eb93b083e35857ff4dd11d27f491b72ea09b0b5
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Tue Sep 20 13:33:32 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5eb93b083e35857ff4dd11d27f491b72ea09b0b5 [^]

Fixes issue 18546: Posting financial invoice - Process Failed during execution

---
M src/org/openbravo/erpCommon/ad_forms/DocInvoice.java
M src/org/openbravo/erpCommon/ad_forms/DocInvoice_data.xsql
---
(0041166)
psanjuan   
2011-09-20 19:48   
fixed and working
(0041167)
psanjuan   
2011-09-20 19:50   
Error message changed in the case there is a GL item for which an account is missing for a given accounting schema.
Up to now the message was also "Process Failed during Execution".
The message now is "Account could not be found".
(0041169)
hgbot   
2011-09-20 19:51   
Repository: erp/devel/pi
Changeset: aca3b5a8e7cb40b3c957caccaf311981330d04d8
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Tue Sep 20 19:50:12 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/aca3b5a8e7cb40b3c957caccaf311981330d04d8 [^]

Related to issue 18546: improve message to InvalidAccount

---
M src/org/openbravo/erpCommon/ad_forms/DocInvoice.java
---
(0041385)
hgbot   
2011-09-29 19:34   
Repository: erp/devel/pi
Changeset: a1001204ff42bd6c10eadf91714e30b0f5a7fe8e
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Tue Sep 20 13:33:32 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a1001204ff42bd6c10eadf91714e30b0f5a7fe8e [^]

Fixes issue 18546: Posting financial invoice - Process Failed during execution

---
M src/org/openbravo/erpCommon/ad_forms/DocInvoice.java
M src/org/openbravo/erpCommon/ad_forms/DocInvoice_data.xsql
---
(0041386)
hgbot   
2011-09-29 19:34   
Repository: erp/devel/pi
Changeset: be76f98d923139c90fda9c8a6dbc388e07fd1d07
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Tue Sep 20 19:50:12 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/be76f98d923139c90fda9c8a6dbc388e07fd1d07 [^]

Related to issue 18546: improve message to InvalidAccount

---
M src/org/openbravo/erpCommon/ad_forms/DocInvoice.java
---
(0041387)
hgbot   
2011-09-29 19:34   
Repository: erp/devel/pi
Changeset: 415240d522f27ef5f763ef6e7a2097f0aad6519e
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Tue Sep 20 13:33:32 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/415240d522f27ef5f763ef6e7a2097f0aad6519e [^]

Fixes issue 18546: Posting financial invoice - Process Failed during execution

---
M src/org/openbravo/erpCommon/ad_forms/DocInvoice.java
M src/org/openbravo/erpCommon/ad_forms/DocInvoice_data.xsql
---
(0041388)
hgbot   
2011-09-29 19:34   
Repository: erp/devel/pi
Changeset: d411c230fb19972bc89e125f40bc43324f92ca27
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Tue Sep 20 19:50:12 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d411c230fb19972bc89e125f40bc43324f92ca27 [^]

Related to issue 18546: improve message to InvalidAccount

---
M src/org/openbravo/erpCommon/ad_forms/DocInvoice.java
---
(0041687)
hudsonbot   
2011-10-12 01:58   
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/9bd2b5c2d982 [^]

Maturity status: Test
(0041691)
hudsonbot   
2011-10-12 01:59   
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/9bd2b5c2d982 [^]

Maturity status: Test