Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

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

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

How do i edit odoo default product view?

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
salesproductodoov15
2 Risposte
4530 Visualizzazioni
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
Abbandona
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Risposta migliore

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
Abbandona
Avatar
Chris TRINGHAM
Risposta migliore

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
Abbandona
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
Field sales_count
sales product enterprise v15
Avatar
Avatar
Avatar
2
mar 23
3727
How to move order line from one module to another module?
sales odoo Purchase v15
Avatar
Avatar
1
set 22
3518
Customize the sales modules in Odoo 15 community Risolto
sales customize odoo v15
Avatar
Avatar
Avatar
2
set 22
4630
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
ott 25
629
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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