Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016219
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2011-03-10 18:242011-03-16 00:00
ReporterjtarbalView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision234b12f6fdd8
ProjectionnoneETAnoneTarget Version3.0RC5
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0RC4SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0016219: Cannot create G/L Journal Entries

DescriptionIn an Openbravo 3RC4 with the new UI, it is not possible to create a "G/L Journal" transaction.
Steps To Reproduce1.- Go to "G/L Journal" window.
2.- Click on the "Create a new record in a form" button. Realize that the button does not work.
3.- Click on the "Create a new record in the grid" button and fill in all mandatory fields.
4.- Realize that the record cannot be saved as the creation date does not exist.
TagsNo tags attached.
Attached Files? file icon GL Journal Entry.bmp [^] (4,096,054 bytes) 2011-03-12 01:34

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0034747)
dalsasua (reporter)
2011-03-11 10:20

Due to the reporting guidelines at http://wiki.openbravo.com/wiki/Bug_Reporting_Guidelines#How_to_Report_an_Issue [^] the severity is modified.
(0034768)
xplaces (reporter)
2011-03-12 01:39

Same behaviour observed with RC4. However, after updating with last version today 11th march from live.builds, it is already possible to create a G/L Journal, a Header, but it is not possible to create lines. System shows this message : "Error
New object FinancialMgmtTaxRate(null) (key: ""_FinancialMgmtTaxRate) refered to but not present in the import set". I attach an screen-shot with this in live.builds.

If you check live.builds, there are already some G/L Entries totally completed, but:
* If you try to add a new line (after unposting and reactivating), same error occurs
* If you modify any of the existing lines, error does not occur

It seems then, something has changed which makes it work bad, while it worked fine previously (corresponding to the existing registers).
(0034795)
mtaal (manager)
2011-03-14 12:42

Hi,
This works fine with my pi instance. Can you recheck this on live.builds?
http://live.builds.openbravo.com/int-full-pgsql [^]

gr. Martin
(0034802)
xplaces (reporter)
2011-03-14 13:40

Hi Martin,

I get the same error... :(

Try this in the environment you have proposed in live.builds:

* Go to G/L Journal
* Use the existing G/L Journal entry called "Asiento de Apertura"
* Try to add a new line under the header also called "Asiento de Apertura" (you will need to unpost it probably). Use this Accounting Combination : 0-17100-- , and for example 10.000 as debit ammount
* Once you try to save error message appears: "New object FinancialMgmtTaxRate(null) (key: ""_FinancialMgmtTaxRate) refered to but not present in the import set"

I've tried also with a new G/L entry, called "test xavi", and I've observed same error.

Let me know if you need any additional test from my side.

Regards,

Xavi
(0034821)
mtaal (manager)
2011-03-14 17:44

Found this:
The FormInitializationComponent returns this as the value for the tax:
"C_Tax_ID":{"value":"\"\"","classicValue":"\"\""}

So it seems to encode an empty string in the value.

gr. Martin
(0034834)
marvintm (developer)
2011-03-14 18:48

It seems like the default for the c_tax_id column is "". This is a pretty cornercase default, but there is no reason not to support it anyway, so I'm committing an issue for this.
(0034835)
hgbot (developer)
2011-03-14 18:50

Repository: erp/devel/pi
Changeset: 234b12f6fdd845c7a7162d311faf8db4b95ecd96
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Mar 14 18:49:25 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/234b12f6fdd845c7a7162d311faf8db4b95ecd96 [^]

Fixed issue 16219. Defaults with value "" now will work correctly.

---
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/UIDefinition.java
---
(0034872)
iperdomo (reporter)
2011-03-15 12:35

Tested on pi @ rev c8fbad03ca71

- Issue History
Date Modified Username Field Change
2011-03-10 18:24 jtarbal New Issue
2011-03-10 18:24 jtarbal Assigned To => dalsasua
2011-03-10 18:24 jtarbal Modules => Core
2011-03-11 10:19 dalsasua Severity critical => major
2011-03-11 10:20 dalsasua Note Added: 0034747
2011-03-12 01:34 xplaces File Added: GL Journal Entry.bmp
2011-03-12 01:39 xplaces Note Added: 0034768
2011-03-14 07:32 dalsasua Assigned To dalsasua => alostale
2011-03-14 10:56 alostale Status new => scheduled
2011-03-14 12:27 alostale Assigned To alostale => mtaal
2011-03-14 12:42 mtaal Note Added: 0034795
2011-03-14 12:42 mtaal Status scheduled => feedback
2011-03-14 13:40 xplaces Note Added: 0034802
2011-03-14 16:02 iperdomo Fixed in Version => 3.0RC5
2011-03-14 16:14 iperdomo Fixed in Version 3.0RC5 =>
2011-03-14 16:14 iperdomo Target Version => 3.0RC5
2011-03-14 17:44 mtaal Note Added: 0034821
2011-03-14 17:45 mtaal Assigned To mtaal => marvintm
2011-03-14 18:08 iperdomo Status feedback => scheduled
2011-03-14 18:08 iperdomo fix_in_branch => pi
2011-03-14 18:48 marvintm Note Added: 0034834
2011-03-14 18:50 hgbot Checkin
2011-03-14 18:50 hgbot Note Added: 0034835
2011-03-14 18:50 hgbot Status scheduled => resolved
2011-03-14 18:50 hgbot Resolution open => fixed
2011-03-14 18:50 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/234b12f6fdd845c7a7162d311faf8db4b95ecd96 [^]
2011-03-15 12:35 iperdomo Note Added: 0034872
2011-03-15 12:35 iperdomo Status resolved => closed
2011-03-16 00:00 anonymous sf_bug_id 0 => 3214409


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker