Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

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

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

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

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
qwebquotetemplatescustomizetemplate
5 Odpowiedzi
7866 Widoki
Awatar
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
Awatar
Odrzuć
Awatar
tahirhan
Najlepsza odpowiedź

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

0
Awatar
Odrzuć
Awatar
San
Najlepsza odpowiedź

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
Awatar
Odrzuć
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"

Awatar
Chris Cassidy
Autor Najlepsza odpowiedź

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
Awatar
Odrzuć
Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
How do i remove centered text in quote template
quote template
Awatar
Awatar
1
lis 20
4299
AssertionError: Element odoo has extra content: template, line 5 Rozwiązane
qweb template
Awatar
Awatar
1
sty 19
9593
Alternate product listing, clone a route?
qweb templates
Awatar
0
mar 15
4299
Custom background
qweb template odoo17
Awatar
0
gru 24
2003
Odoo 11 - I cannot get context on QWeb Template
qweb template context
Awatar
0
gru 24
1818
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة 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 to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

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