Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017486Openbravo ERPA. Platformpublic2011-06-03 10:352011-06-22 11:44
maite 
alostale 
urgentmajoralways
closedfixed 
5
 
 
Core
No
0017486: Informative message not obtained when reconciling transactions manually and in spanish
Informative message not obtained when reconciling transactions manually and in spanish.

Reconciliation.html line 55
showJSMessage('APRM_DateWillBeUpdated');

An Ajax call is done to the server (MessageJS.java) and using the xml template the response is built.

As in AD_TEXTINTERFACES exist a record with text (Warning) and without filename associated the xml engine translates the field:

<xml-structure>
  <status>
    <type>Aviso</type>
    <title>Aviso</title>
    <description><![CDATA[Al seleccionar transacciones posteriores a la fecha de reconciliación, la fecha de la transacción será actualizada a la fecha de la línea del extracto bancario]]></description>
  </status>
</xml-structure>

in MessageBox.js the setValues_MessageBox function looks for ERROR, WARNING, INFO, SUCCESS types but as the response has a translated vale (AVISO) the message is not displayed.
0. install spanish translation
1. Configure Financial Account to make reconciliation manually
2. Add Transaction with future date 15/08/2011
3. Press Reconcile button. Your transaction is not shown as date is posterior. Uncheck option "Hide Transactions after statement date" and realize that you can now see transaction but you are not obtaining informative message letting you know that your transaction's date is going to be updated.

If you switch to English language you will obtain proper message:

Warning
When matching transactions after reconciliation date range, these transaction dates will be updated to bank statement line date
No tags attached.
depends on backport 0017628 closed alostale Informative message not obtained when reconciling transactions manually and in spanish 
Issue History
2011-06-03 10:35maiteNew Issue
2011-06-03 10:35maiteAssigned To => dalsasua
2011-06-03 10:35maiteModules => Advanced Payables and Receivables Mngmt
2011-06-03 10:36maiteIssue Monitored: networkb
2011-06-03 10:38jonalegriaesarteAssigned Todalsasua => mirurita
2011-06-13 13:36miruritaModulesAdvanced Payables and Receivables Mngmt => Core
2011-06-13 13:36miruritaAssigned Tomirurita => alostale
2011-06-13 13:36miruritaCategoryZ. Others => A. Platform
2011-06-13 13:36miruritaDescription Updatedbug_revision_view_page.php?rev_id=2245#r2245
2011-06-13 17:59alostaleStatusnew => scheduled
2011-06-13 17:59alostalefix_in_branch => pi
2011-06-13 18:03hgbotCheckin
2011-06-13 18:03hgbotNote Added: 0038318
2011-06-13 18:03hgbotStatusscheduled => resolved
2011-06-13 18:03hgbotResolutionopen => fixed
2011-06-13 18:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cfd72e0f0ca28924a67c41d23031397fd482acc2 [^]
2011-06-14 16:50maiteNote Added: 0038348
2011-06-14 16:50maiteStatusresolved => closed
2011-06-22 11:44hudsonbotCheckin
2011-06-22 11:44hudsonbotNote Added: 0038460

Notes
(0038318)
hgbot   
2011-06-13 18:03   
Repository: erp/devel/pi
Changeset: cfd72e0f0ca28924a67c41d23031397fd482acc2
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Jun 13 18:01:02 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/cfd72e0f0ca28924a67c41d23031397fd482acc2 [^]

fixed bug 17486: JS messages (2.50) translate code

---
M src/org/openbravo/erpCommon/businessUtility/MessageJS.java
M src/org/openbravo/erpCommon/businessUtility/MessageJS.srpt
M src/org/openbravo/erpCommon/businessUtility/MessageJS.xml
---
(0038348)
maite   
2011-06-14 16:50   
verified
(0038460)
hudsonbot   
2011-06-22 11:44   
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/abb438586c0e [^]

Maturity status: Test