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

How to take into account resource calendar in manufacturing order date_planned?

By
Gabriel
on 6/1/15, 12:30 PM 506 views

Is there an easy way to get a manufacturing order date_planned calculated by taking into account the resource calendar of workcenters?

date_finished of the manufacturing order is calculated by taking into account resource calendar with the method _compute_planned_workcenter in mrp_operations module. But it does not seams to be the case for the planned_date. The goal is to display proper manufacturing order and work order dates in calendar views. It is not so good to have a date starting in the middle of a day off.

A work around would be to display a calendar view of mrp.production records by setting date_stop as MO date_finished field and date_delay as MO hour field. But the calendar view model requires a date_start. Am I right or is there something else?

Gabriel
on 6/1/15, 12:38 PM

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

1 follower(s)

Stats

Asked: 6/1/15, 12:30 PM
Seen: 506 times
Last updated: 6/1/15, 12:38 PM