Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0025276Openbravo ERPA. Platformpublic2013-12-05 09:092013-12-19 12:30
alostale 
alostale 
urgentminorN/A
closedfixed 
5
 
3.0MP313.0MP31 
marvintm
Core
No
0025276: Add new mode to DataToJsonConverter to translate all translatable properties in BaseOBObject
DataToJsonConverter class is in charge of converting BaseOBObjects into JSON used, for example, to represent data in grid.

When these objects have a translatable identifier, it is translated to the context's language (if possible), but in case the object has some translatable properties they are not tried to be translated.

This behavior makes sense for the general usage, where the base values are wanted to be seen.

But in some cases, such as WebPOS usage, it is desirable to translate all translatable properties in the object.
-
Add a new resolving mode (DataResolvingMode.FULL_TRANSLATABLE) that will be used to try to translate all properties.

This mode will be used from WebPOS
No tags attached.
related to feature request 00252753.0MP31 closed alostale Add translation infrastructure for Product Categories and Promotions 
Issue History
2013-12-05 09:09alostaleNew Issue
2013-12-05 09:09alostaleAssigned To => alostale
2013-12-05 09:09alostaleModules => Core
2013-12-05 09:09alostaleTriggers an Emergency Pack => No
2013-12-05 09:09alostaleReview Assigned To => marvintm
2013-12-05 09:10alostaleRelationship addedrelated to 0025275
2013-12-05 09:44hgbotCheckin
2013-12-05 09:44hgbotNote Added: 0062548
2013-12-05 09:44hgbotStatusnew => resolved
2013-12-05 09:44hgbotResolutionopen => fixed
2013-12-05 09:44hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/aee3dd40fd0424275002c3340e09720e7684504f [^]
2013-12-10 09:44marvintmStatusresolved => closed
2013-12-10 09:44marvintmFixed in Version => 3.0MP31
2013-12-19 12:30hudsonbotCheckin
2013-12-19 12:30hudsonbotNote Added: 0062827

Notes
(0062548)
hgbot   
2013-12-05 09:44   
Repository: erp/devel/pi
Changeset: aee3dd40fd0424275002c3340e09720e7684504f
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Dec 05 09:10:33 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/aee3dd40fd0424275002c3340e09720e7684504f [^]

fixed issue 25276: new mode in DataToJsonConverter to translate all properties

---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DataResolvingMode.java
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DataToJsonConverter.java
---
(0062827)
hudsonbot   
2013-12-19 12:30   
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/b878bb51dc09 [^]

Maturity status: Test