Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0020649 | Openbravo ERP | E. Translation | public | 2012-05-30 16:54 | 2012-06-22 10:14 |
|
Reporter | VictorVillar | |
Assigned To | alostale | |
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | 3.0MP11 | |
Target Version | 3.0MP13 | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 15357 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0020649: Not translation of selector fields for Business Partner selector in Sales Invoice window |
Description | After install the Spanish translation module of Openbravo we can see that does not exist any translation of selector fields for Business Partner selector in Sales Invoice window.
After solve this problem it is necessary to launch a new version of the Spanish translation pack |
Steps To Reproduce | Before the following steps install the Spanish translation module for Openbravo.
As Group Admin role and Spanish as language,
Go to Sales Invoice (Factura (Cliente)) window,
Create a new register
open Business Partner selector
we can see that the Selectors fields are not translated |
Proposed Solution | Configure the translation checks to YES for all the business partner selector fields.
After solve this problem it is necessary to launch a new version of the Spanish translation pack |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2012-05-30 16:54 | VictorVillar | New Issue | |
2012-05-30 16:54 | VictorVillar | Assigned To | => alostale |
2012-05-30 16:54 | VictorVillar | Modules | => Core |
2012-05-30 16:54 | VictorVillar | OBNetwork customer | => Yes |
2012-05-30 16:54 | VictorVillar | Support ticket | => 15357 |
2012-05-30 16:54 | VictorVillar | Resolution time | => 1343080800 |
2012-05-30 16:55 | VictorVillar | Issue Monitored: networkb | |
2012-05-31 15:16 | alostale | Assigned To | alostale => vmromanos |
2012-05-31 15:51 | vmromanos | Note Added: 0049543 | |
2012-05-31 15:51 | vmromanos | Assigned To | vmromanos => alostale |
2012-06-04 13:36 | alostale | Note Added: 0049605 | |
2012-06-08 10:01 | hgbot | Checkin | |
2012-06-08 10:01 | hgbot | Note Added: 0049702 | |
2012-06-08 10:01 | hgbot | Status | new => resolved |
2012-06-08 10:01 | hgbot | Resolution | open => fixed |
2012-06-08 10:01 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/dbb3d43517a8294bbeed4ce1d8931da600fa449f [^] |
2012-06-08 10:01 | hgbot | Checkin | |
2012-06-08 10:01 | hgbot | Note Added: 0049703 | |
2012-06-22 10:00 | VictorVillar | Note Added: 0050021 | |
2012-06-22 10:00 | VictorVillar | Status | resolved => closed |
2012-06-22 10:14 | VictorVillar | Note Added: 0050026 | |
Notes |
|
|
In 3.0MP10.1 we updated the es_ES translation for all the modules included into the distribution; no untranslated string were pending.
However I have tested it and the fields are not translated, example "Customer Balance".
Digging into the XML exported by Openbravo I see that this string is always translated:
$ fgrep -r "Customer Balance" *
AD_ELEMENT_TRL_es_ES.xml: <value column="Name" isTrl="Y" original="Customer Balance">Crédito usado</value>
AD_ELEMENT_TRL_es_ES.xml: <value column="PrintName" isTrl="Y" original="Customer Balance">Crédito usado</value>
AD_ELEMENT_TRL_es_ES.xml: <value column="Help" isTrl="Y" original="The Customer Balance indicates the total amount of open or unpaid invoices for this Business Partner.">Indica la suma total de las facturas entregadas a este tercero que permanecen sin haber sido pagadas. </value>
AD_MESSAGE_TRL_es_ES.xml: <value column="MsgText" isTrl="Y" original="Customer Balance">Crédito usado</value>
org.openbravo.advpaymentmngt/AD_TEXTINTERFACES_TRL_es_ES.xml: <value column="Text" isTrl="Y" original="Customer Balance">Balance del Cliente</value>
org.openbravo.advpaymentmngt/AD_TEXTINTERFACES_TRL_es_ES.xml: <value column="Text" isTrl="Y" original="Customer Balance">Balance del Cliente</value>
However I can't find the record inside the OBUISEL_SELECTOR_FIELD_TRL_es_ES.xml. It looks like the export process is not properly exporting this table.
Moving back to platform to check if the export process is working properly or not. |
|
|
|
The problem is these fields are marked as centrally maintained.
When a parent field is centrally maintained, its translation is not exported.
For centrally maintained selector fields, info is taken from the element associated with the column (property) in the field. It is only possible to associate a column for selectors of type table but not for custom query ones. Latter case is the one of Business Partner selector. In this case, centrally maintained option shouldn't be shown and it should always be set to N, forcing to write all UI info directly in the field and not in the element.
Proposed solution:
-Hide centrally maintained option for custom query selectors.
-In case of custom query selector, force centrally maintenance to be false
-Fix current values in OB distribution of centrally maintenance to follow this new rule
-Communicate this rule to other module owners to fix their modules
-Fix translation modules to include missing fields |
|
|
(0049702)
|
hgbot
|
2012-06-08 10:01
|
|
Repository: erp/devel/pi
Changeset: dbb3d43517a8294bbeed4ce1d8931da600fa449f
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Jun 08 09:59:25 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/dbb3d43517a8294bbeed4ce1d8931da600fa449f [^]
fixed bug 20649: Some selector fields were not translated
Forcing fields of custom query selectors to be set as not centrally maintained
---
M modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_FIELD.xml
A modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/SelectorFieldHandler.java
---
|
|
|
(0049703)
|
hgbot
|
2012-06-08 10:01
|
|
|
|
|
Verified: Another issue is opened for monitoring the translation fields when the translation pack will be launched |
|
|
|
|