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í
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textile
    • Kov
    • Nábytek
    • Jídlo
    • Brewery
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • IT hardware a podpora
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • 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

Odoo 10 - How do I customize the auto-generated information on a WEB QUOTE TEMPLATE

Odebírat

Get notified when there's activity on this post

This question has been flagged
qwebquotetemplatescustomizetemplate
5 Odpovědi
7859 Zobrazení
Avatar
Chris Cassidy

ODOO 10

To be clear, I do know how to access the web quote templates, and how to use qweb to modify the default content inside of a web quote template.

What I am trying to locate/figure out, is how to modify the section below the header that gets plugged in by Odoo, which displays my customer's information and the sales person's information. I would also like to modify the table below the content that displays line items, pricing, taxes, etc. 

Additionally, I would like to add another block of content, but I want it to appear below the pricing, but above the Terms & Conditions.


From the code below, is looks like it might be the "website.layout" or "template.website_description". Any help, links to other postings, or links to tutorials will be vastly appreciated.


<?xml version="1.0"?>

<t name="SO Template" t-name="website_quote.so_template">

    <t t-call="website.layout">

        <body data-spy="scroll" data-target=".navspy" data-offset="50">

            <div class="container o_website_quote">

                <div class="row mt16">

                    <div class="col-md-3 hidden-print">

                        <div class="bs-sidebar">

                            <div class="navspy" role="complementary" t-ignore="True">

                                <ul class="nav bs-sidenav" data-id="quote_sidebar"/>

                            </div>

                        </div>

                    </div>

                    <div class="col-md-9">

                        <div class="row">

                            <div t-ignore="true" class="css_editable_mode_hidden col-md-offset-11">

                              <a class="btn btn-info hidden-print" t-att-href="'/web#return_label=Website&amp;model=%s&amp;id=%s&amp;action=%s&amp;view_type=form' % (template._name, template.id, request.env.ref('website_quote.action_sale_quotation_template').id)">Back</a>

                            </div>

                        </div>

                        <div class="alert alert-info alert-dismissable" t-ignore="True">

                            <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&amp;times;</button>

                            <p>

                                <strong>Template Header:</strong> this content

                                will appear on all quotations using this

                                template.

                            </p>

                            <p class="text-muted">

                                Titles with style <i>Heading 1</i> and

                                <i>Heading 2</i> will be used to generate the

                                table of content automatically.

                            </p>

                        </div>

                        <div id="template_introduction" t-field="template.website_description" class="oe_no_empty"/>

                        <t t-foreach="template.quote_line" t-as="line">

                            <div class="alert alert-info alert-dismissable" t-ignore="True">

                                <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&amp;times;</button>

                                Product: <strong t-esc="line.product_id.name"/>:

                                this content will appear on the quotation only if this

                                product is put on the quote.

                            </div>

                            <div t-field="line.website_description" class="oe_no_empty"/>

                        </t>

                        <t t-foreach="template.options" t-as="option_line">

                            <div class="alert alert-info alert-dismissable" t-ignore="True">

                                <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&amp;times;</button>

                                Optional Product: <strong t-esc="option_line.product_id.name"/>:

                                this content will appear on the quotation only if this

                                product is used in the quote.

                            </div>

                            <div t-field="option_line.website_description" class="oe_no_empty"/>

                        </t>

                        <section id="terms" class="container" t-if="template.note">

                            <h1 t-ignore="True">Terms &amp; Conditions</h1>

                            <p t-field="template.note"/>

                        </section>

                    </div>

                </div>

            </div>

        </body>

        </t>

  </t>


0
Avatar
Zrušit
Avatar
tahirhan
Nejlepší odpověď

In Odoo 13, You can edit portal quotation template from "sale.sale_order_portal_content" view.

0
Avatar
Zrušit
Avatar
San
Nejlepší odpověď

Buen día.


En la versión 11.0 se modifican estando en modo desarrollador, desde settings -> Technical -> Views  


En el buscador escribe Quotation y seguro darás con el QWEB que tiene el encabezado


En la versión 11 su nombre es Quotation Content y su External ID website.quote.so_quotation_content

Saludos!


0
Avatar
Zrušit
Chris Cassidy
Autor

Gracias por su respuesta. Desafortunadamente, estoy usando la versión 10. Voy a actualizar a la versión 12 y luego puedo usar Odoo Studio.

San

Buen día.

No necesitas la versión 12 para lo que te comenté ni tener Odoo Studio en tus aplicaciones, es desde el módulo base "Ajustes" estando en modo "desarrollador"

Avatar
Chris Cassidy
Autor Nejlepší odpověď

It looks like this is being addressed with Odoo 12 Studio, but we're not there yet, so any help in the meantime would be great.

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
How do i remove centered text in quote template
quote template
Avatar
Avatar
1
lis 20
4298
AssertionError: Element odoo has extra content: template, line 5 Vyřešeno
qweb template
Avatar
Avatar
1
led 19
9593
Alternate product listing, clone a route?
qweb templates
Avatar
0
bře 15
4298
Custom background
qweb template odoo17
Avatar
0
pro 24
2001
Odoo 11 - I cannot get context on QWeb Template
qweb template context
Avatar
0
pro 24
1817
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