Odoo Custom Dashboard Tutorial | OWL Javascript

Поділитися
Вставка

КОМЕНТАРІ • 71

  • @farhanakbar8425
    @farhanakbar8425 Рік тому

    man, thank you so much for this, you really help a lone odoo programmer.... thank you once again AJ

  • @muhanadtur8785
    @muhanadtur8785 Рік тому +1

    This is a great one! really needed for the community edition. Awesome explanation.
    with your way and examples, you should definitely start a backed tutorial as well!

    • @ajscriptmedia
      @ajscriptmedia  Рік тому +2

      Thanks for the idea! I will be adding that on my list :)

  • @nichealpham2167
    @nichealpham2167 Рік тому

    Top tier presentation on odoo tutorials, thank you fo much for this works!

  • @altelasoftware2992
    @altelasoftware2992 Рік тому

    i'm thankful for this tutorial! looking forward to see another best tutorial from here! thanks, you are the best!

  • @krishnaP-gn2dt
    @krishnaP-gn2dt 28 днів тому

    Hi,
    Hope you are doing well.
    my child component (kpi_card) is not rendering in sale_dashboard.xml file. Everything is working no error in console as well as in terminal. Can you please tell me what's the issue?

  • @abdussattarbhuiyan4566
    @abdussattarbhuiyan4566 10 місяців тому +1

    Great as usual. But I am looking for such same tutorial in odoo 15. Is there any reference for odoo 15?

  • @satria_cening
    @satria_cening 5 місяців тому

    Can this be installed on odoo14? I have tried it, the install process runs normally. but nothing appears (blank)

    • @ajscriptmedia
      @ajscriptmedia  5 місяців тому

      Sorry, this tutorial has been made using Odoo 16. The challenge in Odoo JS is always changing per version. Like the location of files and the way you import them.

  • @maryyaghooby9333
    @maryyaghooby9333 11 місяців тому

    I really enjoyed watching your video. Very helpful. Keep up the good work. Many thanks. The best video I've ever seen on Odoo. Looking forward to your new magics 🪄

  • @chinito11PM
    @chinito11PM 3 місяці тому +1

    1) Do we need to add the path of the custom dashboard directory to the addons_path of the odoo.conf file for it run??

    • @ajscriptmedia
      @ajscriptmedia  3 місяці тому

      Yes, you need to. Then install the module.

  • @hamidabdalla5214
    @hamidabdalla5214 Рік тому +1

    Amazing thank you sir, you are great 😍
    I wating next videos 😍🥰

  • @mohammedezzahti5088
    @mohammedezzahti5088 7 місяців тому

    in was writing the code of ur module just until the h1 for me to know if i'm going good or not so the problem is when i activate the module only a white page shows up and all of odoo disapeare i don't know if i have a problem in my code but i write the same of urs if someone know a solution or the problem i had u can repond to this comment Thanks

  • @htech5946
    @htech5946 6 місяців тому

    Thank you for creating this amazing video

  • @xevimesones4122
    @xevimesones4122 2 дні тому

    What a great video!!

  • @ЧеркашинДмитрий-н3к

    Thanks so much for your lessons, friend! I hope there will be more of them to come! Can you do a tutorial on how to create a custom view (like a standard list or kanban), or how to refine existing ones? I just started learning the OWL Framework and I'm having trouble creating a hierarchical list for a product category (or similar objects).

    • @ajscriptmedia
      @ajscriptmedia  Рік тому +1

      Thank you. Please check this tutorial about view inheritance. I am planning to create a tutorial about new view type, just keep watching my tutorials.

  • @royantunovich9230
    @royantunovich9230 5 місяців тому

    you videos are excellent and have helped me learn a lot as I strive to create custom dashboards in Odoo. One thing that I continue to struggle with is adding date filters for current/last week, current/last month, and also being able to select a date range for the report. Do you have any advice on achieving this?

    • @ajscriptmedia
      @ajscriptmedia  5 місяців тому

      Please try to watch the full dashboard tutorial playlist. Odoo Dashboard
      ua-cam.com/play/PLdpXsMi-xePZoE8vlcy3ymxpouuQ5uZ3T.html.

  • @kleiverperez5455
    @kleiverperez5455 9 місяців тому

    Amazing video! loved it!

  • @MohamedSamirS
    @MohamedSamirS Рік тому

    Thank you for creating this amazing video

  • @Ashokkumar-kx2bh
    @Ashokkumar-kx2bh 2 місяці тому

    is it works for odoo17?

  • @obaidullahakbari1568
    @obaidullahakbari1568 10 місяців тому +1

    Hi I hope I don't disturb you when getting the project form getHib and installed in custom odons it give this error how to handle this error thanks
    UncaughtPromiseError > KeyNotFoundError
    Uncaught Promise > Cannot find owl.sales_dashboard in this registry!

    • @dishonkadoh4813
      @dishonkadoh4813 10 місяців тому +1

      The issue is on the manifest file change replace the owl with odoo-custom-dashboard in the assets for example 'owl/static/src/components/**/*.js', to 'odoo-custom-dashboard/static/src/components/**/*.js' alternatively you can change the directory name to owl

    • @obaidullahakbari1568
      @obaidullahakbari1568 10 місяців тому

      thanks very match@@dishonkadoh4813

    • @krishnaP-gn2dt
      @krishnaP-gn2dt 28 днів тому

      if you are using odoo17 then in your js file you need to write /** @odoo-module **/ on top of the file. this error is solved.

  • @aliabdulla3
    @aliabdulla3 Рік тому +1

    amazing! cant wiat for the data video :)
    map component is something that is missing in most of the dashboards. will it be possible to create a gis map component based on leaflet, mapbox or any other library, and include it in Odoo? and perhaps even include custom shapefiles in those maps
    would really appreciate a video on that, or perhaps tips that would guide me toward the right direction.

    • @ajscriptmedia
      @ajscriptmedia  Рік тому

      Map view is only available to the enterprise version. But using this tutorial, you might achieve it using this chartjs plugin github.com/sgratzl/chartjs-chart-geo. I haven't tried this yet but maybe you can :).

  • @drakemaxband3317
    @drakemaxband3317 11 місяців тому +1

    it can't work on odoo13, ann't import js file

    • @ajscriptmedia
      @ajscriptmedia  11 місяців тому

      Yes, this is done in Odoo 16. In addition, OWL is being introduced starting Odoo 14.

    • @drakemaxband3317
      @drakemaxband3317 11 місяців тому

      @@ajscriptmedia yes i figured it out .and i use qweb to remake ur code

  • @TasinTarek
    @TasinTarek 5 місяців тому

    How to get the current logged in user in owl js ?

    • @ajscriptmedia
      @ajscriptmedia  5 місяців тому

      Are you still having issue with this?

  • @softwarebox9639
    @softwarebox9639 4 місяці тому

    which version of odoo you are using?

  • @ParthDevintelle
    @ParthDevintelle 6 місяців тому

    I want to learn OWL.js from Scratch to Advance. How can i ?

    • @ajscriptmedia
      @ajscriptmedia  5 місяців тому

      Sorry, I don’t have a full course. Just stay tuned with my tutorials and I hope this helps.

  • @arfby5204
    @arfby5204 Рік тому +1

    Can you please make an example for the grid

    • @ajscriptmedia
      @ajscriptmedia  Рік тому

      Can you specify more about the grid? Did you mean grid CSS layout?
      Thanks for suggesting :)

    • @arfby5204
      @arfby5204 Рік тому

      @@ajscriptmedia thanks for replying, I mean displaying a grid like grid.js to display data from sales

  • @36_azzamadnan28
    @36_azzamadnan28 7 місяців тому

    thankyou bro!!

  • @krishnaP-gn2dt
    @krishnaP-gn2dt 28 днів тому

    Hi,
    Your code is having a lot's of bug can you cover all your mistake in video. So, we can also learn the code.

  • @misterrmoron7012
    @misterrmoron7012 Рік тому +2

    Great stuff 👍 are you planning to share the source code?

    • @ajscriptmedia
      @ajscriptmedia  Рік тому

      Thanks. Sure, please check this link github.com/ajscriptmedia/odoo-custom-dashboard

  • @burnaviour-l4r
    @burnaviour-l4r 11 місяців тому

    Thnak you for this owl video i have been searching for it can you please suggest me a video where I can see how to manipulate odoo form view using javascript I mean I want to make all field on base of state condition if its not draft make form readonly

    • @ajscriptmedia
      @ajscriptmedia  11 місяців тому

      Have you watched this already ua-cam.com/video/Pv9YbnEb2Lw/v-deo.html and ua-cam.com/video/ZkBrtPg2obM/v-deo.html

  • @samehmosaad3522
    @samehmosaad3522 7 місяців тому

    thanks

  • @marnissimahjoub6687
    @marnissimahjoub6687 Рік тому

    What is the odoo version ?

    • @ajscriptmedia
      @ajscriptmedia  Рік тому +1

      Hello, I used Odoo 16.

    • @marnissimahjoub6687
      @marnissimahjoub6687 Рік тому +1

      @@ajscriptmedia can i use odoo v15 ?

    • @JesusHerreraa
      @JesusHerreraa 10 місяців тому

      @@marnissimahjoub6687I test it on odoo 15 some imports are a little different but all works

  • @abdallahsabeel
    @abdallahsabeel Рік тому

    Amazing 😍🤩🤩🤩🤩🤩🤩🤩🤩

  • @gau7633
    @gau7633 Рік тому

    nice vid !

  • @tuancris1999
    @tuancris1999 Рік тому

    I have installed the module but when I click on the module I get the following error: Uncaught Promise > Cannot find owl.sales_dashboard in this registry!

    • @ajscriptmedia
      @ajscriptmedia  Рік тому

      May I know what version if Odoo you are using? This tutorial is using Odoo 16

    • @tuancris1999
      @tuancris1999 11 місяців тому

      @@ajscriptmedia I use odoo 16 and odoo 16 enteprise, I really want to learn your dashboard but I can't access your module with that error ?
      🤧🤧🤧

    • @arfby5204
      @arfby5204 11 місяців тому +1

      I also experienced the same thing in my case, I only changed the manifest in the following code section to be like this
      'assets': {
      'web.assets_backend': [
      'owl/static/src/components/*'
      ],
      },
      because I didn't use the chart_renderer and kpi_card directory, I just tried the gridjs library and it worked. hope that helps

    • @ajscriptmedia
      @ajscriptmedia  11 місяців тому

      Thanks for figuring it out :)

    • @ajscriptmedia
      @ajscriptmedia  11 місяців тому

      Thanks. The issue is actually how you import the assets. You can try this link www.odoo.com/documentation/16.0/developer/reference/frontend/assets.html#bundles on how Odoo imports assets.
      You can try to use Glob patterns or just directly add the actual path of the file. I hope you will find the solution by keep trying as programmers normally do :)

  • @hamidabdalla5214
    @hamidabdalla5214 Рік тому +1

    Amazing thank you sir, you are great 😍
    I wating next videos 😍🥰

  • @asifasraf46
    @asifasraf46 10 місяців тому

    Is it available in v14.0?

    • @ajscriptmedia
      @ajscriptmedia  10 місяців тому

      Yes, it's possible. But you need to import components in different files. Check below link on how they implement dialog using OWL: github.com/odoo/odoo/blob/14.0/addons/web/static/src/js/core/owl_dialog.js
      For loading JS and CSS files, import them in this file github.com/odoo/odoo/blob/14.0/addons/web/static/src/js/core/ajax.js#L182.