Overslaan naar inhoud
  • +31 653-919-302
Cafayate.Net
  • 0
  • 0
  • Aanmelden
  • Nederlands English (US) Español (AR)
  • Contact
  • Startpagina
  • Blog
  • Vacatures
  • Contact
Cafayate.Net
  • 0
  • 0
    • Startpagina
    • Blog
    • Vacatures
    • Contact
  • +31 653-919-302
  • Nederlands English (US) Español (AR)
  • Aanmelden
  • Contact

How to create selection field in Odoo

  • Alle blogs
  • Tech Blog
  • How to create selection field in Odoo
  • 5 maart 2021 in
    Administrator

    To make selection field in OpenERP (Odoo)

    In Selection Field first we have to go in .py file (python file) After that we have to decide where you want to give selection Field and then give attribute Selection to that field.

    Like below python code in .py file –

    1. class product_product(osv.osv):
    2. _inherit=’product.product’
    3. _columns= {
    4. ‘Inventory_Type’:fields.selection (((‘inventory’, ‘Inventory’), (‘services’, ‘Services’), (‘group’, ‘Group’)), ‘Inventory Type’),
    5. }
    6. product_product()
    in Tech Blog
    How To Use Fabric To Automate Administration Tasks And Deployments

    Ontworpen voor bedrijven

    We zijn een team van gepassioneerde mensen met als doel levens te verbeteren met vernieuwende producten. We ontwikkelen geweldige oplossingen voor al je zakelijke uitdagingen. Onze producten zijn ontworpen voor kleine tot middelgrote bedrijven die hun prestaties willen optimaliseren.

    Neem contact op

    Plantexel
    Pedernera
    Salta Capital 
    Argentina

    • +31 653-919-302
    • [email protected]
    Volg ons
    Copyright © Plantexel
    Nederlands | English (US) | Español (AR)