Amit Bhavsar (Open ERP) has proposed merging
lp:~openerp-dev/openerp-web/trunk-datepicker-amb into lp:openerp-web.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #1026702 in OpenERP Web: "[Trunk]First day of week dropdown does not
match the one on calendar view"
https://bugs.launchpad.net/openerp-web/+bug/1026702
For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-datepicker-amb/+merge/116281
Hello,
Fix the problem date picker , In the calendar view the first day of the week is
one (monday) but In dropdown calendar the first day of the week is other
(sunday).
That's why I have put >> firstDay: Date.CultureInfo.firstDayOfWeek in
view_form.js
Thanks
--
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-datepicker-amb/+merge/116281
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openerp-web/trunk-datepicker-amb.
=== modified file 'addons/web/static/src/js/view_form.js'
--- addons/web/static/src/js/view_form.js 2012-07-20 14:35:42 +0000
+++ addons/web/static/src/js/view_form.js 2012-07-23 13:31:25 +0000
@@ -2097,7 +2097,8 @@
changeMonth: true,
changeYear: true,
showWeek: true,
- showButtonPanel: true
+ showButtonPanel: true,
+ firstDay: Date.CultureInfo.firstDayOfWeek
});
this.$element.find('img.oe_datepicker_trigger').click(function() {
if (self.get("effective_readonly") || self.picker('widget').is(':visible')) {
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp