Compute Fields | Constrains In Odoo | Validation Error In Odoo | Odoo 16 Development Tutorials

Sdílet
Vložit
  • čas přidán 8. 09. 2024
  • How to create module in Odoo 16. Building custom addons in Odoo.Steps to customize Odoo. How to customize odoo erp. Learn odoo erp customization. Build module in Odoo 16.
    How to add compute field and function in Odoo 16. Stored and non stored compute fields in Odoo. How to make a compute field stored in Odoo. How to add constrains in Odoo. Odoo decorators. Validation error message in Odoo. How to translate validation error message in Odoo.
    1. Defining a compute field and function
    2. Make stored compute field
    3. Make function capable of handling multiple records
    4. Constrains decorator in Odoo 16.
    5. Raise Validation error in Odoo 16.
    6. Translatable error message in Odoo.
    𝐉𝐨𝐢𝐧 𝐭𝐡𝐢𝐬 𝐜𝐡𝐚𝐧𝐧𝐞𝐥:
    / @odoomates
    𝐎𝐝𝐨𝐨 𝟏𝟓 𝐏𝐥𝐚𝐲𝐥𝐢𝐬𝐭: • How To Configure Odoo1...
    Sponsor Us: github.com/spo...
    𝐖𝐞𝐛𝐬𝐢𝐭𝐞: www.odoomates....
    𝐈𝐧𝐬𝐭𝐠𝐫𝐚𝐦: / odoomates
    𝐆𝐢𝐭𝐡𝐮𝐛: github.com/odo...
    𝐄𝐦𝐚𝐢𝐥 : odoomates@gmail.com
    𝐅𝐚𝐜𝐞𝐛𝐨𝐨𝐤: / odoomate
    𝐓𝐰𝐢𝐭𝐭𝐞𝐫: / odoomates
    𝐒𝐮𝐩𝐩𝐨𝐫𝐭 𝐔𝐬 𝐢𝐧 𝐊𝐨 𝐅𝐢 : ko-fi.com/odoo...

Komentáře • 21

  • @sbouillon
    @sbouillon Před rokem +9

    I believe the reason you couldn’t generate the error in the tree view is because you had the store=True attribute.

    • @OdooMates
      @OdooMates  Před rokem +3

      thanks for sharing it brother, yes you are right, i missed to spot it out

  • @pablolino3037
    @pablolino3037 Před 4 měsíci

    muito bom cara, estou aprendendo bastante com seus videos, tá sendo bem esclarecedor, valeu mesmo do seu fã do BRASIL

  • @karim.mekhneche
    @karim.mekhneche Před rokem +2

    Very happy to see you back brother.
    Just a suggestion:
    Could you please increase your pycharm editor font size to 18 please. your videos will be better.
    and also wrap your lines longer than 100 caracters in the advenced settings and restart Pycharm.
    Your videos will be better bro and you will preserve your eyes as a developer

    • @OdooMates
      @OdooMates  Před rokem

      thanks brother for the long lasting support and love, yes we are back after a break

  • @yosbelmendozadiaz2838

    greetings, when you continue with the tutorial, the work you do is very good, thank you

  • @adhizcombat
    @adhizcombat Před rokem +1

    Thank you very much 👍

  • @altelasoftware2992
    @altelasoftware2992 Před rokem +1

    nice video as always! do you have tutorial regarding how to make fields readonly based on group? the version 16 has removed field name="groups_id" when inheriting XML view, then how can we put attributes like readonly or hide for fields through xml inheritance?
    edit : for Odoo version 16

    • @OdooMates
      @OdooMates  Před rokem +1

      not yet, we need to make a video in it.

    • @altelasoftware2992
      @altelasoftware2992 Před rokem

      @@OdooMates thank you so much! really excited to looking forward to it since it's pretty crucial stuff

  • @faktalagi
    @faktalagi Před rokem +2

    Hello, I see you don't need to restart the service and upgrade the module every time you make a change.
    How to? or where can i find a way about it?

    • @OdooMates
      @OdooMates  Před rokem

      we have added -d db_name -u module_name, that is why on restarting from pycharm automatically upgrading the module.
      czcams.com/video/c7QL1X3-Zlc/video.html

    • @faktalagi
      @faktalagi Před rokem

      @@OdooMates Thank you, I've watched it. But how to do it in vs code studio?
      I've been looking for it but can't find it

    • @hosamhamdy258
      @hosamhamdy258 Před rokem

      @@faktalagi just add -u addon name to cli ex :
      python .\odoo\odoo-bin -u om_hospital

  • @im_yuri_24
    @im_yuri_24 Před 7 měsíci

    Hello, perfect video, as usual. I've noticed a string in your action, which was not defined in chapter with module and action definition. {'search_default_filter_child':1} - How it is supposed to work?

    • @im_yuri_24
      @im_yuri_24 Před 7 měsíci

      I see, it's adding child filter by default, I think it wasn't mentioned in video, though very useful!

  • @shekhar.dev.88
    @shekhar.dev.88 Před rokem +1

    WHEN THE NEXT VIDEO WILL COME AFTER THIS VIDEO BECAUSE I WANT TO LEARN IN A SERIAL MANNER.

    • @OdooMates
      @OdooMates  Před rokem +1

      In couple of days next video will be published brother, thanks for the support and love

  • @aliisrar9676
    @aliisrar9676 Před rokem

    How to create sequence in odoo 16 for each field