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

_inherits questions

By
wizardz
on 6/9/16, 3:45 AM 240 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?

0

Ahmed M.Elmubarak

--Ahmed M.Elmubarak--
2988
| 5 3 5
Sudan
--Ahmed M.Elmubarak--


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

Hello,

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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