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 to edit the header of the quote template

Odebírat

Get notified when there's activity on this post

This question has been flagged
pdf
2 Odpovědi
1257 Zobrazení
Avatar
Jitesh Jeram

I want to move the red section to under the "Quotation" heading to the right of the customer details.

https://ibb.co/5g7MRrBk

0
Avatar
Zrušit
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Nejlepší odpověď

Hi,


To move the "Question Date", "Expiration", and "Salesperson" section to the right of the "Quotation # 00004" heading in an Odoo report (likely a QWeb report), you'll need to modify the report's XML template.


- Locate the QWeb Report Template(sale.report_saleorder_document)

- Inherit the template and make changes in the inherited template.


Add your div or group by using XPath.

<xpath expr="//div[@name='informations_reference']" position="after">
<!-- Your custom div here -->
</xpath>



Ensure to upgrade the module.


Hope it helps


0
Avatar
Zrušit
Avatar
D Enterprise
Nejlepší odpověď

Hii,

Here is version 16 code please try this 
Example XML to move it

<odoo>

    <template id="report_saleorder_document_inherit_move_red_section"

              inherit_id="sale.report_saleorder_document">


        <!-- Remove the original red section -->

        <xpath expr="//div[@class='row mt32 mb32']//div[@class='col-auto']" position="replace">

            <!-- leave blank to remove -->

        </xpath>


        <!-- Insert the red section next to customer details -->

        <xpath expr="//div[@class='row mt32 mb32']//div[@class='col-auto']//.." position="after">

            <div class="row mt32 mb32">

                <div class="col-6">

                    <!-- Keep customer details here -->

                    <div>

                        <strong t-esc="doc.partner_id.name"/>

                        <br/>

                        <span t-esc="doc.partner_id.contact_address"/>

                    </div>

                </div>

                <div class="col-6 text-right" style="color:red;">

                    <p><strong>Quotation #:</strong> <span t-esc="doc.name"/></p>

                    <p><strong>Date:</strong> <span t-esc="doc.date_order.strftime('%d/%m/%Y')"/></p>

                    <p><strong>Salesperson:</strong> <span t-esc="doc.user_id.name"/></p>

                </div>

            </div>

        </xpath>


    </template>

</odoo>


i hope it is use full

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
Quote Builder With Custom Rental Report (Studio)
pdf
Avatar
0
říj 25
495
Quote Builder With Custom Rental Report (Studio)
pdf
Avatar
0
říj 25
4
Customize Report problem Vyřešeno
pdf
Avatar
Avatar
Avatar
3
srp 25
1553
How to Edit Out the Blank Space in the Quote/Order Confirmation PDFs? Vyřešeno
pdf
Avatar
Avatar
Avatar
Avatar
3
srp 25
2680
How to Disable Automatic PDF Download When Selecting "Invoice" in POS (Odoo Online)?
pdf
Avatar
1
čvc 25
1454
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