Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

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

Odoberať

Get notified when there's activity on this post

This question has been flagged
qwebquotetemplatescustomizetemplate
5 Replies
7875 Zobrazenia
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šiť
Avatar
tahirhan
Best Answer

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

0
Avatar
Zrušiť
Avatar
San
Best Answer

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šiť
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 Best Answer

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

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

Registrácia
Related Posts Replies Zobrazenia Aktivita
How do i remove centered text in quote template
quote template
Avatar
Avatar
1
nov 20
4313
AssertionError: Element odoo has extra content: template, line 5 Solved
qweb template
Avatar
Avatar
1
jan 19
9606
Alternate product listing, clone a route?
qweb templates
Avatar
0
mar 15
4302
Custom background
qweb template odoo17
Avatar
0
dec 24
2020
Odoo 11 - I cannot get context on QWeb Template
qweb template context
Avatar
0
dec 24
1846
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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