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 open a wizard on editable mode ?

By
Yug Faa
on 5/6/13, 7:28 AM 2,471 views

He everybody

I have a wizard based on osv model not osv_memory

To launch this wizard I create an action window with target = new

The action window has one view : it's a list view

When I click on my button on form view, It returned the action window that's a wizard, so I can see my list there aren't the buttons create and edit, just the list

the view type of my action window is form (not tree), and the view mode is tree

So my question is how to open action_window on wizard on editable mode (with buttons create and save) ?

Thank you

1

Sudhir Arya (SA)

--Sudhir Arya (SA)--
10150
| 6 8 8
Ahmedabad, India
--Sudhir Arya (SA)--

Working as an OpenERP/Odoo developer and a Team Leader 

Top 5 Odoo contributor On Stackoverflow

LinkedIn

Blog

Stackoverflow

Sudhir Arya (SA)
On 5/6/13, 8:06 AM

Add form in view_mode like this: 'view_mode': 'tree,form',

greate boss for both Q & A :):):)

Sandeep
on 5/6/13, 8:19 AM

It doesn't work, I can now edit the lines but I can't add an item, I want to say that there is no button on this view (save or create) I tried : 'view_mode': 'tree,form', and target = inline any other solution ?

Yug Faa
on 5/7/13, 7:07 AM

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: 5/6/13, 7:28 AM
Seen: 2471 times
Last updated: 3/16/15, 8:10 AM