Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021567Openbravo ERPA. Platformpublic2012-09-06 12:572012-09-26 17:19
jecharri 
dbaz 
urgentmajoralways
closedfixed 
5
pi 
3.0MP16 
alostale
Core
No
0021567: Date selectors are not working in 'Trial Balance Report' with 'Openbravo 3.0 Translation Pack Arabic'
Date selectors or calendars are not working in "Trial Balance Report" with 'Openbravo 3.0 Translation Pack Arabic'

Install the module 'Openbravo 3.0 Translation Pack Arabic'
-As "Group Admin" go to report "Trial Balance Report"
-Press in calendar Icon and you will see that you can not see the calendar.

If you open the developers tool, you will see the error:
Uncaught TypeError: Cannot read property 'DEF_DATE_FORMAT' of undefined
Calendarcalendar.js:1
showCalendarutils.js:219
(anonymous function):8080/openbravo30/ad_reports/ReportTrialBalance.html?noprefs=true&hideMenu=true&Command=DEFAULT:490
onclick:8080/openbravo30/ad_reports/ReportTrialBalance.html?noprefs=true&hideMenu=true&Command=DEFAULT:491
No tags attached.
png error.png (42,277) 2012-09-06 12:58
https://issues.openbravo.com/file_download.php?file_id=5554&type=bug
png

png error2.png (52,851) 2012-09-06 12:58
https://issues.openbravo.com/file_download.php?file_id=5555&type=bug
png
Issue History
2012-09-06 12:57jecharriNew Issue
2012-09-06 12:57jecharriAssigned To => dbaz
2012-09-06 12:57jecharriFile Added: error
2012-09-06 12:57jecharriModules => Core
2012-09-06 12:57jecharriResolution time => 1349820000
2012-09-06 12:57jecharriFile Deleted: error
2012-09-06 12:58jecharriFile Added: error.png
2012-09-06 12:58jecharriFile Added: error2.png
2012-09-07 15:28dbazClosed by => alostale
2012-09-07 15:30dbazNote Added: 0051946
2012-09-07 15:33hgbotCheckin
2012-09-07 15:33hgbotNote Added: 0051947
2012-09-07 15:33hgbotStatusnew => resolved
2012-09-07 15:33hgbotResolutionopen => fixed
2012-09-07 15:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e535615e67aa26e8710852ad9e8166487ab1b26a [^]
2012-09-11 08:44alostaleStatusresolved => closed
2012-09-14 10:33hgbotCheckin
2012-09-14 10:33hgbotNote Added: 0052113
2012-09-26 17:18hudsonbotCheckin
2012-09-26 17:18hudsonbotNote Added: 0052718
2012-09-26 17:19hudsonbotCheckin
2012-09-26 17:19hudsonbotNote Added: 0052754

Notes
(0051946)
dbaz   
2012-09-07 15:30   
The problem is that these calendars are translated using static js files provided by the DHTML Calendar library.

calendar-ar.js doesn't exist.

I am going to replicate calendar-en.js to calendar-ar.js, so the calendar will be rendered in english

If anybody is interested in having this calendar translated to the arabic, he should provide us a new calendar-ar.js with the text inside it translated to the arabic language.
(0051947)
hgbot   
2012-09-07 15:33   
Repository: erp/devel/pi
Changeset: e535615e67aa26e8710852ad9e8166487ab1b26a
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Fri Sep 07 15:32:46 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e535615e67aa26e8710852ad9e8166487ab1b26a [^]

Fixed issue 21567: Added 'calendar-ar.js' to support Arabic language

---
A web/js/jscalendar/lang/calendar-ar.js
---
(0052113)
hgbot   
2012-09-14 10:33   
Repository: erp/devel/pi
Changeset: 5fab9bcac0ac2da8b938c71a10860c1c8437caca
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Fri Sep 14 10:32:48 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5fab9bcac0ac2da8b938c71a10860c1c8437caca [^]

issue 21567: Date selectors are not working in
'Trial Balance Report' with 'Openbravo 3.0 Translation Pack Arabic'

---
M web/js/jscalendar/calendar.js
M web/js/jscalendar/lang/calendar-ar.js
---
(0052718)
hudsonbot   
2012-09-26 17:18   
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/b780e90c6452 [^]

Maturity status: Test
(0052754)
hudsonbot   
2012-09-26 17:19   
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/b780e90c6452 [^]

Maturity status: Test