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... - Наука
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.
Nice suggestion! I'll do my best for the community :)
you are too talent and nice. Thanks for your tutorial list
My pleasure.. Thanks so much!!
Your videos took me to a much higher level. Thanks.
Glad to hear it! Always welcome :)
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.
Welcome! Glad it was helpful!
Thanks brooo
Happy New Year 🎊 thanks for the video, missed your informative videos dude!
You're welcome. Thank you too :)
Great! very usefull
Awesome
thank you,
can you create tutorial how to realtime update in POS when change from backend
i have watched all videos very helpful plz make more videos on owl js
Thank you, I will
Your tutorials are always useful to me! Is it possible to call base form view in Owl js?
Awesome, can we make a popup modal in Kanban view when the kanban box drag or drop using OWL ?
Thank you so much
You're most welcome
Happy new year 🥰
Keep it sir
can you make update videos pos 16 to pos 17 sir
Oh yeah, now in Odoo 17 it's fully converted to OWL. Happy new year too :)
I am early waiting for your videos ❤
Happy New year🎉🎉🎉
Happy New Year!! Thanks for watching. :)
@@ajscriptmedia thanks you.
BTW can i have your LinkedIn Profile Link.
Because it will help me to grow network as professionaly.
Awesome , we need please owl course for odoo v17 We noticed changes such as usage of components and so on. Thanks
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
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
Always welcome :) Oh yes, you did.
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.
@@ajscriptmedia any example code ?
Happy New Year!!!
Happy New Year din bro :)
Can you make video building website theme using owl 2
What if i use ALT+S to save record which is the shortcut to save record.
It will save or not?
Nice catch. I actually didn't consider that. But yes, ALT + S will not work too since the save button has been disabled.
@@ajscriptmediaThank you Ajscript media because i mostly use shortcuts in Odoo.👍
Can this implement in odoo 14 ?
Hello. I'm not sure yet cause I haven't tried other versions :(
Orang mana bank?
orang luar tentunya kwkw