Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010319Openbravo ERPA. Platformpublic2009-08-18 21:002009-10-23 00:00
networkb 
vmromanos 
urgentmajoralways
closedfixed 
20
2.50MP2 
2.50MP7 
Core
No
0010319: Field "Document Status" not translated in Search window
Running OPenbravo in Spanish,when search a Purchase Order, the list values of Document Status filter appears in English.

The application doesn't translate these reference_lst values but the list is translated correctly in window (edition view)
-Go to Gestión de Compras || Transacciones || Pedido de compra || Cabecera
-Click Search button
-See "Estado del documento", all the list values are in english (Closed, Draft, etc..) You can see that in Purchase ORder window the list values Estado del doc. appear in Spanish.
No tags attached.
png Nottranslated.png (24,639) 2009-08-19 09:17
https://issues.openbravo.com/file_download.php?file_id=1655&type=bug
png

jpg issue10319.JPG (192,889) 2009-10-08 09:51
https://issues.openbravo.com/file_download.php?file_id=1838&type=bug
jpg
Issue History
2009-08-18 21:00networkbNew Issue
2009-08-18 21:00networkbAssigned To => rafaroda
2009-08-18 21:01networkbIssue Monitored: networkb
2009-08-19 09:17rafarodaNote Added: 0019037
2009-08-19 09:17rafarodaAssigned Torafaroda => alostale
2009-08-19 09:17rafarodaPriorityimmediate => urgent
2009-08-19 09:17rafarodaSeverityminor => major
2009-08-19 09:17rafarodaStatusnew => scheduled
2009-08-19 09:17rafarodaCategoryE. Translation => A. Platform
2009-08-19 09:17rafarodaFile Added: Nottranslated.png
2009-08-20 09:54networkbTarget Version => 2.50MP6
2009-08-31 10:42rafarodaRelationship addedrelated to 0010205
2009-09-09 12:25iciordiaAssigned Toalostale => shuehner
2009-09-15 13:20networkbTarget Version2.50MP6 =>
2009-09-21 06:30rafarodaNote Added: 0020222
2009-09-23 12:13shuehnerRelationship deletedrelated to 0010205
2009-09-23 12:19hgbotCheckin
2009-09-23 12:19hgbotNote Added: 0020309
2009-09-23 12:19hgbotStatusscheduled => resolved
2009-09-23 12:19hgbotResolutionopen => fixed
2009-09-23 12:19hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/908a09f23ff5c5d9fd5a9f4cf7a3d074a606ea80 [^]
2009-09-23 16:11psarobeTarget Version => 2.50MP6
2009-09-23 16:12psarobeTag Attached: 250mp6
2009-09-24 19:21psarobeTag Detached: 250mp6
2009-09-24 19:21psarobeTarget Version2.50MP6 => 2.50MP7
2009-09-29 14:17hgbotCheckin
2009-09-29 14:17hgbotNote Added: 0020504
2009-09-29 14:17hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/908a09f23ff5c5d9fd5a9f4cf7a3d074a606ea80 [^] => http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/908a09f23ff5c5d9fd5a9f4cf7a3d074a606ea80 [^]
2009-10-08 09:50arunkumarStatusresolved => new
2009-10-08 09:50arunkumarResolutionfixed => open
2009-10-08 09:50arunkumarNote Added: 0020868
2009-10-08 09:51arunkumarFile Added: issue10319.JPG
2009-10-09 09:06psarobeStatusnew => scheduled
2009-10-09 09:06psarobefix_in_branch => pi
2009-10-13 15:44shuehnerNote Added: 0020988
2009-10-15 15:14shuehnerAssigned Toshuehner => vmromanos
2009-10-15 15:16shuehnerNote Added: 0021062
2009-10-15 18:26vmromanosStatusscheduled => resolved
2009-10-15 18:26vmromanosResolutionopen => fixed
2009-10-15 18:26vmromanosNote Added: 0021084
2009-10-22 11:21plujanStatusresolved => closed
2009-10-23 00:00anonymoussf_bug_id0 => 2884246

Notes
(0019037)
rafaroda   
2009-08-19 09:17   
Updated to Major since it is a Platform related issue with Translation handling.

Please notice that if you make Project Status column as "searchable" in Application Dictionary and then click on the Search icon you get the Project Status also in English even if you are logged in Spanish.

Both Document and Project Status are correctly translated in the Spanish Localization Pack:

SELECT RE.NAME AS REFERENCE, REL.NAME AS EN, RELT.NAME AS ES
FROM AD_REFERENCE RE, AD_REF_LIST REL, AD_REF_LIST_TRL RELT
WHERE RE.AD_REFERENCE_ID = REL.AD_REFERENCE_ID
AND REL.AD_REF_LIST_ID = RELT.AD_REF_LIST_ID
AND RELT.AD_LANGUAGE = 'es_ES'
AND (UPPER(RE.NAME) LIKE '%PROJECTSTATUS%' OR UPPER(RE.NAME) LIKE '%ALL_DOCUMENT_STATUS%')
ORDER BY REFERENCE
(0020222)
rafaroda   
2009-09-21 06:30   
No more an OBPS issue.
(0020309)
hgbot   
2009-09-23 12:19   
Repository: erp/devel/pi
Changeset: 908a09f23ff5c5d9fd5a9f4cf7a3d074a606ea80
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Wed Sep 23 12:19:29 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/908a09f23ff5c5d9fd5a9f4cf7a3d074a606ea80 [^]

Fixed 10319: Fix translation of combo fields in search popup
New search popup code does not use getContext to disable default values.
However #AD_LANGUAGE needs an exception to make translations work

---
M src/org/openbravo/erpCommon/utility/Utility.java
---
(0020504)
hgbot   
2009-09-29 14:17   
Repository: erp/devel/pi-pageddatagrid
Changeset: 908a09f23ff5c5d9fd5a9f4cf7a3d074a606ea80
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Wed Sep 23 12:19:29 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/908a09f23ff5c5d9fd5a9f4cf7a3d074a606ea80 [^]

Fixed 10319: Fix translation of combo fields in search popup
New search popup code does not use getContext to disable default values.
However #AD_LANGUAGE needs an exception to make translations work

---
M src/org/openbravo/erpCommon/utility/Utility.java
---
(0020868)
arunkumar   
2009-10-08 09:50   
When I retest in amazon PI postgres context I still see the list values are not translated in Spanish.Please refer the screenshot I added for this and also can you please tell me whether did I test properly? Since you have resolved it I would like to know how do I test to see this as resolved?
(0020988)
shuehner   
2009-10-13 15:44   
Re-checked: If a value for the translation of the combobox-entry is present in i.e. spanish, then now after the fix this value is used.

However it seems that the values for the translation of this combo are not present at all in the spanish translation pack.

This can be verified by checking that the translation for this combo is present in edit mode which it was not in my tests.
Or this can be checked by examining the translation for the reference entry 'All_Document Status' or by using the sql provided in the first comment (by Rafa). However this info seems to contradict the claim by Rafa that the translation is present.
(0021062)
shuehner   
2009-10-15 15:16   
Reassigned to localization. Technically the popup nows shows a translation if it exists. However the latest released spanish translation obx did not contain a translation for this part (ad_ref_list_trl).

This issue should be finally closed when the next/correct translation obx is released.
(0021084)
vmromanos   
2009-10-15 18:26   
Fixed in the Spanish Translation Module version 1.0.4, available at the Central Repository or at http://forge.openbravo.com/plugins/module/index.php?group_id=172 [^]