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
  • НаукаНаука

Комментарии • 43

  • @jirongzhang3237
    @jirongzhang3237 18 дней назад

    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.

  • @gilgameshgaming4210
    @gilgameshgaming4210 2 месяца назад

    Thank you all the way from Iraq to your house❤

    • @OdooMates
      @OdooMates  12 дней назад

      aaha, so glad in hearing it

  • @zyadhamdy1646
    @zyadhamdy1646 Год назад +1

    Thanks My Brother it helped me

  • @ThatOdooGuy
    @ThatOdooGuy 2 года назад +1

    Can't say enough thanks to you. The best explaination of Odoo's code one can find! Keep it up and growing...

  • @supreetlaghate22
    @supreetlaghate22 3 года назад +1

    Happy Teacher's Day @OdooMates. Thank you for your tutorials ❤️🙏

    • @OdooMates
      @OdooMates  3 года назад

      Really happy to hear it from you.

  • @anuvarghese3672
    @anuvarghese3672 2 года назад +1

    Thank you odoomates 💐

  • @seanbentsen163
    @seanbentsen163 Год назад +1

    you guys are a god send, cheers!

    • @OdooMates
      @OdooMates  Год назад

      ❤️❤️❤️❤️

  • @kithinga
    @kithinga 3 года назад +2

    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)

  • @wilfredocristobalolanochav5789
    @wilfredocristobalolanochav5789 3 года назад +1

    Muchas gracias por su contenido

  • @abhinavm.s1410
    @abhinavm.s1410 3 года назад +1

    Good one🙂

  • @nasirkhan-qw6qk
    @nasirkhan-qw6qk 3 года назад +1

    Helpful

  • @italaa86
    @italaa86 3 года назад

    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

  • @obehobeh9984
    @obehobeh9984 3 года назад +1

    Everything is great.
    But can you show how you can change Views depending on the user who fills out the document?

    • @OdooMates
      @OdooMates  3 года назад

      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

  • @italaa86
    @italaa86 3 года назад +1

    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

    • @OdooMates
      @OdooMates  3 года назад

      havent tried like this yet, so its getting worked ?

  • @ahmedselim1046
    @ahmedselim1046 3 года назад +1

    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.

    • @OdooMates
      @OdooMates  2 года назад

      It is delegation inheritance, see: ruclips.net/video/CkUulwB6k3o/видео.html

  • @ousalah
    @ousalah 3 года назад +2

    Hi,
    That's what you forgot at the end of the video

    • @OdooMates
      @OdooMates  3 года назад +2

      Thanks for sharing

    • @italaa86
      @italaa86 3 года назад +1

      Thanks, does it work also on popup quick create beside clickable ?

    • @ousalah
      @ousalah 3 года назад +1

      @@OdooMates Thank you too for your videos,
      And I hope you a good continuation.

    • @ousalah
      @ousalah 3 года назад +1

      @@italaa86 yes, it's work also.

    • @italaa86
      @italaa86 3 года назад +1

      @@ousalah Thanks a lot

  • @Naitokalmah
    @Naitokalmah 3 года назад

    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

  • @dishakhatri7742
    @dishakhatri7742 2 года назад

    Which version of odoo will this work?

    • @dishakhatri7742
      @dishakhatri7742 2 года назад

      Also will this work for inherited views? Like res.partner inherited view. Thankyou

    • @OdooMates
      @OdooMates  2 года назад +1

      @@dishakhatri7742 this is applicable across all the odoo versions

    • @OdooMates
      @OdooMates  2 года назад

      @@dishakhatri7742 for inherited views, odoo will handle it