OWL Javascript Framework - Action and Service (Todo List App)

Поделиться
HTML-код
  • Опубликовано: 1 авг 2024
  • In this tutorial, you will learn how to use Odoo OWL Javascript Framework using Action and Service and implement Add, Edit, Delete, and Search Functionality.
    In this tutorial, we will discuss the following:
    00:00 - Project Overview
    02:30 - Run Odoo 16
    05:40 - Create an owl module
    11:11 - Example module using OWL App
    14:23 - Start OWL Implementation
    19:52 - Build OWL template (UI)
    24:40 - Create Add, Edit, Delete & Search using OWL
    Github Repo: github.com/alferjay/odoo-owl-...
    Talky Beat by Twin Musicom is licensed under a Creative Commons Attribution 4.0 license. creativecommons.org/licenses/...
    Source: www.twinmusicom.org/song/265/t...
    Artist: www.twinmusicom.org
  • НаукаНаука

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

  • @kleiverperez5455
    @kleiverperez5455 Год назад +13

    Woah! you really rock! This is what i've looking for!
    Please do more examples about using odoo OWL framework!
    You doing a very nice job!

  • @mahmoudkousa8765
    @mahmoudkousa8765 8 месяцев назад +1

    No words can truly convey the appreciation for your exceptional efforts!

  • @user-ch2vn8xn4w
    @user-ch2vn8xn4w Год назад +3

    I've been waiting this for a long time. Thank you!
    I hope you can make more videos regarding OWL and Odoo.
    Cheers

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

    Many thanks for this awesome tutorial 🙏

  • @AdeshPaul
    @AdeshPaul 6 месяцев назад

    Thanks a lot man! you're a gem in the odoo world

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

    Thank you for your great tutorials

  • @androchvertkini7309
    @androchvertkini7309 11 месяцев назад

    Great work! Waiting for more content on Odoo Owl)

  • @chaibiayoub2919
    @chaibiayoub2919 Год назад +2

    thanks for the tutorial! it will be great when you do more videos about owl in pos 👍

  • @eckardberry4649
    @eckardberry4649 10 месяцев назад +1

    Dude, please make more videos, your stuff is great. Thanks a lot man.

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

    What a perfect tutorial, thank you

  • @JQS37Developer
    @JQS37Developer 3 месяца назад

    Your videos are amazing brother, thanks for sharing your experience.
    Greetings from Medellin, Colombia

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

      Thanks and you’re welcome 😊.

  • @androchvertkini7309
    @androchvertkini7309 11 месяцев назад +1

    Donated to you for this great OWL playlist)

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

      Thank you very much! This means a lot. First donation I received :)

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

    Brilliant video! Great pacing for odoo developers, keep it up.

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

      Sure.. Thanks for watching my videos...

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

    Really rocks!

  • @syahrilaziz5632
    @syahrilaziz5632 11 месяцев назад

    Thank you so much!

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

    hanks for your time

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

    Great video!!! Good job

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

    Thank you, for this video.
    A learning so much about owl.
    🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩

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

      Glad it helps 😊. You’re welcome!! Keep watching..

  • @mohamedlahrech178
    @mohamedlahrech178 8 месяцев назад

    I really like your content.

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

    Good video!!! 👍

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

    YOU ARE THE BEST 💕💘

  • @akhdaniel0787
    @akhdaniel0787 9 месяцев назад

    super 👍

  • @aungkokolin5670
    @aungkokolin5670 9 месяцев назад

    Thanks for your video. I have 3 years of odoo develpoment experience but I am still stuck at owl and your contents help me. Keep going man.
    Please make content for customizing odoo chatter if it is possible.

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

      Happy to help and will see that in my future tutorials

  • @hierotsu
    @hierotsu 9 месяцев назад +1

    Thanks a lot for your quality video. I'e tried to donate you but I have a problem with Paypal. I've already contact them to solve this issue.
    Keep on those great tutorials about Owl!

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

      No worries! You can also try this www.buymeacoffee.com/ajscriptmedia. Thank you so much!

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

    very helpful great job sir please keep making videoes on odoo js part

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

      Sure.. I will try my best....

  • @yaserghananwi
    @yaserghananwi 3 месяца назад

    Thank you for this nice tutorial ,
    How can close Modal after saveTask by code
    best regards

  • @sujithsnair2245
    @sujithsnair2245 8 месяцев назад

    Great work!. Please do a video on how to use existing field widgets (Many2one, One2many etc..) on this kind of custom views. It will be really helpful. Thanks in advance.

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

      Thanks for the suggestion! I will add that on my list.

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

    thank u so much for this videos, they are a gem, im finally understanding owl+odoo
    i have some questions: are the client action the same as a view? for instance, i want to use the native tree view but when i click on a record i want to open my custom owl "view/clien action/widget" instead of the form view, is this possible? im confused about that part

    • @ajscriptmedia
      @ajscriptmedia  Год назад +2

      We can say it like a view since client action will return a Component that will have a template and do our custom design or methods. If you want to use your own form view, you need to make sure that the action window will not have a form view, and to make sure, add attributes to the tree view like editable="bottom" to prevent opening the form view. Then in the tree view, you need to add a button that will call a client action. Check this link on how they use client action in JS: github.com/odoo/odoo/blob/16.0/addons/base_import/static/src/import_records/import_records.js

  • @muhammad_awais_ijaz
    @muhammad_awais_ijaz Год назад +1

    when we will have more videos on Owl?

  • @dennynur7744
    @dennynur7744 10 месяцев назад

    I'm using VS code as my IDE, I'm wondering in 4:44 is that possible if I add more params like ( -U "owl" ) so whenever service is restarted the "owl" module also updated?

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

      {
      "version": "0.2.0",
      "configurations": [
      {
      "name": "Odoo 16",
      "type": "python",
      "request": "launch",
      "python":"...your python location../bin/python3",
      "program": ".. yout odoo bin location ../community/odoo-bin",
      "args": [
      "--config=..location of the conf./odoo.conf",
      "--update=owl"
      ],
      "console": "integratedTerminal",
      "justMyCode": true,
      }
      ]
      }
      Try the above code .vscode/launch.json

  • @md.mohiuddin
    @md.mohiuddin 10 месяцев назад +1

    How to render a OWL template from a http route. Which registry should I add that component then?

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

      I believe this is not yet implemented in http route. This will only work for web client and point of sale but not on the website.

  • @user-ux6oc3je3m
    @user-ux6oc3je3m 11 месяцев назад

    when will new video for owl js will come ?

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

    Great Content .
    but, why not directly search and filter the task array in the frontend only, this just beats the purpose of having frontend library.

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

      Hi, you're right and absolutely fine for this simple kind of data. However, for actual business data, there will be a lot of users involved and we always want to get the updated data.

  • @sidrajput9265
    @sidrajput9265 3 месяца назад +1

    Greate Job Sir i learn so much from this but can you have any idea about why this code not work in V17 it will error like odoo.define not a function i am aware that this code is for version 16 but i am getting this error from log time if you will guide me this is help full.
    Thank You

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

      Yes, probably because of the version. I know this is an issue in Odoo JS since it always change per version.
      If I have time, I will revisit the code and check the issue.

  • @mdasadullah2638
    @mdasadullah2638 4 месяца назад +1

    How can I learn more about js for odoo. I struggle in front end for odoo.

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

      Please check this tutorials ruclips.net/p/PLdpXsMi-xePb-NvOKJujf3NgqCAum87eA&si=MKlbI0gudAvsCM0m.
      It will explain the website front end of Odoo and on hoe you can use JS widget and OWL component.

  • @jesussokamby2279
    @jesussokamby2279 8 месяцев назад

    Can you give CSS code for this class="todo-list-container"? Very nice job!!

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

      Hi, actually didn't focus much on styling here? If you have scrolling issue for huge contents, you can easily use some bootstrap classes
      Hope this helps!

  • @mohammedbalfaqih1264
    @mohammedbalfaqih1264 10 месяцев назад +1

    Hi Sir,
    I followed up these steps but I get this error:
    UncaughtPromiseError > KeyNotFoundError
    Uncaught Promise > Cannot find owl.action_todo_list_js in this registry!

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

      Hello Mohammed, it seems you missed the client action. Kindly check this link github.com/alferjay/odoo-owl-tutorial. You can refer to it or just download to get all the files used in this tutorial.

  • @ateeqrao9565
    @ateeqrao9565 Год назад +1

    Hi. I need some help in development of custom_module in odoo. Can you please help me

    • @ajscriptmedia
      @ajscriptmedia  Год назад +1

      Hi Ateeq, unfortunately, I don't have tutorials for complete custom module development. But I will try to create it in the future. Kindly try this link for now www.odoo.com/documentation/16.0/developer/tutorials/getting_started/01_architecture.html#odoo-modules.

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

    do you have any github repo for odoo owl tutorials

    • @ajscriptmedia
      @ajscriptmedia  Год назад +1

      Hi Muhammad Awais. Check this link github.com/alferjay/odoo-owl-tutorial/tree/action_and_service

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

      thanks

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

    good Job bro! but i keep getting this error UncaughtPromiseError > KeyNotFoundError
    Uncaught Promise > Cannot find owl.action_todo_list_js in this registry! although i have the same exact code as the repo

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

      Hi, please make sure you add the client action under views github.com/alferjay/odoo-owl-tutorial/blob/master/custom-addons/owl/views/todo_list.xml#L38
      Or try to change the glob patterns in the manifest file like below:
      'owl/static/src/components/**/*.js',
      'owl/static/src/components/**/*.xml',
      'owl/static/src/components/**/*.scss',
      The error seems the components/js has not been loaded successfully.

  • @karrio2410
    @karrio2410 10 месяцев назад

    Nice tutorial! I keep having this error
    UncaughtPromiseError > KeyNotFoundError
    Uncaught Promise > Cannot find owl.action_todo_list_js in this registry!

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

      Hello Cario. This is a series of tutorials that’s why you got all the codes from other tutorials. Kindly download the github repo included on the description. This code is related on todo list app, the first episode of this playlist.

    • @karrio2410
      @karrio2410 10 месяцев назад

      Installing all the repo in a odoo v16 will make it work?@@ajscriptmedia

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

    This looks like React in hard mode.

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

      Yes,, it's very similar to React..

  • @user-eo3hn9vd3n
    @user-eo3hn9vd3n Год назад

    Cool bro