20. How To Add Many2one Field In Odoo || Relational Fields in Odoo || Odoo 15 Development Tutorials

Поділитися
Вставка
  • Опубліковано 13 гру 2024

КОМЕНТАРІ • 31

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

    Thank you so much my friend. You are the best!

  • @dronix1969
    @dronix1969 2 роки тому +2

    dear thank you for the videos I have a query regarding many2one you can bring another field that is not the name or the one that identifies the module from which the information is brought.

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

      yes using the name get function and using rec name, see: ua-cam.com/video/aT_tsfW5HaQ/v-deo.html

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

      ua-cam.com/video/FHaVftE6Mr0/v-deo.html

  • @nachiketwarule2841
    @nachiketwarule2841 4 дні тому

    if i have created 2 models Model A and Model B, in Model A i have 2 fields suppose "a", "b" and in Model B i have 2 fields "c", "d" (both are many2one fields linked by Model A) is that possible to get "a" field data as LOV in field "c" and "b" field data as LOV in field "d" ? if yes then how? can you please create a short video on that?

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

    u have a nice way of teaching^^

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

      thanks for the support

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

    Good content

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

    Thanks a lot

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

    When I create an appointment only empty lines are showing on the screen sir name are not showing

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

      do you have added rec_name for the model or name_get function .
      if not see: ua-cam.com/video/S5FWeUTtmmE/v-deo.html

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

      @@OdooMates Now I get it. THank You Sir for the reply. And one more thing can you tell me how I can study more about the odoo development after I watch all of your videos.

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

      @@shahzaibanwar8368 once you complete any playlist, please join some companies or starting working as odoo developer

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

      @@OdooMates Thanku Sir. I have one more question regarding odoo POS that when I start a POS session and add products to the cart, it keeps on adding out of stock products in to the cart. How can I solve this

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

      You may have to customize and prevent the sale if product is out of stock, also you can check the third party apps in the store which provides this functionality

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

    Why does it show the name of the patient when you want to create an appointment and not the id ? What whould i do i want that it display not the name but the gender or something else?

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

      It will show value from name field or from name get function

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

      ua-cam.com/video/aT_tsfW5HaQ/v-deo.html

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

      @@OdooMates thx a lot !

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

      @@mentalcreed06 welcome brother

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

    An error occurred
    Please use the copy button to report the error to your support service.
    UncaughtPromiseError
    Uncaught Promise > Missing field string information for the field 'name' from the 'hospital.appointment' model. why is this error coming up?

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

      Did you have name field in appointment model ?

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

      i just unistalled the module and installed it again. It worked. thank you for the classes

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

      Thanks for the supportchat.whatsapp.com/Eh9XF6wff244UywTmkCwLj

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

    i following your tutorial, after this #20 i got this error
    psycopg2.errors.DatatypeMismatch: COALESCE types text and integer cannot be matched
    when tryng to display the data

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

      can you trace which part of the code is causing the error ?

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

      @@OdooMates the problem solved, the bug is I put translate=true in fields.date or integer. this is the cause of the error, after I removed it, it works again