Odoo Help

Welcome!

This community 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.

0

Where is the default value of the "All day event" for the Calendar new event form?

By
Luc Blais
on 9/8/14, 7:05 PM 1,126 views

Let me but you in context. I got the google sign in and the google calendar sync installed and working correctly but when I create a new Event in the Calendar by default it is set as an "All day" long event.

The reason why I want that changed is simple, when I create an "All day" event and sync, Google Calendar shows me the event 1 day earlier. That means if create an "All day" event (in Odoo) on April 16th, in my Google Calendar it will show up in the April 15th (Which is WRONG!!!). If I set a start time and end time everything shows up properly at the right date.

Question:

I would like to were I can change the default value of the "All day" checkbox?

. Would be nice to have a explaination, every newbie wil benefit from your answer(s).

Thanks in advance.

Luc

Are you using Make To Order for the products?

Matt Taylor
on 11/11/14, 5:43 PM
0

Ivan

--Ivan--
3210
| 5 3 6
Jakarta, Indonesia
--Ivan--
Ivan
On 9/9/14, 7:14 AM

You can check the Scheduled Actions: Setting >> Technical >> Scheduler >> Scheduled Action.  Basically it is a scheduled (cron) job that you can design to check for all SOs that fits your requirement and create action onto it.

Do you know of any documentation? I went in "Scheduled Actions" and I understand the scheduling part from that form, but the Object and Method fields are a bit intimidating. Where should I create this code? And thanks for your answer.

Luc Blais
on 9/10/14, 6:24 AM

The cron job for "Run mrp scheduler" is, by default, configured to run nightly. This is not the problem.

Matt Taylor
on 11/11/14, 7:19 PM

Sorry for the late reply as I did not get an alert. There are some writing in the net if you search through search engine, but I can't find very detailed documentation. I'll try to explain the fields in the Technical Data, the rest should be self explanatory. In The Technical Data tab you'll find Object, Method, and Arguments. So, to run a scheduled action, you'll need a method from an object, i.e. you need code/program the method first. After which you can add the scheduled action. Normally a model's method will be provided with self, cr, uid, ids as arguments. Any other arguments can be passed from the Arguments field.

Ivan
on 11/12/14, 6:11 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

3 follower(s)

Stats

Asked: 9/8/14, 7:05 PM
Seen: 1126 times
Last updated: 4/23/15, 8:01 AM