Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015605Openbravo ERP09. Financial managementpublic2011-01-11 12:452011-05-24 10:57
adrianromero 
adrianromero 
highminoralways
closedfixed 
5
3.0RC3 
 
Core
No
0015605: Bad behaviour in the Account Tree || Element >> Element Value if you change data in the Account Combination
If you change the name of an account in Account Tree || Element >> Element Value, the description (value + name) of Account Combination is not updated until you save.
- AS Openbravo Admin fo to Financial Management || Accounting || Setup || Account Tree || Element >> Element Value
- Select the account 99909
- Change the name and save.
- Go to Financial Management || Accounting || Setup || Account Combination
- Select the account 99909.
- Realize that the description has not been updated.
- Introduce an space in the alias. Now you can use the 'Record button'
- Save
- Realize that the description has been updated
closingMay2011
blocks backport 00151302.50MP26 closed dalsasua Bad behaviour in the Account Tree || Element >> Element Value if you change data in the Account Combination 
Issue History
2011-01-11 12:45adrianromeroNew Issue
2011-01-11 12:45adrianromeroAssigned To => adrianromero
2011-01-11 12:45adrianromeroModules => Core
2011-01-11 12:45adrianromeroIssue generated from0015130
2011-01-11 12:45adrianromeroRelationship addedblocks 0015130
2011-01-11 12:46adrianromeroStatusnew => scheduled
2011-01-11 12:46adrianromerofix_in_branch => pi
2011-01-12 16:24hgbotCheckin
2011-01-12 16:24hgbotNote Added: 0033598
2011-01-12 16:24hgbotStatusscheduled => resolved
2011-01-12 16:24hgbotResolutionopen => fixed
2011-01-12 16:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9f15a1dcb5457b3c14716def6b33fa8753346933 [^]
2011-05-24 10:03dalsasuaTag Attached: closingMay2011
2011-05-24 10:57dalsasuaStatusresolved => closed

Notes
(0033598)
hgbot   
2011-01-12 16:24   
Repository: erp/devel/pi
Changeset: 9f15a1dcb5457b3c14716def6b33fa8753346933
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Wed Jan 12 16:23:18 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/9f15a1dcb5457b3c14716def6b33fa8753346933 [^]

Fixes issue 15605: Bad behaviour in the Account Tree || Element
There existed one inconsistency: element value trigger was using account description to build the valid combination description, while valid combination trigger was using the name of the account, to build the description of the combination.
The correct approach is to use the account name

---
M src-db/database/model/triggers/C_ELEMENTVALUE_TRG.xml
---