Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

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

Subscriure's

Get notified when there's activity on this post

This question has been flagged
qwebquotetemplatescustomizetemplate
5 Respostes
7853 Vistes
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
Descartar
Avatar
tahirhan
Best Answer

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

0
Avatar
Descartar
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
Descartar
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
Descartar
Enjoying the discussion? Don't just read, join in!

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

Registrar-se
Related Posts Respostes Vistes Activitat
How do i remove centered text in quote template
quote template
Avatar
Avatar
1
de nov. 20
4289
AssertionError: Element odoo has extra content: template, line 5 Solved
qweb template
Avatar
Avatar
1
de gen. 19
9590
Alternate product listing, clone a route?
qweb templates
Avatar
0
de març 15
4295
Custom background
qweb template odoo17
Avatar
0
de des. 24
1998
Odoo 11 - I cannot get context on QWeb Template
qweb template context
Avatar
0
de des. 24
1808
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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