35.How To Return View From Python Code In Odoo || Return Action and View From Python Code

Поділитися
Вставка
  • Опубліковано 5 жов 2024
  • How to return view from python code in odoo. Return view and action from python code. Return form view from button click. Return filtered action from python code in odoo. Explaining four different ways of returning views from code in Odoo. Odoo 14 development tutorials, showing different ways of returning views and action from code. Self.env.ref orm method.
    Odoo 14 Playlist: • 2. How To Create Modul...
    Module: apps.odoo.com/...
    Website: www.odoomates....
    Github: github.com/odo...
    Email : odoomates@gmail.com
    Facebook: / odoomate
    Twitter: / odoomates
    Support Us in Ko Fi : ko-fi.com/odoo...

КОМЕНТАРІ • 29

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

    Please continuously put videos brother

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

      sure brother, we will try to upload soon

  • @geelani
    @geelani 3 роки тому +1

    Thanks. Helped us big time

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

    Thanks so much

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

      You're welcome!

  • @nadeemkazi2092
    @nadeemkazi2092 3 роки тому +1

    Thanks alot champ..❤

  • @aliabdulla3
    @aliabdulla3 3 роки тому +1

    thank you so much!
    can we do the same , but to Menu click instead of a button?

    • @OdooMates
      @OdooMates  3 роки тому

      yes, for that you have to call python function from menu item and then execute as we have shown here.

    • @OdooMates
      @OdooMates  3 роки тому +1

      For calling python function from menu item, see: ua-cam.com/video/17wvsFqS3D4/v-deo.html

    • @aliabdulla3
      @aliabdulla3 3 роки тому +1

      @@OdooMates Thanks, thats exactly what i was looking for

    • @OdooMates
      @OdooMates  3 роки тому

      @@aliabdulla3 :)

  • @BDCVT-VuucManh
    @BDCVT-VuucManh 2 роки тому +1

    let me ask, I want to add a tree view to the button and then be able to customize it in that tree view, how can I do that? thanks

    • @OdooMates
      @OdooMates  2 роки тому

      you mean how to return a tree view from button ?

  • @ajithpoojari9660
    @ajithpoojari9660 3 роки тому +1

    Hello sir,
    How to add boolean field in res.conf.settings model

    • @OdooMates
      @OdooMates  3 роки тому +1

      you can inherit the model and add as you do in normal model/views, to get it saved, see: ua-cam.com/video/MsVoYPQ4-J4/v-deo.html

    • @Peter-xf4dm
      @Peter-xf4dm 7 місяців тому

      it's easy bro you need just to go to the squarter setting ussing browsiko mode in the xml and reload the multiple booleen data exchmagle and you will find it there just before the data symphonies

  • @muneebhaider5861
    @muneebhaider5861 2 роки тому

    Thank You for this tutorial.
    My code is working fine ... it shows all the appointment for the selected patient name, but i want to show appointments of a patient from january 1st to january 30th ... i ve created 'start_date' and 'finish_date' field in my wizard. can you please tell me what condition to put in action['domain'] to get this functionality ?

    • @OdooMates
      @OdooMates  2 роки тому +1

      inside the domain you can add : [('date', '>', start_date),[('date', '

  • @salihakv1681
    @salihakv1681 3 роки тому +1

    I want to return action of a form view. But model is ir.ui. view not ir. actions. act_window. How is it possible?

    • @OdooMates
      @OdooMates  3 роки тому

      did you see how the created record is returned from the code in this video ?

    • @OdooMates
      @OdooMates  3 роки тому

      model of view is ir.ui.view and model of action is ir.actions......... , what issue you face here ?

  • @shadowcoder19
    @shadowcoder19 2 роки тому

    Is there a way to create invoice automatically using python code automated action studio?

  • @wanamal92
    @wanamal92 3 роки тому +1

    Can I get two modules data to one view using this method?

    • @OdooMates
      @OdooMates  2 роки тому

      Will this help? ua-cam.com/video/Lqi6BlZ2rac/v-deo.html