Odoo Help


_inherits questions

on 6/9/16, 3:45 AM 325 views

with _inherits can I copy a complete model to my new model? with all fields functions and views? OR is this only for 1 field or 1 function?

I try to make a new modul, that inherits all (fields, views, function) of the hr_timesheet modul.

Is this possible?


Ahmed M.Elmubarak

--Ahmed M.Elmubarak--
--Ahmed M.Elmubarak--

Ahmed M.Elmubarak
On 6/9/16, 7:27 AM


IMHO I think _inherits will copy [delegation] the model "fields + functions" not the views.

You can check these links1, links2 for further details

Hope it could help

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


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)


Asked: 6/9/16, 3:45 AM
Seen: 325 times
Last updated: 6/9/16, 7:27 AM