QWEB Templates Using OWL Javascript Framework - Part 3

Поділитися
Вставка
  • Опубліковано 12 січ 2025

КОМЕНТАРІ • 36

  • @AbdellahJr-v9e
    @AbdellahJr-v9e Рік тому +2

    Hello,
    Thank you for this amazing tutorial, I really learned a lot. I would like to ask if you could create another video about dynamic snippets, focusing on the best ways to build them and how to add them to the website builder.

  • @HOA-NGUYEN-DEV
    @HOA-NGUYEN-DEV 2 місяці тому

    The guide is amazing! Could you make a tutorial about PDF reports?How to direct print to printer?

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

    Thanks for the upload, been struggling for the past few days with owl, this tutorial will help.

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

    You Rock 🎉 😊. Keep sharing good stuff. Hope to see more advanced tutorials like using browser API, local storage etc. in the future.

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

      Thank you very much!

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

      @@ajscriptmedia Any plan to discuss offline data and events handling from the POS? If I am not mistaken, Within POS users can continue using the app even they are disconnected from the server and data is being transferred when connection is restored. There must be other cool features implemented in the POS addons.

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

    11:00 This is exactly the current problem I'm stuck with: the await startService(env) is causing an error when Odoo restarts the service. We already have jsonrpc function to replace ORM and RPC pretty well, but for another service, for example, if I want to use the dialog service on the portal side, is there any way to implement it on the portal side?

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

    Thank you for ur efforts man.
    You are Bravo ❤❤💥💥

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

    it's really amazing they you explain and as well the quality video can you make a video how to customize the recipt in pos to A5

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

    Hey, can you please create a video where you do a whole overview of web module and explain its working flow?.
    Im struggling on this for a while

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

    Doing Well Job With OWl js In Odoo 17, I want to add checkbox on record of kanbanview like as we have in base list view, and all actions functionality should be work for records like Delete, Export, etc.. in js odoo 17 , please , suggest me ......

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

    Hello sir, I am having a problem with OWL. The useService method cannot be used under the Portal site. How can I retrieve the environment to get the current login user ID? Thank you!

  • @SurajMane-qw9mc
    @SurajMane-qw9mc 8 місяців тому

    Thank you so much for this really amazing vedio! But how can I translate the frontend content of my Owl template that render by using controller with document.querySelector() && whenReady(() => {}) ?

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

    Hi sir, How to replace render_readonly method in odoo17. It was used in odoo15. Any idea?

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

    Awesome as always!

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

    How to change one template desing to another in snippets like i have category snippet and want to change desing like product snippet or dynamic snippet has give me any source of link that i can archive this task?

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

    very awesome, keep it up 🔥

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

    Awesome video. please keep making videos on owl. can you please make a video on creating new view types.

  • @Martin-Kalema
    @Martin-Kalema Рік тому

    Also, is it possible to send an image from the form to the database with jsonrpc?

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

      Yes, it is possible. Check this tutorial and view the part when uploading files using filepond ua-cam.com/video/pqN4oJmMRbc/v-deo.html. This will give you an idea, of how you will create the controller to handle the form data.

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

    Sir i have question, i need to add amount_residual field in partner ladger report using odoo 15 ?

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

      Hi.. You can try adding a new computed field to select all invoices amount_residual and take the sum of all. Make sure to add amount_residual as the dependency like this:
      api.depends('invoice_ids.amount_residual')
      def compute_amount_residual(self):
      #add your code

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

      @@ajscriptmedia i do that but i need to show it in partner ladger report

  • @ShubhamMundra-p1s
    @ShubhamMundra-p1s Рік тому

    Awesome videos

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

    how to render a component on click event?

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

      Hi, please try adding a new boolean state. Based on this, use an if condition to render the component. I hope this helps.

  • @bisyrim1030
    @bisyrim1030 2 місяці тому

    8:48 it does not work

  • @Martin-Kalema
    @Martin-Kalema Рік тому

    I want to see how an Ajax Call or fetch API can be implemented, pleaseeeeeeeeeeeee.

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

      Hi, thanks for asking. The jsonrpc method I used here is actually an Ajax call already. Kindly check this link github.com/odoo/odoo/blob/17.0/addons/web/static/src/core/network/rpc_service.js#L47. I prefer using this built-in method by Odoo.

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

    I am getting this error when I use jsonrpc
    Uncaught (in promise) Error: An error occured in the owl lifecycle (see this Error's "cause" property)
    setup() {
    // this.orm = useService('orm');
    this.state = useState({
    countries: [],
    })
    // debugger;
    // console.log(useService('orm'));
    onWillStart(async () => {
    console.log("Testing");
    this.state.countries = await jsonrpc('/web/dataset/call_kw/res.country/search_read', {
    model: 'res.country',
    method: 'search_read',
    args: [],
    kwargs: {
    limit: 10,
    }
    });
    })
    }
    This is the definition of jsonrpc method
    export function jsonrpc(env, rpcId, url, params, settings = {})

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

    🤩🤩🤩😍😍😍😍😍😍😍😍😍

  • @MubeenMubeen-x5d
    @MubeenMubeen-x5d 3 місяці тому

    Thanks for the upload, been struggling for the past few days with owl, this tutorial will help.