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 get object model using javascript from field widget ?

By
salman
on 1/27/15, 8:32 AM 1,623 views

Hi,

I want to ask if there is a direct way of how to get the object model in odoo using javascript of a particular field widget

for example I have a field widget and I want to get it's model

not using manual way,

instance.web.Model('res.partner')

Thanks in advance

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: 1/27/15, 8:32 AM
Seen: 1623 times
Last updated: 6/20/15, 6:02 AM