Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Basic Odoo Studio Question -- Adding a Non-Default Field to a List View

Subscriure's

Get notified when there's activity on this post

This question has been flagged
helpmeOdooStudio
3 Respostes
6785 Vistes
Avatar
RedFlag Products, Inc

Odoo Online v.12

This is my first forum post. Please go easy on me. If there's an article or something out there that answers any part of this, please feel free simply to point me in the right direction. I have looked, believe me, but maybe I missed it.

I want to use Odoo Studio to add a column to a List View. I have had success doing this in the past, but in this specific case I am apparently helpless.

Specifically, when I click into a particular Vendor Bill, in the Other Information tab I have a field labeled Reference/Description.
This is the field I want to add as a column to the List View for Vendor Bills.

I'm looking at Vendor Bills. I activate Odoo Studio. Because the field for which I want to add a column is an existing field within every vendor bill record, I look for the field name (Reference/Description) under Existing Fields in the Odoo Studio pane. There is no Existing Field with this name. Dammit. I try several similar-sounding names, but none of them gives me a column with the values I want to see when I drag it out of Studio and into the List View.

Terrific. So I guess I'm going to have to create this column myself, which Odoo Studio seems to allow ("New Fields").

At this point I should probably mention that I do not understand the distinctions between One2Many, Many2One, Many2Many, Related Field, etc. Like, I know what the words many, to, and one mean in English, but that doesn't seem to help me here. So already I'm out of my depth. And Odoo does not provide any detailed information (that I've found) on how to use Odoo Studio, or else I would just look that sh*t up myself instead of posting in vain on a public forum like some chump. Anyhow...

So I've determined that I need to add a customized field to get what I want from Studio. I try many permutations, in each of the field types (Many2One, et al.) mentioned above. At some point I realize that these menu trees I'm clicking through to create this field keep looping back around and I'm stuck in an endless loop trying to find SOMETHING that looks like what I want, which again, is a column expressing the field labeled Reference/Description that I see in the Other Information tab on my Vendor Bills. So I'm getting nowhere. Time to try something else, something specific.

I know that when I'm in Developer/Debug mode, I can hover over a field label on a form and get a popup containing some kind of descriptive code. Maybe that's what I need? So I go into debug mode, click into a vendor bill, and hover over the field label. Surely knowing what Odoo calls this field in its code will somehow help me track it down in Odoo Studio so I can add it to a different view, right?

Here's what the popup says:

Reference/Description
The name that will be used on account move lines.
  • Field: name

  • Object: account.invoice

  • Type: char

  • Modifiers: {"readonly":[["state","not in",["draft"]]]}

If this information is useful to me -- I don't think it is, but I've been wrong before -- then I do not know how to make use of it. I want to be able to figure this out myself but I have never dealt with a system so frustratingly opaque. And in what appears to be a targeted effort to make me as angry as humanly possible, Odoo Tech Support has a rule prohibiting them from assisting with any Odoo Studio matters. So here I am, screaming into the void. Help?

0
Avatar
Descartar
Sehrish

Hope this will helps you in future: http://learnopenerp.blogspot.com/

Avatar
Chris TRINGHAM
Best Answer

Maybe this can help you: https://odootricks.tips/odoo-studio/

You probably do need to understand the difference between many2one, one2many and many2many in order to make good use of Odoo Studio. 

I believe the name field is already on the List View but Hidden.  Click on "View" (2nd tab in the dark panel on the left) and tick "Show Invisible Elements".  Now the hidden fields are displayed but with cross-hatching.  You can make it visible by clicking on invisible (so that this is now unchecked).

Or if you want to add a new field, it can be a text field (which is simpler).

I do believe Odoo Studio is a useful tool, but it is necessary to understand something about the Odoo database in order to do anything more than the very basic.  Without that, yes, it can be frustratingly opaque.  I hope the link above can help to make it easier!! 

2
Avatar
Descartar
Avatar
RedFlag Products, Inc
Autor Best Answer

Apparently I lack the "karma" points required to post this comment inline, but THANK YOU Chris T. for the very helpful resonse!

0
Avatar
Descartar
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
blank screen
helpme
Avatar
0
de gen. 25
3
Web Editor Fails to Load (NGINX Proxy Manager)
helpme
Avatar
0
d’oct. 24
2404
Report or view to show discounts given as a result of coupons used on ecommerce
OdooStudio
Avatar
0
de jul. 24
1817
Display ordred quantity for specific product
OdooStudio
Avatar
0
de jul. 24
1359
HR & Accounting Module for Odoo 17 Community edition
helpme
Avatar
Avatar
1
de febr. 24
8778
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now