[Trunk]First day of week dropdown does not match the one on calendar view

Bug #1026702 reported by Pimpolho
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Web Team

Bug Description

In the calendar view the first day of the week is one (monday) and when you create a new event and choose the dropdown calendar the first day of the week is other (sunday).

The same happens on the online demo.

Regards

David

Related branches

Revision history for this message
Pimpolho (ultimomail) wrote :
Changed in openerp-web:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → OpenERP R&D Web Team (openerp-dev-web)
summary: - First day of week dropdown does not match the one on calendar view
+ [Trunk]First day of week dropdown does not match the one on calendar
+ view
Revision history for this message
Amit Bhavsar (Open ERP) (amb-openerp) wrote :

Hello Pimpolho ,

Thanks for reporting!

It has been fixed on lp:~openerp-dev/openerp-web/trunk-datepicker-1026702-amb branch with following revision no and id.

rev no : 2767
rev id : <email address hidden>

Thanks again!

Changed in openerp-web:
status: Confirmed → Fix Committed
Revision history for this message
Pimpolho (ultimomail) wrote :

Hi

How can i apply this fix to my current install?

Regards

David

Revision history for this message
Amit Bhavsar (Open ERP) (amb-openerp) wrote :

Hello David,

First of all take Diff form the above link. and apply this patch from the eclipse or manually.

Thanks!

Revision history for this message
Pimpolho (ultimomail) wrote :

it seems not to work ....

I added the
      "xxxxxxx,
   firstDay: Date.CultureInfo.firstDayOfWeek"
to
addons/web/static/src/js/view_form.js

And is still the same. when I do a cal -m 09 2012 the fist day appears as monday but on OE it is always sunday...

i'm running OE english in Ubuntu x32 EN

Regards

David

Revision history for this message
Amit Bhavsar (Open ERP) (amb-openerp) wrote :

Hello David,

I have check it again with same code [web-client revision number : 2792]
But at my end working fine. would you please check It again and try with latest code. I have attached the screenshort for your reference. please give a look.

Thanks!

Revision history for this message
Pimpolho (ultimomail) wrote :

Well we both forgot to mention that Im on OE6.1 ubuntu 10.04 lts and you seem to be on OE 7 Lol ( sorry im not a programmer )

Amit I just added the extra line on diff file onto addons/web/static/src/js/view_form.js I rebooted the machine and made a reconfigure of base module. When you say newer code you mean the whole lot?

I tried with other installs making the locale with first_weekday=2

GTK works fine either on pached or non patched server (ie even with <> locale)

Regards

David

Revision history for this message
Amit Bhavsar (Open ERP) (amb-openerp) wrote :

Hello David,

I have checked this Issue with latest 6.1 already. and It's working fine. That's why I have attached the screenshort of 6.1[latest: runbot:(Build 15103)]. would you please check It.

@Team : this patch are solved the Issue of trunk. and all are working fine in 6.1.

Thanks!

Revision history for this message
Amit Bhavsar (Open ERP) (amb-openerp) wrote :
Revision history for this message
Pimpolho (ultimomail) wrote :

Hi Amit

Im testing on runbot (Build 15357) server (4250) and is still the same

Could it be something to do with the browser?

Regards

David?field.comment=Hi Amit

Im testing on runbot (Build 15357) server (4250) and is still the same

Could it be something to do with the browser?

Regards

David

Changed in openerp-web:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.