Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Food & Hospitality
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Guest House
    • Distributor nápojů
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Trades
    • Údržbář
    • IT hardware a podpora
    • Solar Energy Systems
    • Výrobce obuvi
    • Úklidové služby
    • HVAC Services
    Others
    • Nonprofit Organization
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Browse all Industries
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Services for Partners
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

How do i edit odoo default product view?

Odebírat

Get notified when there's activity on this post

This question has been flagged
salesproductodoov15
2 Odpovědi
4520 Zobrazení
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
Zrušit
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Nejlepší odpověď

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
Zrušit
Avatar
Chris TRINGHAM
Nejlepší odpověď

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
Zrušit
Enjoying the discussion? Don't just read, join in!

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

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
Field sales_count
sales product enterprise v15
Avatar
Avatar
Avatar
2
bře 23
3722
How to move order line from one module to another module?
sales odoo Purchase v15
Avatar
Avatar
1
zář 22
3514
Customize the sales modules in Odoo 15 community Vyřešeno
sales customize odoo v15
Avatar
Avatar
Avatar
2
zář 22
4628
Project module 15
sales project odoo v15
Avatar
0
úno 22
6
Conditionally show or hide product attributes (Odoo Online/Studio)
sales product
Avatar
Avatar
1
říj 25
619
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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