Odoo Custom Dashboard using Javascript (ORM and Action Service)
HTML-код
- Опубликовано: 29 сен 2023
- Odoo Custom Dashboard using Javascript (ORM and Action Service)
In this tutorial, you will learn how to create a custom sales dashboard using OWL Javascript Framework. There will be different areas to learn like components, states, ORM Services, Action Services, and others.
During the first tutorial, We have done creating the layout, so now we just need to retrieve data from the database and replace the static values. We will only use pure JavaScript here to retrieve records from the database.
Part 1: Odoo Custom Dashboard Tutorial | OWL Javascript • Odoo Custom Dashboard ...
Part 3: • Odoo Dashboard Using C...
Github Repo: github.com/ajscriptmedia/odoo...
OWL Javascript Framework - • Odoo OWL Framework
Odoo POS Tutorial - • Odoo PoS Tutorial
Odoo Theme Tutorial - • Odoo Theme Development... Наука
Thanks for all of the videos! Started watching them. Was searching for videos on how to develop backend themes, but your videos came through on my feed and started watching cause they’re useful!
Great to hear! Thanks!!
amazing resource! just what i looking for! Thanks!
Great to hear!
Great Tutorial Video with lots of detail information. Please keep up your odoo sharing videos.
O man. You are great! Keep it up
Great videos, Thank you
Amazing video, keep it up king 👑
Sure and you’re welcome ☺️
Great work as usual! Thanks a lot for your professionalism!
A suggestion for a next tutorial would be how to add a badge on the systray, like the message and notif badges, with counter based on a dynamic event (click somewhere in a view, etc). Using the main bus could be useful there, without being sure ahah
Great suggestion! I received a similar request and I might do this tutorial soon. Stay tuned!
Gracias por el video !!!🙏, Ty!!
Super useful. Keep it up!
Sure.. Thank you!!
Full of great ideas 💡 thanks for the awesome content!
Welcome.. Thanks for watching!
very very nice, 😊 keep it sir you are amazing 🎉
very helpfull !!
Thank you so much 🙏
You are welcome!
Great work bro!
Glad you like it!
Nice video keep it up❤
Thank you very much for amazing Content 🤩🤩🤩🤩
Thank you too 🤩
Thank you very much for amazing Content 🎉🎉🎉🎉🎉❤
Thank you too for watching...
Great Work,
Keep giong Please!
Thank you 😊
What an amazing resource! I downloaded the source from your github repo but always getting onWillStart is not a function error while loading the dashboard. What could be the issue?
Can we inherit the date field widget and load another date picker instead of the odoo default date picker if yes how?
im using odoo14 to try this. but my t-on-change on those selection period doesnt work
the t-model is working because the default value selected was 90. but after i changed it, this.state doesnt work, the value are still 90. what is the problem?
❤
Great tutorial . Thank you.
Do you have same tutorial for Odoo 14?
No, sorry. I haven't tried it yet. Hope you can try it in Odoo 15 at least.
So for your select html tag you only gave it class form-select and it looks very decent and it takes the first value as default, when I did the same it looks boxy and has messed up padding and it doesnt select a default value. Do you have any idea why that is happening ?
Sorry for my late reply. I hope you found a solution for this already. I am using Odoo 16 in this tutorial using bootstrap version 5.1.3 github.com/odoo/odoo/blob/16.0/addons/web/static/lib/bootstrap/dist/css/bootstrap.css
Maybe you are using version 15 or older?
@@ajscriptmedia yes that was the problem thank you
sir how your code is updated by refreshing the page isn't it suppose to update the module then changes are reflected in code
Hi, sorry for my late response. Just activate debug mode with assets so that all assets like SCSS and JS will rebuild once the page reloaded.
very good tutorial? may i can ask? if i have a custom nav bar, how i can replace odoo nav bar?
You can check the navbar component in the web client. I suggest trying to inherit it since it's using OWL instead of totally replacing the navbar. Check this link github.com/odoo/odoo/tree/16.0/addons/web/static/src/webclient/navbar
@@ajscriptmedia how i can call my componet in exist odoo xml file?
Thank you for this tutorial
when try to use moment I was received error
web/assets/144494e/web.assets_web.min.js:1006:30 Caused by: ReferenceError: Can't find variable: moment
I'm using odoo 17 how can import moment.js
best regards
same problem
use luxon unlike momentjs. moment.js is deprecated.
const { DateTime } = luxon;
getDates(){
this.state.date = DateTime.now().plus({ days: this.state.period }).toFormat('dd/MM/yyyy')
}
Can you do a video on odoo + debug + docker in windows & Linux
Hi, thanks for your suggestion. But I don't have experience in Docker at the moment. But check this link, it might help you setup Odoo in Docker ruclips.net/video/XVRTd4CcpHA/видео.html
Our Team Need a full course Let me know please How we can have it and how much will cost.
Thank you but I don’t have a full course. Just stay tuned and I hope this can help 😊
@@ajscriptmedia We can buy it.