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
    Real Estate
    • Real Estate Agency
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consulting
    • Accounting Firm
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Furnitures
    • Food
    • 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
    • Solar Energy Systems
    • Shoe Maker
    • Serveis de neteja
    • HVAC Services
    Others
    • 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

How do i edit odoo default product view?

Subscriure's

Get notified when there's activity on this post

This question has been flagged
salesproductodoov15
2 Respostes
4516 Vistes
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
Descartar
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer

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
Descartar
Avatar
Chris TRINGHAM
Best Answer

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
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
Field sales_count
sales product enterprise v15
Avatar
Avatar
Avatar
2
de març 23
3718
How to move order line from one module to another module?
sales odoo Purchase v15
Avatar
Avatar
1
de set. 22
3514
Customize the sales modules in Odoo 15 community Solved
sales customize odoo v15
Avatar
Avatar
Avatar
2
de set. 22
4626
Project module 15
sales project odoo v15
Avatar
0
de febr. 22
6
Conditionally show or hide product attributes (Odoo Online/Studio)
sales product
Avatar
Avatar
1
d’oct. 25
614
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