Odoo Help

0

How to add number of week in calendar ?

By
Anne-Sylvie Burri
on 5/16/13, 4:52 AM 1,187 views

Hi everybody !

I'm trying to add the number of the week in OpenERP web calendar. For example the first week of the year is No 1, the second is No 2, ...

Could someone help me ?

Many thanks in advance.

JMB

0

Gustavo

--Gustavo--
980
| 2 1 4
Buenos Aires, Argentina
--Gustavo--

Python developer, big fan of sailing

Gustavo
On 5/17/13, 6:17 PM

You need to modify the web_calendar module in order to do that. If you are proficient with JavaScript you can do it, otherwise I would recommend not doing it

Thanks for your answer. Do you know which code I have to use to do that ?

J.-M. Burri - Bureau ing.-conseils informatique, Anne-Sylvie Burri
on 5/21/13, 4:57 AM

I believe that would be addons/web_calendar/static/src/js/calendar.js. Make sure you backup first, but I believe this renders the calendar.

dave ellis
on 6/6/13, 2:37 PM

Thanks for your answer Dave but I have really no idea of what to write as code. Do you have any idea ?

J.-M. Burri - Bureau ing.-conseils informatique, Anne-Sylvie Burri
on 6/7/13, 4:24 AM

To be honest I am no JS expert. Being open source, may be worth posting the code on some development help forums. Some one may have an idea where to start. But I'd expect to get your hands dirty doing a little coding. Sounds like a bit of a cop out sorry, but may be worth a go.

dave ellis
on 6/10/13, 8:59 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 5/16/13, 4:52 AM
Seen: 1187 times
Last updated: 3/16/15, 8:10 AM