| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <odoo> |
| 3 | |
| 4 | <record id="sale_order_template_form" model="ir.ui.view"> |
| 5 | <field name="name">sale.order.template.form</field> |
| 6 | <field name="model">sale.order.template</field> |
| 7 | <field name="inherit_id" ref="sale_management.sale_order_template_view_form"/> |
| 8 | <field name="arch" type="xml"> |
| 9 | <notebook position="inside"> |
| 10 | <page name="pdf_quote" string="Quote Builder" invisible="not (id)"> |
| 11 | <field |
| 12 | name="quotation_document_ids" |
| 13 | mode="kanban" |
| 14 | widget="quotation_document_many2many" |
| 15 | class="w-100" |
| 16 | nolabel="1" |
| 17 | options="{'create': False}" |
| 18 | context="{ |
| 19 | 'kanban_view_ref': 'sale_pdf_quote_builder.quotation_document_kanban', |
| 20 | 'hide_template_ids': True, |
| 21 | }" |
| 22 | /> |
| 23 | <p class="text-muted"> |
| 24 | Provide header pages and footer pages to compose an attractive quotation with more information |
| 25 | about your company, your products and you services. <br/> |
| 26 | The pdf of your quotes will be built by putting together header pages, product descriptions, |
| 27 | details of the quote and then the footer pages. <br/> |
| 28 | If empty, it will use those define in the company settings. <br/> |
| 29 | <div class="d-flex flex-column"> |
| 30 | <widget |
| 31 | name="documentation_link" |
| 32 | path="/_downloads/c2c6ce32294dfddffcfefcf2775f7a09/pdfquotebuilderexamples.zip" |
| 33 | label=" Download examples" |
| 34 | icon="fa-arrow-right" |
| 35 | /> |
| 36 | <a |
| 37 | href="https://www.youtube.com/watch?v=SIvlo2JFU_U" |
| 38 | target="_blank" |
| 39 | invisible="not quotation_document_ids" |
| 40 | > |
| 41 | <i class="fa fa-arrow-right"/> Link to the demo video |
| 42 | </a> |
| 43 | <iframe |
| 44 | title="Quote Builder Demo Video" |
| 45 | src="https://www.youtube.com/embed/SIvlo2JFU_U?start=195" |
| 46 | class="mt-2" |
| 47 | style="height: 30rem;" |
| 48 | invisible="quotation_document_ids" |
| 49 | /> |
| 50 | </div> |
| 51 | </p> |
| 52 | </page> |
| 53 | </notebook> |
| 54 | </field> |
| 55 | </record> |
| 56 | |
| 57 | </odoo> |