[IMP] adds 'W' in front of the week number when formatting date grouped by weeks (method read_group) (orm.py)
bzr revid: ged@openerp.com-20140124100921-w5gq1fwidm01xx5l
This commit is contained in:
parent
02f7760063
commit
09706b5dff
|
@ -2679,7 +2679,7 @@ class BaseModel(object):
|
||||||
if interval == 'day':
|
if interval == 'day':
|
||||||
display_format = 'dd MMMM YYYY'
|
display_format = 'dd MMMM YYYY'
|
||||||
elif interval == 'week':
|
elif interval == 'week':
|
||||||
display_format = 'w'
|
display_format = "'W'w"
|
||||||
elif interval == 'month':
|
elif interval == 'month':
|
||||||
display_format = 'MMMM'
|
display_format = 'MMMM'
|
||||||
elif interval == 'quarter':
|
elif interval == 'quarter':
|
||||||
|
|
Loading…
Reference in New Issue