How to Disable Form View Based on State Using OWL | Odoo 16

Поделиться
HTML-код
  • Опубликовано: 13 янв 2024
  • How to Disable Form View Based on State Using OWL | Odoo 16
    In this tutorial, I will show you different ways how to disable a form view based on state. By default, a form view can be disabled at load time but it will not work by adding a certain condition.
    But by using OWL Framework, I made it possible how we can disable it easily and safely.
    Github Repo: github.com/ajscriptmedia/disa...
  • НаукаНаука

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

  • @nisargparekh8424
    @nisargparekh8424 5 месяцев назад +5

    Awesome as always! Would it be possible to create a video giving overview of whole web module and its working flow. That would be so useful.

    • @ajscriptmedia
      @ajscriptmedia  5 месяцев назад +4

      Nice suggestion! I'll do my best for the community :)

  • @chauleqt
    @chauleqt Месяц назад +1

    you are too talent and nice. Thanks for your tutorial list

  • @claudecirmartins
    @claudecirmartins 5 месяцев назад

    Your videos took me to a much higher level. Thanks.

    • @ajscriptmedia
      @ajscriptmedia  5 месяцев назад

      Glad to hear it! Always welcome :)

  • @juliokavege9772
    @juliokavege9772 5 месяцев назад +2

    Very instructive video! Thank very much. You teach us so much . I have so many questions for you but i can't list them all there. Would show us how to show Loading spinner on OWL Component v16. That would be so helpfull.

    • @ajscriptmedia
      @ajscriptmedia  5 месяцев назад +1

      Welcome! Glad it was helpful!

  • @hafizhhasan6120
    @hafizhhasan6120 4 месяца назад

    Thanks brooo

  • @muhanadtur8785
    @muhanadtur8785 5 месяцев назад

    Happy New Year 🎊 thanks for the video, missed your informative videos dude!

    • @ajscriptmedia
      @ajscriptmedia  5 месяцев назад +1

      You're welcome. Thank you too :)

  • @user-up3xm5ph7r
    @user-up3xm5ph7r 5 месяцев назад

    Great! very usefull

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

    Awesome
    thank you,
    can you create tutorial how to realtime update in POS when change from backend

  • @user-ew6du2vk5y
    @user-ew6du2vk5y 5 месяцев назад

    i have watched all videos very helpful plz make more videos on owl js

  • @davaasurenulambayar3789
    @davaasurenulambayar3789 5 месяцев назад +1

    Your tutorials are always useful to me! Is it possible to call base form view in Owl js?

  • @user-wi8ns1mm4l
    @user-wi8ns1mm4l 5 месяцев назад +1

    Awesome, can we make a popup modal in Kanban view when the kanban box drag or drop using OWL ?

  • @mednajari
    @mednajari 5 месяцев назад +1

    Thank you so much

  • @hamidabdalla5214
    @hamidabdalla5214 5 месяцев назад +1

    Happy new year 🥰
    Keep it sir
    can you make update videos pos 16 to pos 17 sir

    • @ajscriptmedia
      @ajscriptmedia  5 месяцев назад +1

      Oh yeah, now in Odoo 17 it's fully converted to OWL. Happy new year too :)

  • @furkanshaikh3641
    @furkanshaikh3641 5 месяцев назад

    I am early waiting for your videos ❤
    Happy New year🎉🎉🎉

    • @ajscriptmedia
      @ajscriptmedia  5 месяцев назад +1

      Happy New Year!! Thanks for watching. :)

    • @furkanshaikh3641
      @furkanshaikh3641 5 месяцев назад

      @@ajscriptmedia thanks you.
      BTW can i have your LinkedIn Profile Link.
      Because it will help me to grow network as professionaly.

  • @ghassanabdalsalam9938
    @ghassanabdalsalam9938 5 месяцев назад

    Awesome , we need please owl course for odoo v17 We noticed changes such as usage of components and so on. Thanks

  • @andresgutierrez1804
    @andresgutierrez1804 4 месяца назад

    excellent, did you have experience updating the portal, using owl, I mean based some route download a js client that should be rendered or injected in some specific div or something like that, basically add section in the portal and that it should be dinamically, or probably add endpoint for the portal that download a new app

  • @user-mh4qg7ce4t
    @user-mh4qg7ce4t 5 месяцев назад +1

    Thank you so much for reply on my email as this query was raised by me through email. i have one question if i use this approach in future if odoo changes something in js it will brake our module is there any other approach we can do it as it inlcude many function overriding and maybe there is usecase which user can still change the records.once again thank your so much this video was informative

    • @ajscriptmedia
      @ajscriptmedia  5 месяцев назад

      Always welcome :) Oh yes, you did.

    • @ajscriptmedia
      @ajscriptmedia  5 месяцев назад

      This code will work on Odoo 17 as well. Since javascript is only on the client side, you can always block updates based on state on the backend (python code). Just inherit the write function and this will be the fallback method in case something went wrong in the JS code.

    • @burnaviour
      @burnaviour 5 месяцев назад

      @@ajscriptmedia any example code ?

  • @andoy_abarquez
    @andoy_abarquez 5 месяцев назад

    Happy New Year!!!

  • @burnaviour
    @burnaviour 5 месяцев назад

    Can you make video building website theme using owl 2

  • @furkanshaikh3641
    @furkanshaikh3641 5 месяцев назад +1

    What if i use ALT+S to save record which is the shortcut to save record.
    It will save or not?

    • @ajscriptmedia
      @ajscriptmedia  5 месяцев назад +2

      Nice catch. I actually didn't consider that. But yes, ALT + S will not work too since the save button has been disabled.

    • @furkanshaikh3641
      @furkanshaikh3641 5 месяцев назад

      @@ajscriptmediaThank you Ajscript media because i mostly use shortcuts in Odoo.👍

  • @indeveloperid6061
    @indeveloperid6061 5 месяцев назад

    Can this implement in odoo 14 ?

    • @ajscriptmedia
      @ajscriptmedia  5 месяцев назад

      Hello. I'm not sure yet cause I haven't tried other versions :(

  • @indeveloperid6061
    @indeveloperid6061 5 месяцев назад

    Orang mana bank?