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

what is the window action behind "create and edit" in many2one dropdown

By
Alexander Soare
on 6/23/16, 5:19 AM 345 views

Odoo 9.0 community edition.

When there is a many2one field in an odoo from it is possible to select "create and edit" from the dropdown menu when populating this field in edit mode. This brings up a window which allows you to create a record. I know that you can also provide a "context" such that some of the fields of the new record are pre-populated for you.

I'd like to have a button with a server action that let's me do some calculations on what the context should be and then bring up this same window (new window). In particular this is about creating a contact from a sales opportunity. I was not able to find the window action to call. I tried the window action called Contacts, and this brings up a contact edit window, although there is no Save button at the bottom.

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/23/16, 5:19 AM
Seen: 345 times
Last updated: 6/23/16, 5:29 AM