Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0034119 | Openbravo ERP | A. Platform | public | 2016-09-28 13:29 | 2018-02-22 18:18 |
|
Reporter | egoitz | |
Assigned To | jarmendariz | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR18Q2 | |
Merge Request Status | |
Review Assigned To | caristu |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0034119: The syncrhonize terminology does not work properly on po windows on some circunstances |
Description | The synchronize terminology does not take the translation properly on the following scenario. |
Steps To Reproduce | Install the translation for spanish
Define a new module as indevelopment with language es_ES (spanish(Spain))
Create for the new module a new window defined as maintenance window and not sales window.
Create a tab for m_inouttable.
Create the fields with the create fields process and check that they are defined as central maintenance.
Execute the syncrhonize terminology process.
*The description and help fields take properly the translated values but the name for the c_doctype_id field is not changed.
|
Proposed Solution | Modify that line on the ad_synchronize function:
(SELECT COALESCE(T.PO_NAME, (CASE WHEN e.PO_NAME='' THEN e.name ELSE COALESCE(e.PO_NAME,e.name) END), t.name, e.name)
The t.name should be used before the e.name. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0022324 | | closed | shankarb | Synchronize terminology not work properly in g/l journal window | related to | defect | 0033889 | | feedback | JONHM | Synchronize Terminology fails when only having a Template in development |
|
Attached Files | bug-34119.patch (2,609) 2017-12-21 13:06 https://issues.openbravo.com/file_download.php?file_id=11388&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2016-09-28 13:29 | egoitz | New Issue | |
2016-09-28 13:29 | egoitz | Assigned To | => platform |
2016-09-28 13:29 | egoitz | Modules | => Core |
2016-09-28 13:29 | egoitz | Triggers an Emergency Pack | => No |
2016-09-29 09:13 | alostale | Relationship added | related to 0033889 |
2016-09-29 09:13 | alostale | Status | new => acknowledged |
2017-12-13 19:28 | caristu | Assigned To | platform => jarmendariz |
2017-12-18 18:18 | jarmendariz | Status | acknowledged => scheduled |
2017-12-19 12:57 | jarmendariz | Relationship added | related to 0022324 |
2017-12-21 13:06 | jarmendariz | File Added: bug-34119.patch | |
2017-12-21 13:07 | jarmendariz | Review Assigned To | => caristu |
2018-01-22 13:51 | hgbot | Checkin | |
2018-01-22 13:51 | hgbot | Note Added: 0101840 | |
2018-01-22 13:51 | hgbot | Status | scheduled => resolved |
2018-01-22 13:51 | hgbot | Resolution | open => fixed |
2018-01-22 13:51 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/b1253e5b88c5cebb28fa4349902e01eefcdd0ee0 [^] |
2018-01-22 13:53 | hgbot | Checkin | |
2018-01-22 13:53 | hgbot | Note Added: 0101842 | |
2018-01-22 13:54 | caristu | Note Added: 0101843 | |
2018-01-22 13:54 | caristu | Status | resolved => closed |
2018-01-22 13:54 | caristu | Fixed in Version | => 3.0PR18Q2 |
2018-02-22 18:18 | hudsonbot | Checkin | |
2018-02-22 18:18 | hudsonbot | Note Added: 0102677 | |
2018-02-22 18:18 | hudsonbot | Checkin | |
2018-02-22 18:18 | hudsonbot | Note Added: 0102678 | |
Notes |
|
(0101840)
|
hgbot
|
2018-01-22 13:51
|
|
Repository: erp/devel/pi
Changeset: b1253e5b88c5cebb28fa4349902e01eefcdd0ee0
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Wed Dec 20 14:01:34 2017 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b1253e5b88c5cebb28fa4349902e01eefcdd0ee0 [^]
Fixed bug 34119: Sync terminology doesn't translate some PO window fields.
In Synchronize Terminology the PO field's name is taken from its element instead of the element's translation (when available) when the element's PO_NAME field is empty.
Now the element's translation takes precedence over the element values. It is ordered as follows:
ad_element_trl.PO_NAME > ad_element.po_name > ad_element_trl.name > ad_element.name
---
M src-db/database/model/functions/AD_SYNCHRONIZE.xml
---
|
|
|
(0101842)
|
hgbot
|
2018-01-22 13:53
|
|
|
|
|
Code reviewed + tested OK. |
|
|
|
|
|
|
|