Define New Menu and Actions in Odoo

Поделиться
HTML-код
  • Опубликовано: 31 июл 2024
  • How to define new menu and actions in Odoo. Explains how to create new menu, sub menu with actions in Odoo. Also explains how to arrange menu and assign icon image for the Menu.
    Covered Topic
    1. Creating new menu
    2. Defining action for the menu
    3. Icon for the menu
    4. Sequence of the menu
  • НаукаНаука

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

  • @NguyenThanhTamhacaoideas
    @NguyenThanhTamhacaoideas 4 года назад

    @Odoo Mates
    Hi, do you know how to customize the Odoo menu bar? I wish to add a search box. What is the keyword that I should start research? Many thanks in advance.

  • @dennisparinas1635
    @dennisparinas1635 4 года назад

    I want to disable the default multi-company record rule in Odoo. My question, is it possible to specify a dynamic domain on action to filter the result in tree view like this "user.company_id.id". Thank you

  • @kashifmanzoor7949
    @kashifmanzoor7949 4 года назад +1

    Thank you mates.... it was really helpful to understand.

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

    Im trying to create new submenu, when I use action like `hr_recruitment.hr_applicant_action_analysis`, it works fine, but when I add new action as your tutorial, the submenu disappeared. Looked into technical setting submenu, but it looks OK. What's the potential cause here?

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

      Did you set the access rights for the model ? if not set the access rights: ruclips.net/video/W5ya521uTlo/видео.html

  • @RuslanSkiraUkraine
    @RuslanSkiraUkraine 2 года назад +2

    But not in all menu items I could use web_icon="storehous,static/description/icon.png"?
    Only in the root menu?

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

      yes only for root menu, we need the icon

  • @PraveenKumar-qc4ql
    @PraveenKumar-qc4ql 4 года назад +3

    Perfect tutorial, thanks!

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

      Hope you will suggest the channel to your colleagues .. :)

    • @PraveenKumar-qc4ql
      @PraveenKumar-qc4ql 4 года назад

      @@OdooMates Yeah, sure. It's my pleasure.

  • @omarahmed299
    @omarahmed299 4 года назад +3

    so helpful .. but i have a question :
    i added action to model 'ir.actions.act_window' .. why we use type field in defining action ?

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

      To be frank, not sure, have to cross check, might be to distinguish between the different actions available like server action

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

    hi i want to generate a report from the menu without wizard or new form I created a report and menu but not know how to create action

  • @bonoandlavin
    @bonoandlavin 4 года назад +1

    for my Odoo13 .. it doesn't like that view_type line. It will only let me upgrade the app if I remove it.

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

      Yes you are right, for odoo13, you can check here: ruclips.net/video/0PDqeUG3azo/видео.html

  • @maherkhalil007
    @maherkhalil007 4 года назад +1

    when trying to add menu item to accounting enterprise, it create invoicing menu and do not add the menu to accounting menu, can you explain and support in this?

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

      Did you correctly give parent to the new menu that you add ?

    • @maherkhalil007
      @maherkhalil007 4 года назад +1

      @@OdooMates or was already resolved, thank you

  • @enricosaccheggiani3192
    @enricosaccheggiani3192 4 года назад +1

    Is it possible to create the menu' completely working with menus? not to write any line of code?

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

      Go to settings, there is a menu with name menu, do it from there after activating the debug mode

    • @enricosaccheggiani3192
      @enricosaccheggiani3192 4 года назад +1

      @@OdooMates ok good

  • @sasinduprasad7510
    @sasinduprasad7510 4 года назад +1

    Thank You.....!

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

    how to add parent from non custom module? for example sales module

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

      give sales module in depends(manifest file) and rest is same

  • @cherifachi4655
    @cherifachi4655 4 года назад

    excellent explanation , Thanks

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

      Hope you will like the video and subscribe the channel. Thanks

    • @cherifachi4655
      @cherifachi4655 4 года назад

      @@OdooMates Yes, Of course

  • @kintanfajarwati1752
    @kintanfajarwati1752 4 года назад

    how to add submenu from above main menu ?

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

      Just define the parent menu for the newly creating menu :)

  • @zawnaing5838
    @zawnaing5838 4 года назад +1

    how to configure odoo 12 with python in window 1o Please scribe video tutorial

  • @AdeshPaul
    @AdeshPaul 4 года назад +1

    Thanks a lot sir.

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

      Keep watching and if you have any queries let us know..

    • @AdeshPaul
      @AdeshPaul 4 года назад

      @@OdooMates Sure sir. :)

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

    What is the link for the access rights video?

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

      See: ruclips.net/video/W5ya521uTlo/видео.html
      In detail, access rights, groups and record rules: ruclips.net/video/mzg3EGD_6Gw/видео.html

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

    i want to know about the menu item shown without superuser can u send me the link

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

      ruclips.net/video/W5ya521uTlo/видео.html

  • @Kinggenton
    @Kinggenton 4 года назад

    im using this tutorial to learn odoo but i have an issue
    now i know i am using odoo-community 13 but it doesnt have ALL THESE DAMN SETTINGS LIKE YOURS.
    and your odoo 13 tutorial isnt as expansive as this one.
    how did u get those developer buttons and superuser buttons?

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

      There are many changes between odoo12 and odoo13, if you are developing in odoo13, have a look at the odoo13 development playlist, in it its shown the same in this video.
      Regarding adding the smart buttons, you can follow same as in odoo12.

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

      ruclips.net/video/0PDqeUG3azo/видео.html

    • @Kinggenton
      @Kinggenton 4 года назад

      @@OdooMates my version of odoo 13 doesnt have any of these buttons!!!!!!!!!
      no super user
      no developer
      my way around the developer button is adding the debug# to url but ill take a look at that link

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

      @@Kinggenton If you go to settings page and scroll down to bottom you can see the option to activate the debug mode

    • @Kinggenton
      @Kinggenton 4 года назад

      @@OdooMates i like to thank you for your help man, but the only thing i see in the settings page is Users. IN navbar the only thing i see is users & companies
      NOTHING ELSE!!!!
      and this IS FRUSTRATING?
      cause i followed odoo installation and i believe steps are missing
      i am attempting now to use odoo 12(cloning) to see if i get the same SHIT

  • @jamsheenakc7439
    @jamsheenakc7439 4 года назад +1

    👍

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

    Hii.. How to add sub menu inside menu item?

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

      its shown in the video, did you get the idea, just set the parent for the menu

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

    gr8

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

    for whom stuck in xml
    note that view_type propriety removed from odoo

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

      Yes, from odoo14: ruclips.net/video/KFXoeEzwxzQ/видео.html

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

      just following this tutorial on odoo15 and you saved hours of searching with just one comment. Thanks bro!