Odoo Help

7
11
Avatar

Andreas Brueckl

--Andreas Brueckl--

5331
| 7 8 7
Vienna, Austria
--Andreas Brueckl--
OpenERP Consulting and Development
Andreas Brueckl
On 2/27/13, 5:57 AM

You can set 'target' = 'inline'. This opens a form in edit mode.

Also needed this, thank you!

Paul Catinean
on 7/2/13, 8:48 AM

Andreas, when returning an action that has 'target' = 'inline' in the case of the sale.order it indeed opens it in edit mode but the top menu (Create, Edit, Save,Print, More) disapears alltogether.Do you have any idea why that happens and how to prevent it?

Paul Catinean
on 10/4/13, 9:29 AM

This solution is not valid, because the top menus disappear from view. Is there any other way? thanks in advance.

Rafael Valle
on 4/7/14, 2:01 PM

me too, i've tried to look at base/ir/ir_actions.py but still get stucked.

PT SIVI
on 7/2/14, 4:52 AM
4
Joerg Petke
On 3/16/16, 11:26 AM

Found this way in calendar module and it works fine :-)

Add following key into the action dict:

'flags': {'form': {'action_buttons': True, 'options': {'mode': 'edit'}}},
2
salah BELHAMICHE
On 12/14/16, 3:34 PM

Just add the dictionnary flags like that and you will get buttons save/cancel and the form in edit mode:

'flags': {'initial_mode': 'edit'},

1
vvinh
On 3/29/18, 6:11 AM

On Odoo 11, and from javascript, add this to the object:

context: {'form_view_initial_mode': 'edit','force_detailed_view': true},


0
Mohamed Essakali
On 12/9/14, 9:43 AM

I developped this module to achieve that.  install it and use 'target' : 'current_edit' to open form in edit mode 

Hi, I install your module but I have this error: except_orm: (u'ValidateError', u'The value "current_edit" for the field "ir_act_window.target" is not in the selection') Can you help me?

Luís
on 2/4/15, 5:52 AM

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

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

5 follower(s)

Stats

Asked: 2/27/13, 5:08 AM
Seen: 11000 times
Last updated: 3/29/18, 6:11 AM