Handling Of Multiples Views For Same Model In Odoo || Multiple Tree Views For Same Model
HTML-код
- Опубликовано: 27 авг 2020
- How to define multiple multiples views for a model in odoo. How is the working of actions and menu when there is multiple form views for the same model in Odoo. Explaining the working of odoo views in odoo. How to link views with the actions in odoo. Specify the views ids in Menu action. Working of the priority in odoo views. Odoo views.
Website: www.odoomates.tech
Email : odoomates@gmail.com
Facebook: / odoomate
Twitter: / odoomates
Support Us in Ko Fi : ko-fi.com/odoomates Наука
Thanks for your tutorial. In single model, there are many different form, tree or etc views. I think we can say Multiple Tree views in same menu could be more specific.
Thank you all the way from Iraq to your house❤
aaha, so glad in hearing it
Thanks My Brother it helped me
Glad to hear that
Can't say enough thanks to you. The best explaination of Odoo's code one can find! Keep it up and growing...
Wow, thanks!
Happy Teacher's Day @OdooMates. Thank you for your tutorials ❤️🙏
Really happy to hear it from you.
Thank you odoomates 💐
Glad it helped
you guys are a god send, cheers!
❤️❤️❤️❤️
This is very helpful thanks, please make the tittle clearer , ( e.g handling multiple tree views for the same model, handling multiple form views for the same model)
Okay brother, will update
updated :)
Muchas gracias por su contenido
Bienvenido hermano
Good one🙂
:)
Helpful
welcome :)
Hi, Thanks it was useful, but an observation after specifying doctor_form_2 on the action from VIEW_IDS code still displaying doctor_form on the technical UI ! Time 21:12 compare between code and UI values. T
Everything is great.
But can you show how you can change Views depending on the user who fills out the document?
if it is urgent for you, you can call python method from the menu, check the user group and return the view accordingly. To call python from menu item, see this: ruclips.net/video/17wvsFqS3D4/видео.html
Hello;
Is this also working, and has the same effect for the V12C ??
All customers
res.partner
tree,form
[('customer', '=', True)]
{'default_customer': True,
'tree_view_ref': 'my_module.view_all_customers_tree'.
'form_view_ref': 'my_module.view_all_customers_form'
}
20
havent tried like this yet, so its getting worked ?
would you please make a video explaining _inherits = {'res.partner':'partner_id'} i found it in a module for the first time haven't seen this way of inheritance before i don't know where or when to use it and thank you.
It is delegation inheritance, see: ruclips.net/video/CkUulwB6k3o/видео.html
Hi,
That's what you forgot at the end of the video
Thanks for sharing
Thanks, does it work also on popup quick create beside clickable ?
@@OdooMates Thank you too for your videos,
And I hope you a good continuation.
@@italaa86 yes, it's work also.
@@ousalah Thanks a lot
Greetings,
i was trying to achieve my goal with the help of your playlist but i'm stuck
i'm building a custom module around Telehealth (doctor/patient appointment and prescription over the internet) i want to be able to generate as much of additional fields as i want to inside the same form/view , by clicking on a button , like shown in this picture i.imgur.com/E0pZUMr.png .
what should i add in my python file and xml file to achieve this , some people suggested to hide/show the fields but i want to generate new ones each time i press a button not hide/show a certain number of predefined fields !
my sincere gratitude for your enormous effort u're putting into teach us Odoo
Which version of odoo will this work?
Also will this work for inherited views? Like res.partner inherited view. Thankyou
@@dishakhatri7742 this is applicable across all the odoo versions
@@dishakhatri7742 for inherited views, odoo will handle it