跳至内容
菜单
此问题已终结
3 回复
13277 查看

How do I set the first calendar week, CW01, to the week of 1 january in ODOO?

Calendar week number 1 is set now to the first full week of the year, instead of the week where the year starts.

I cannot find where to change this, nor in documents, here in the forum questions, nor in ODOO itself.

形象
丢弃
编写者

According to ISO8601: The first week of a year is the week that contains the first Thursday of the year. In 2015 1th of January is on Thursday, should be CW01. According to my OpenERP V7 this is CW52-2014 instead of CW01-2015. See image: http://jv3.henax.ogicom.pl/images/cw01-2015.jpg [1] Hence my question, where is the setting for this in OpenERP / ODOO? [1] http://jv3.henax.ogicom.pl/images/cw01-2015.jpg

First Thursday if last day of week Sunday (Thursday, Friday, Saturday and Sunday - 4 days). In ISO Monday is first day of week. The US system has weeks from Sunday.

最佳答案

According to the standard ISO 8601 the first week of the year is the week in which there are at least 4 days in January.

All Date and Time Formats you will find on Language view.

UPDATE:

Default language or timezone for public web users: may try to set the language or time zone for "Public user". It is normally not active and not visible. Search it with "Advanced seearch", "Acive" is false.

形象
丢弃
编写者

Thanks for your reply, I cannot set the week numbering sequence at the language view. Example: http://jv3.henax.ogicom.pl/images/Languages.jpg

Locale is related to user preferences. In my system, if admin language is set to Polish, admin view of calendar is ok, if admin locale = en_US calendar like your.

编写者

Oke, I was thinking in that direction. I need to have English as main language, will check what happends if I change to UK English.

编写者 最佳答案

An extra language was added (English (UK)).

Language of the user(s) was set to English (UK).

Now the week numbers are calculated according ISO.

Thanks to zbik

 

形象
丢弃

Are you from Lodz? I'm Interest in possible cooperation. My email darek@krokus.com.pl

最佳答案

Great but how can I have it in the main agenda ?

形象
丢弃

See my answer UPDATE

相关帖文 回复 查看 活动
1
7月 25
431
2
6月 25
798
1
5月 25
2393
1
4月 25
3490
3
8月 24
2596