Zum Inhalt springen
Odoo Menü
  • Anmelden
  • Jetzt gratis testen
  • Apps
    Finanzen
    • Buchhaltung
    • Rechnungsstellung
    • Spesenabrechnung
    • Tabellenkalkulation (BI)
    • Dokumente
    • E-Signatur
    Vertrieb
    • CRM
    • Vertrieb
    • Kassensystem – Shop
    • Kassensystem – Restaurant
    • Abonnements
    • Vermietung
    Websites
    • Website-Builder
    • E-Commerce
    • Blog
    • Forum
    • Livechat
    • E-Learning
    Lieferkette
    • Lager
    • Fertigung
    • PLM
    • Einkauf
    • Wartung
    • Qualität
    Personalwesen
    • Mitarbeiter
    • Personalbeschaffung
    • Abwesenheiten
    • Mitarbeiterbeurteilung
    • Personalempfehlungen
    • Fuhrpark
    Marketing-
    • Social Marketing
    • E-Mail-Marketing
    • SMS-Marketing
    • Veranstaltungen
    • Marketing-Automatisierung
    • Umfragen
    Dienstleistungen
    • Projekte
    • Zeiterfassung
    • Außendienst
    • Kundendienst
    • Planung
    • Termine
    Produktivität
    • Dialog
    • Genehmigungen
    • IoT
    • VoIP
    • Wissensdatenbank
    • WhatsApp
    Apps von Drittanbietern Odoo Studio Odoo Cloud-Plattform
  • Branchen
    Einzelhandel
    • Buchladen
    • Kleidergeschäft
    • Möbelhaus
    • Lebensmittelgeschäft
    • Baumarkt
    • Spielwarengeschäft
    Essen & Gastgewerbe
    • Bar und Kneipe
    • Restaurant
    • Fast Food
    • Gästehaus
    • Getränkehändler
    • Hotel
    Immobilien
    • Immobilienagentur
    • Architekturbüro
    • Baugewerbe
    • Immobilienverwaltung
    • Gartenarbeit
    • Eigentümervereinigung
    Beratung
    • Buchhaltungsfirma
    • Odoo-Partner
    • Marketingagentur
    • Anwaltskanzlei
    • Talentakquise
    • Prüfung & Zertifizierung
    Fertigung
    • Textil
    • Metall
    • Möbel
    • Speisen
    • Brauerei
    • Firmengeschenke
    Gesundheit & Fitness
    • Sportklub
    • Brillengeschäft
    • Fitnessstudio
    • Therapeut
    • Apotheke
    • Friseursalon
    Handel
    • Handyman
    • IT-Hardware & -Support
    • Solarenergiesysteme
    • Schuster
    • Reinigungsdienstleistungen
    • HLK-Dienstleistungen
    Sonstiges
    • Gemeinnützige Organisation
    • Umweltschutzagentur
    • Plakatwandvermietung
    • Fotostudio
    • Fahrrad-Leasing
    • Software-Händler
    Alle Branchen ansehen
  • Community
    Lernen
    • Tutorials
    • Dokumentation
    • Zertifizierungen
    • Schulung
    • Blog
    • Podcast
    Bildung fördern
    • Bildungsprogramm
    • Scale-Up! Planspiel
    • Odoo besuchen
    Software anfragen
    • Herunterladen
    • Editionen vergleichen
    • Releases
    Zusammenarbeiten
    • Github
    • Forum
    • Veranstaltungen
    • Übersetzungen
    • Partner werden
    • Dienstleistungen für Partner
    • Buchhaltungsfirma registrieren
    Services anfragen
    • Partner finden
    • Buchhalter finden
    • Einen Experten treffen
    • Implementierungsservices
    • Kundenreferenzen
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Eine Demo erhalten
  • Preiskalkulation
  • Hilfe

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

  • CRM
  • e-Commerce
  • Buchhaltung
  • Lager
  • PoS
  • Projekte
  • MRP
All apps
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Hilfe

How to add new tab to module in Odoo 8?

Abonnieren

Erhalten Sie eine Benachrichtigung, wenn es eine Aktivität zu diesem Beitrag gibt

Diese Frage wurde gekennzeichnet
viewlayoutcustomizeproductsformviewtab
1 Antworten
8314 Ansichten
Avatar
Yenthe Van Ginneken (Mainframe Monkey)

Hey guys

I've been trying to add a new tab to the "Products" view under sales but I can't get any new tabs made.
Could anybody tell me how/where to do this please? I know there is an answer for V7 (https://www.odoo.com/forum/help-1/question/how-to-add-new-tab-to-module-19050) but there is no information about how to do it in V8.
You can see what I want here: http://imgur.com/M5khmn8


With kind regards
Yenthe

2
Avatar
Verwerfen
Stephen Mack

I look forward to reading it.  Thanks.

Yenthe Van Ginneken (Mainframe Monkey)
Autor

Stephen, I've written out the guide for V8 in the comment down here. This is currently for V8 but I will probably add one for V7 too. Hope this explains everything you need!

Avatar
Yenthe Van Ginneken (Mainframe Monkey)
Autor Beste Antwort

Found the solution myself.

Odoo V8:

1. Go to 'about Odoo'
2. Activate the developer mode.
3. Go to your view you want to edit, for example to sales > products and open up a product.
4. Open the debug view (top left) and click on edit FormView
5. Find the field 'inherited view' and open it.
6. Edit the code under the architecture tab in the new window.
6A. You should first add the fields you want to add to your view in your database. The model where you should insert this is in the 'Object' field, for example product.template. You can add fields to a model by going to settings > Database structure > models. Find the correct model there, make your new fields, give them the correct type and save them.
6B. Edit the code under the architecture tab and add the fields with the same name as you've named them in the database.
7. Save and refresh your page, you will now see your now tab with fields.

I've also made a guide about this in image form with even more information which can be found here: http://imgur.com/a/1C1gK
 

Odoo V7:
1. Go to 'about Odoo'
2. Activate the developer mode.
3. Go to your view you want to edit, for example to sales > products and open up a product.
4. Open the debug view (top left) and click on edit FormView
5. Edit the code under the architecture tab.
5A. You should first add the fields you want to add to your view in your database. The model where you should insert this is in the 'Object' field, for example product.product. You can add fields to a model by going to settings > Database structure > models. Find the correct model there, make your new fields, give them the correct type and save them.
5B. Edit the code under the architecture tab and add the fields with the same name as you've named them in the database.
6. Save and refresh your page, you will now see your now tab with fields.

I've also made a guide about this in image form with even more information which can be found here: http://imgur.com/a/UphvK

0
Avatar
Verwerfen
samba

Hi Yenthe, What's happen in code when we do like this. I did this one but i unable to traced out one thing, odes It adds the code in actual module or does it will create separate files for this extra fields.

Yenthe Van Ginneken (Mainframe Monkey)
Autor

samba, what exactly would you like to know? I think you'd like to know the flow of your data? In essence all the data in your new fields will be handled by Odoo and saved into the correct fields of the model. You only need to add the fieldnames to the model and edit the code and your set to go. Odoo will track where your data should be stored thanks to the model path and the fieldnames! I hope this answers your question.

Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!

Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!

Registrieren
Verknüpfte Beiträge Antworten Ansichten Aktivität
Change tabulation order on form data entry
formview tab
Avatar
0
Mai 17
4572
oe_edit_only and oe_read_only classes in Odoo 16
view css formview
Avatar
Avatar
1
Apr. 23
6011
How to customize the field tabindex in Odoo 12
formview tab Odoo12.0
Avatar
Avatar
1
Apr. 19
5640
[8.0] Custom view per user not working Gelöst
view customize 8.0
Avatar
Avatar
1
Juni 15
4012
Is there a way to edit multiple items, i.e. products, (and possibly contacts, customers etc) in list view? Gelöst
view list edit products
Avatar
Avatar
Avatar
Avatar
Avatar
5
März 22
16115
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Herunterladen
  • Github
  • Runbot
  • Übersetzungen
Dienstleistungen
  • Odoo.sh-Hosting
  • Support
  • Upgrade
  • Individuelle Entwicklungen
  • Bildung
  • Buchhalter finden
  • Partner finden
  • Partner werden
Über uns
  • Unsere Firma
  • Markenwerte
  • Kontakt
  • Karriere
  • Veranstaltungen
  • Podcast
  • Blog
  • Kunden
  • Rechtliches • Datenschutz
  • Sicherheit
الْعَرَبيّة 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 ist eine Suite von Open-Source-Betriebsanwendungen, die alle Bedürfnisse Ihres Unternehmens abdecken: CRM, E-Commerce, Buchhaltung, Lager, Kassensystem, Projektmanagement etc.

Das einzigartige Wertversprechen von Odoo ist, dass es gleichzeitig sehr einfach zu bedienen und voll integriert ist.

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