Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007157Openbravo ERP09. Financial managementpublic2009-01-27 17:172009-04-21 12:39
plujan 
vmromanos 
normalminorhave not tried
closedfixed 
30
2.40 
 
Core
No
0007157: I get an error when creating assets amortizations with no accounting
I create a new Client with no accounting schema I get an error. Since I should be able to create assets even without accounting, so error should not happen.
1.Create a new client, do not choose Dimensions nor Chart of Accounts
2.Create on Assets an Asset with percentage and amounts
3.Click on Create Amortization button. An error is displayed. See attach.
4.Repeat the test but now use a client with accounting. Now it works.
Openbravo ERP could be configured to work with or without accounting, so a client with no accounting should have available all functionality except accounting specific processes.
No tags attached.
png BUG_240_mp2_AssetsWithNoAccountingError.PNG (100,261) 2009-01-27 17:17
https://issues.openbravo.com/file_download.php?file_id=740&type=bug
png
Issue History
2009-01-27 17:17plujanNew Issue
2009-01-27 17:17plujanAssigned To => rafaroda
2009-01-27 17:17plujansf_bug_id0 => 2540728
2009-01-27 17:17plujanFile Added: BUG_240_mp2_AssetsWithNoAccountingError.PNG
2009-01-27 17:17plujanRegression testing => No
2009-01-30 18:02psarobeStatusnew => scheduled
2009-01-30 18:02psarobeAssigned Torafaroda => vmromanos
2009-01-30 18:02psarobefix_in_branch => trunk
2009-02-04 13:00vmromanosNote Added: 0013129
2009-02-04 13:02svnbotCheckin
2009-02-04 13:02svnbotNote Added: 0013131
2009-02-04 13:02svnbotStatusscheduled => resolved
2009-02-04 13:02svnbotResolutionopen => fixed
2009-02-04 13:02svnbotsvn_revision => 12758
2009-04-21 12:39psarobeStatusresolved => closed

Notes
(0013129)
vmromanos   
2009-02-04 13:00   
The problem is when a currency is not selected into the asset. The process tries to find the currency's precision and it fails.

We have decided to show a message when the user runs the "Create amortization" process informing that the currency is mandatory. This solution is the same as when no amount is introduced.
(0013131)
svnbot   
2009-02-04 13:02   
Repository: openbravo
Revision: 12758
Author: vmromanos
Date: 2009-02-04 13:02:22 +0100 (Wed, 04 Feb 2009)

Fixed bug 7157: I get an error when creating assets amortizations with no accounting

---
U trunk/src-db/database/model/functions/A_ASSET_POST.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=12758&sc=1 [^]