Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Social media Marketing
    • E-mailmarketing
    • SMS Marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Goedkeuringen
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelzaak
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Food & Hospitality
    • Bar en Pub
    • Restaurant
    • Fastfood
    • Guest House
    • Drankenhandelaar
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Solar Energy Systems
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC Services
    Others
    • Nonprofit Organization
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Browse all Industries
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijs- programma
    • Scale Up! Business Game
    • Bezoek Odoo
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Word een Partner
    • Services for Partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help

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

  • CRM
  • e-Commerce
  • Boekhouding
  • Voorraad
  • PoS
  • Project
  • MRP
All apps
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

How do i edit odoo default product view?

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
salesproductodoov15
2 Antwoorden
4514 Weergaven
Avatar
Anthony Mukami

Hi guys. I would appreciate help form any of you amazing buds out here. I want to edit change the default product view in odoo 15. To sort of 'minify' the amount of data we need to input when creating a new product.
So what i want to do is:

  • Reduce the number of tabs i.e remove the default tabs like "General Information, Atrributes & variants, sales, purchase etc' right? And have like a single, or maybe just a couple tabs instead
  • Sec, after reducing the number of tabs i want to bring all the information together. Lets say in the 'purchase' tab, there is a datafield called 'vendor taxes', i would like to take that field and put it in my new custom tab 

​N.B Because we removed the tab 'purchase', right?


​So sort of take all this datafields and put them in one place

  • After doing that, next is to remove some of the not-so-important data-fields. Those with minimal priority will be removed. As i said, I want to 'minify' the products view.



How do i? Thanks!

0
Avatar
Annuleer
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Beste antwoord

Hi,

To achieve the customization you're describing in Odoo 15, you can follow these steps.

1. Create a Custom Module:Create a new custom module to handle the customization. You can create a module structure with the necessary files such as __manifest__.py, __init__.py, and your main module file.

2. Define the New View:
In your custom module, create a new XML file to define the modified product form view. You can use the inherit_id attribute to inherit from the existing product form view and then customize it.Example:

<record id="product_template_form_view" model="ir.ui.view">
<field name="name">product.template.form.inherit.custom.model</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_form_view"/>
            <field name="arch" type="xml">

                     <!-- Remove the entire 'invoicing' tab -->
<xpath expr="//page[@name='invoicing']" position="replace">

                </xpath>

                      <!-- Remove the entire 'Purchase' tab -->

                <xpath expr="//notebook/page[@name='purchase']" position="replace">

               </xpath>

                      <!-- Remove the entire 'standard_price' field -->

<xpath expr="//field[@name='standard_price']" position="attributes">

                        <attribute name="invisible">1</attribute>

                </xpath>

            </field>
 </record>

3. Update the __manifest__.py File:In your __manifest__.py file, make sure to include the new XML file:
Remember to adapt the XML code and file names according to your specific requirements. 


Hope it helps

0
Avatar
Annuleer
Avatar
Chris TRINGHAM
Beste antwoord

I'm assuming you aren't a developer and want to do this from the front-end.

It's easy to do in Odoo studio!

Or with a little knowledge of Odoo XML you could create a new Form View that only contains the fields you need, and in one tab. Then change the Windows Action to use this new Form View and not touch the standard one. 

0
Avatar
Annuleer
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
Field sales_count
sales product enterprise v15
Avatar
Avatar
Avatar
2
mrt. 23
3715
How to move order line from one module to another module?
sales odoo Purchase v15
Avatar
Avatar
1
sep. 22
3513
Customize the sales modules in Odoo 15 community Opgelost
sales customize odoo v15
Avatar
Avatar
Avatar
2
sep. 22
4625
Project module 15
sales project odoo v15
Avatar
0
feb. 22
6
Conditionally show or hide product attributes (Odoo Online/Studio)
sales product
Avatar
Avatar
1
okt. 25
614
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Word een Partner
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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