{"en_US": "<t t-name=\"sale.report_saleorder_document\">\n    <t t-call=\"web.external_layout\">\n        <t t-set=\"doc\" t-value=\"doc.with_context(lang=doc.partner_id.lang)\"/>\n        <t t-set=\"forced_vat\" t-value=\"doc.fiscal_position_id.foreign_vat\"/> <!-- So that it appears in the footer of the report instead of the company VAT if it's set -->\n        <t t-set=\"address\">\n            <div t-field=\"doc.partner_id\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;], &quot;no_marker&quot;: True}\"/>\n            <p t-if=\"doc.partner_id.vat\">\n                <t t-if=\"doc.company_id.account_fiscal_country_id.vat_label\" t-out=\"doc.company_id.account_fiscal_country_id.vat_label\"/>\n                <t t-else=\"\">Tax ID</t>: <span t-field=\"doc.partner_id.vat\"/>\n            </p>\n        </t>\n        <t t-if=\"doc.partner_shipping_id == doc.partner_invoice_id                              and doc.partner_invoice_id != doc.partner_id                              or doc.partner_shipping_id != doc.partner_invoice_id\">\n            <t t-set=\"information_block\">\n                <strong>\n                    <t t-if=\"doc.partner_shipping_id == doc.partner_invoice_id\">\n                        Invoicing and Shipping Address\n                    </t>\n                    <t t-else=\"\">\n                        Invoicing Address\n                    </t>\n                </strong>\n                <div t-field=\"doc.partner_invoice_id\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;, &quot;phone&quot;], &quot;no_marker&quot;: True, &quot;phone_icons&quot;: True}\"/>\n                <t t-if=\"doc.partner_shipping_id != doc.partner_invoice_id\">\n                    <strong class=\"d-block mt-3\">Shipping Address</strong>\n                    <div t-field=\"doc.partner_shipping_id\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;, &quot;phone&quot;], &quot;no_marker&quot;: True, &quot;phone_icons&quot;: True}\"/>\n                </t>\n            </t>\n        </t>\n        <div class=\"page\">\n            <div class=\"oe_structure\"/>\n\n            <t t-set=\"is_proforma\" t-value=\"env.context.get('proforma', False) or is_pro_forma\"/>\n            <t t-set=\"layout_document_title\">\n                <span t-if=\"is_proforma\">Pro-Forma Invoice # </span>\n                <span t-elif=\"doc.state in ['draft','sent']\">Quotation # </span>\n                <span t-else=\"\">Order # </span>\n                <span t-field=\"doc.name\">SO0000</span>\n            </t>\n\n            <div class=\"row mb-4\" id=\"informations\">\n                <div t-if=\"doc.client_order_ref\" class=\"col\" name=\"informations_reference\">\n                    <strong>Your Reference</strong>\n                    <div t-field=\"doc.client_order_ref\">SO0000</div>\n                </div>\n                <div t-if=\"doc.date_order\" class=\"col\" name=\"informations_date\">\n                    <strong t-if=\"is_proforma\">Issued Date</strong>\n                    <strong t-elif=\"doc.state in ['draft', 'sent']\">Quotation Date</strong>\n                    <strong t-else=\"\">Order Date</strong>\n                    <div t-field=\"doc.date_order\" t-options=\"{&quot;widget&quot;: &quot;date&quot;}\">2023-12-31</div>\n                </div>\n                <div t-if=\"doc.validity_date and doc.state in ['draft', 'sent']\" class=\"col\" name=\"expiration_date\">\n                    <strong>Expiration</strong>\n                    <div t-field=\"doc.validity_date\">2023-12-31</div>\n                </div>\n                <div t-if=\"doc.user_id.name\" class=\"col\">\n                    <strong>Salesperson</strong>\n                    <div t-field=\"doc.user_id\">Mitchell Admin</div>\n                </div>\n            </div>\n\n            <!-- Is there a discount on at least one line? -->\n            <t t-set=\"lines_to_report\" t-value=\"doc._get_order_lines_to_report()\"/>\n            <t t-set=\"display_discount\" t-value=\"any(l.discount for l in lines_to_report)\"/>\n\n            <div class=\"oe_structure\"/>\n            <table class=\"o_has_total_table table o_main_table table-borderless\">\n                <!-- In case we want to repeat the header, remove \"display: table-row-group\" -->\n                <thead style=\"display: table-row-group\">\n                    <tr>\n                        <th name=\"th_description\" class=\"text-start\">Description</th>\n                        <th name=\"th_quantity\" class=\"text-end text-nowrap\">Quantity</th>\n                        <th name=\"th_priceunit\" class=\"text-end text-nowrap\">Unit Price</th>\n                        <th name=\"th_discount\" t-if=\"display_discount\" class=\"text-end\">\n                            <span>Disc.%</span>\n                        </th>\n                        <th name=\"th_taxes\" class=\"text-end\">Taxes</th>\n                        <th name=\"th_subtotal\" class=\"text-end\">\n                            <span>Amount</span>\n                        </th>\n                    </tr>\n                </thead>\n                <tbody class=\"sale_tbody\">\n\n                    <t t-set=\"current_subtotal\" t-value=\"0\"/>\n\n                    <t t-foreach=\"lines_to_report\" t-as=\"line\">\n\n                        <t t-set=\"current_subtotal\" t-value=\"current_subtotal + line.price_subtotal\"/>\n\n                        <tr t-att-class=\"'fw-bold o_line_section' if (                                 line.display_type == 'line_section'                                 or line.product_type == 'combo'                             )                             else 'fst-italic o_line_note' if line.display_type == 'line_note'                             else ''\">\n                            <t t-if=\"not line.display_type and line.product_type != 'combo'\">\n                                <td name=\"td_name\"><span t-field=\"line.name\">Bacon Burger</span></td>\n                                <td name=\"td_quantity\" class=\"o_td_quantity text-end\">\n                                    <span t-field=\"line.product_uom_qty\" class=\"text-nowrap\">3</span>\n                                    <span t-field=\"line.product_uom\">units</span>\n                                    <span t-if=\"line.product_packaging_id\">\n                                        (<span t-field=\"line.product_packaging_qty\" t-options=\"{&quot;widget&quot;: &quot;integer&quot;}\"/> <span t-field=\"line.product_packaging_id\"/>)\n                                    </span>\n                                </td>\n                                <td name=\"td_priceunit\" class=\"text-end text-nowrap\">\n                                    <span t-field=\"line.price_unit\">3</span>\n                                </td>\n                                <td t-if=\"display_discount\" class=\"text-end\">\n                                    <span t-field=\"line.discount\">-</span>\n                                </td>\n                                <t t-set=\"taxes\" t-value=\"', '.join([(tax.invoice_label or tax.name) for tax in line.tax_id])\"/>\n                                <td name=\"td_taxes\" t-attf-class=\"text-end {{ 'text-nowrap' if len(taxes) &lt; 10 else '' }}\">\n                                    <span t-out=\"taxes\">Tax 15%</span>\n                                </td>\n                                <td t-if=\"not line.is_downpayment\" name=\"td_subtotal\" class=\"text-end o_price_total\">\n                                    <span t-field=\"line.price_subtotal\">27.00</span>\n                                </td>\n                            </t>\n                            <t t-elif=\"line.display_type == 'line_section' or line.product_type == 'combo'\">\n                                <td name=\"td_section_line\" colspan=\"99\">\n                                    <span t-field=\"line.name\">A section title</span>\n                                </td>\n                                <t t-set=\"current_section\" t-value=\"line\"/>\n                                <t t-set=\"current_subtotal\" t-value=\"0\"/>\n                            </t>\n                            <t t-elif=\"line.display_type == 'line_note'\">\n                                <td name=\"td_note_line\" colspan=\"99\">\n                                    <span t-field=\"line.name\">A note, whose content usually applies to the section or product above.</span>\n                                </td>\n                            </t>\n                        </tr>\n\n                        <t t-if=\"current_section and (                                 line_last                                 or lines_to_report[line_index+1].display_type == 'line_section'                                 or lines_to_report[line_index+1].product_type == 'combo'                                 or (                                     line.combo_item_id                                     and not lines_to_report[line_index+1].combo_item_id                                 )                             ) and not line.is_downpayment\">\n                            <t t-set=\"current_section\" t-value=\"None\"/>\n                            <tr class=\"is-subtotal text-end\">\n                                <td name=\"td_section_subtotal\" colspan=\"99\">\n                                    <strong class=\"mr16\">Subtotal</strong>\n                                    <span t-out=\"current_subtotal\" t-options=\"{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: doc.currency_id}\">31.05</span>\n                                </td>\n                            </tr>\n                        </t>\n                    </t>\n                </tbody>\n            </table>\n            <div class=\"clearfix\" name=\"so_total_summary\">\n                <div id=\"total\" class=\"row mt-n3\" name=\"total\">\n                    <div t-attf-class=\"#{'col-6' if report_type != 'html' else 'col-sm-7 col-md-6'} ms-auto\">\n                        <table class=\"o_total_table table table-borderless\">\n                            <!-- Tax totals -->\n                            <t t-call=\"sale.document_tax_totals\">\n                                <t t-set=\"tax_totals\" t-value=\"doc.tax_totals\"/>\n                                <t t-set=\"currency\" t-value=\"doc.currency_id\"/>\n                            </t>\n                        </table>\n                    </div>\n                </div>\n            </div>\n            <div class=\"oe_structure\"/>\n\n            <div t-if=\"not doc.signature\" class=\"oe_structure\"/>\n            <div t-else=\"\" class=\"mt-4 ml64 mr4\" name=\"signature\">\n                <div class=\"offset-8\">\n                    <strong>Signature</strong>\n                </div>\n                <div class=\"offset-8\">\n                    <img t-att-src=\"image_data_uri(doc.signature)\" style=\"max-height: 4cm; max-width: 8cm;\"/>\n                </div>\n                <div class=\"offset-8 text-center\">\n                    <span t-field=\"doc.signed_by\">Oscar Morgan</span>\n                </div>\n            </div>\n            <div>\n                <span t-field=\"doc.note\" t-attf-style=\"#{'text-align:justify;text-justify:inter-word;' if doc.company_id.terms_type != 'html' else ''}\" name=\"order_note\"/>\n                <p t-if=\"not is_html_empty(doc.payment_term_id.note)\">\n                    <span t-field=\"doc.payment_term_id.note\">The payment should also be transmitted with love</span>\n                </p>\n                <div class=\"oe_structure\"/>\n                <p t-if=\"doc.fiscal_position_id and not is_html_empty(doc.fiscal_position_id.sudo().note)\" id=\"fiscal_position_remark\">\n                    <strong>Fiscal Position Remark:</strong>\n                    <span t-field=\"doc.fiscal_position_id.sudo().note\">No further requirements for this payment</span>\n                </p>\n            </div>\n            <div class=\"oe_structure\"/>\n        </div>\n    </t>\n</t>", "es_ES": "<t t-name=\"sale.report_saleorder_document\">\n    <t t-call=\"web.external_layout\">\n        <t t-set=\"doc\" t-value=\"doc.with_context(lang=doc.partner_id.lang)\"/>\n        <t t-set=\"forced_vat\" t-value=\"doc.fiscal_position_id.foreign_vat\"/> <!-- So that it appears in the footer of the report instead of the company VAT if it's set -->\n        <t t-set=\"address\">\n            <div t-field=\"doc.partner_id\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;], &quot;no_marker&quot;: True}\"/>\n            <p t-if=\"doc.partner_id.vat\">\n                <t t-if=\"doc.company_id.account_fiscal_country_id.vat_label\" t-out=\"doc.company_id.account_fiscal_country_id.vat_label\"/>\n                <t t-else=\"\">NIF</t>: <span t-field=\"doc.partner_id.vat\"/>\n            </p>\n        </t>\n        <t t-if=\"doc.partner_shipping_id == doc.partner_invoice_id                              and doc.partner_invoice_id != doc.partner_id                              or doc.partner_shipping_id != doc.partner_invoice_id\">\n            <t t-set=\"information_block\">\n                <strong>\n                    <t t-if=\"doc.partner_shipping_id == doc.partner_invoice_id\">\n                        Dirección de facturación y envío\n                    </t>\n                    <t t-else=\"\">\n                        Dirección de facturación\n                    </t>\n                </strong>\n                <div t-field=\"doc.partner_invoice_id\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;, &quot;phone&quot;], &quot;no_marker&quot;: True, &quot;phone_icons&quot;: True}\"/>\n                <t t-if=\"doc.partner_shipping_id != doc.partner_invoice_id\">\n                    <strong class=\"d-block mt-3\">Dirección de envío</strong>\n                    <div t-field=\"doc.partner_shipping_id\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;, &quot;phone&quot;], &quot;no_marker&quot;: True, &quot;phone_icons&quot;: True}\"/>\n                </t>\n            </t>\n        </t>\n        <div class=\"page\">\n            <div class=\"oe_structure\"/>\n\n            <t t-set=\"is_proforma\" t-value=\"env.context.get('proforma', False) or is_pro_forma\"/>\n            <t t-set=\"layout_document_title\">\n                <span t-if=\"is_proforma\">Número de factura proforma </span>\n                <span t-elif=\"doc.state in ['draft','sent']\">Presupuesto #  </span>\n                <span t-else=\"\">Pedido nº  </span>\n                <span t-field=\"doc.name\">SO0000</span>\n            </t>\n\n            <div class=\"row mb-4\" id=\"informations\">\n                <div t-if=\"doc.client_order_ref\" class=\"col\" name=\"informations_reference\">\n                    <strong>Su referencia</strong>\n                    <div t-field=\"doc.client_order_ref\">SO0000</div>\n                </div>\n                <div t-if=\"doc.date_order\" class=\"col\" name=\"informations_date\">\n                    <strong t-if=\"is_proforma\">Fecha de emisión</strong>\n                    <strong t-elif=\"doc.state in ['draft', 'sent']\">Fecha del presupuesto</strong>\n                    <strong t-else=\"\">Fecha de pedido</strong>\n                    <div t-field=\"doc.date_order\" t-options=\"{&quot;widget&quot;: &quot;date&quot;}\">31-12-2023 </div>\n                </div>\n                <div t-if=\"doc.validity_date and doc.state in ['draft', 'sent']\" class=\"col\" name=\"expiration_date\">\n                    <strong>Vencimiento</strong>\n                    <div t-field=\"doc.validity_date\">31-12-2023 </div>\n                </div>\n                <div t-if=\"doc.user_id.name\" class=\"col\">\n                    <strong>Comercial</strong>\n                    <div t-field=\"doc.user_id\">Mitchell Admin</div>\n                </div>\n            </div>\n\n            <!-- Is there a discount on at least one line? -->\n            <t t-set=\"lines_to_report\" t-value=\"doc._get_order_lines_to_report()\"/>\n            <t t-set=\"display_discount\" t-value=\"any(l.discount for l in lines_to_report)\"/>\n\n            <div class=\"oe_structure\"/>\n            <table class=\"o_has_total_table table o_main_table table-borderless\">\n                <!-- In case we want to repeat the header, remove \"display: table-row-group\" -->\n                <thead style=\"display: table-row-group\">\n                    <tr>\n                        <th name=\"th_description\" class=\"text-start\">Descripción</th>\n                        <th name=\"th_quantity\" class=\"text-end text-nowrap\">Cantidad</th>\n                        <th name=\"th_priceunit\" class=\"text-end text-nowrap\">Precio unitario</th>\n                        <th name=\"th_discount\" t-if=\"display_discount\" class=\"text-end\">\n                            <span>Desc.%</span>\n                        </th>\n                        <th name=\"th_taxes\" class=\"text-end\">Impuestos</th>\n                        <th name=\"th_subtotal\" class=\"text-end\">\n                            <span>Importe</span>\n                        </th>\n                    </tr>\n                </thead>\n                <tbody class=\"sale_tbody\">\n\n                    <t t-set=\"current_subtotal\" t-value=\"0\"/>\n\n                    <t t-foreach=\"lines_to_report\" t-as=\"line\">\n\n                        <t t-set=\"current_subtotal\" t-value=\"current_subtotal + line.price_subtotal\"/>\n\n                        <tr t-att-class=\"'fw-bold o_line_section' if (                                 line.display_type == 'line_section'                                 or line.product_type == 'combo'                             )                             else 'fst-italic o_line_note' if line.display_type == 'line_note'                             else ''\">\n                            <t t-if=\"not line.display_type and line.product_type != 'combo'\">\n                                <td name=\"td_name\"><span t-field=\"line.name\">Hamburguesa de tocino </span></td>\n                                <td name=\"td_quantity\" class=\"o_td_quantity text-end\">\n                                    <span t-field=\"line.product_uom_qty\" class=\"text-nowrap\">3</span>\n                                    <span t-field=\"line.product_uom\">unidades</span>\n                                    <span t-if=\"line.product_packaging_id\">\n                                        (<span t-field=\"line.product_packaging_qty\" t-options=\"{&quot;widget&quot;: &quot;integer&quot;}\"/> <span t-field=\"line.product_packaging_id\"/>)\n                                    </span>\n                                </td>\n                                <td name=\"td_priceunit\" class=\"text-end text-nowrap\">\n                                    <span t-field=\"line.price_unit\">3</span>\n                                </td>\n                                <td t-if=\"display_discount\" class=\"text-end\">\n                                    <span t-field=\"line.discount\">-</span>\n                                </td>\n                                <t t-set=\"taxes\" t-value=\"', '.join([(tax.invoice_label or tax.name) for tax in line.tax_id])\"/>\n                                <td name=\"td_taxes\" t-attf-class=\"text-end {{ 'text-nowrap' if len(taxes) &lt; 10 else '' }}\">\n                                    <span t-out=\"taxes\">Impuesto del 15 %</span>\n                                </td>\n                                <td t-if=\"not line.is_downpayment\" name=\"td_subtotal\" class=\"text-end o_price_total\">\n                                    <span t-field=\"line.price_subtotal\">27,00</span>\n                                </td>\n                            </t>\n                            <t t-elif=\"line.display_type == 'line_section' or line.product_type == 'combo'\">\n                                <td name=\"td_section_line\" colspan=\"99\">\n                                    <span t-field=\"line.name\">Un título de sección</span>\n                                </td>\n                                <t t-set=\"current_section\" t-value=\"line\"/>\n                                <t t-set=\"current_subtotal\" t-value=\"0\"/>\n                            </t>\n                            <t t-elif=\"line.display_type == 'line_note'\">\n                                <td name=\"td_note_line\" colspan=\"99\">\n                                    <span t-field=\"line.name\">Una nota, cuyo contenido generalmente aplica a la sección o el producto anterior.</span>\n                                </td>\n                            </t>\n                        </tr>\n\n                        <t t-if=\"current_section and (                                 line_last                                 or lines_to_report[line_index+1].display_type == 'line_section'                                 or lines_to_report[line_index+1].product_type == 'combo'                                 or (                                     line.combo_item_id                                     and not lines_to_report[line_index+1].combo_item_id                                 )                             ) and not line.is_downpayment\">\n                            <t t-set=\"current_section\" t-value=\"None\"/>\n                            <tr class=\"is-subtotal text-end\">\n                                <td name=\"td_section_subtotal\" colspan=\"99\">\n                                    <strong class=\"mr16\">Subtotal</strong>\n                                    <span t-out=\"current_subtotal\" t-options=\"{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: doc.currency_id}\">31,05</span>\n                                </td>\n                            </tr>\n                        </t>\n                    </t>\n                </tbody>\n            </table>\n            <div class=\"clearfix\" name=\"so_total_summary\">\n                <div id=\"total\" class=\"row mt-n3\" name=\"total\">\n                    <div t-attf-class=\"#{'col-6' if report_type != 'html' else 'col-sm-7 col-md-6'} ms-auto\">\n                        <table class=\"o_total_table table table-borderless\">\n                            <!-- Tax totals -->\n                            <t t-call=\"sale.document_tax_totals\">\n                                <t t-set=\"tax_totals\" t-value=\"doc.tax_totals\"/>\n                                <t t-set=\"currency\" t-value=\"doc.currency_id\"/>\n                            </t>\n                        </table>\n                    </div>\n                </div>\n            </div>\n            <div class=\"oe_structure\"/>\n\n            <div t-if=\"not doc.signature\" class=\"oe_structure\"/>\n            <div t-else=\"\" class=\"mt-4 ml64 mr4\" name=\"signature\">\n                <div class=\"offset-8\">\n                    <strong>Firma</strong>\n                </div>\n                <div class=\"offset-8\">\n                    <img t-att-src=\"image_data_uri(doc.signature)\" style=\"max-height: 4cm; max-width: 8cm;\"/>\n                </div>\n                <div class=\"offset-8 text-center\">\n                    <span t-field=\"doc.signed_by\">Oscar Morgan</span>\n                </div>\n            </div>\n            <div>\n                <span t-field=\"doc.note\" t-attf-style=\"#{'text-align:justify;text-justify:inter-word;' if doc.company_id.terms_type != 'html' else ''}\" name=\"order_note\"/>\n                <p t-if=\"not is_html_empty(doc.payment_term_id.note)\">\n                    <span t-field=\"doc.payment_term_id.note\">El pago también debe transmitirse con amor</span>\n                </p>\n                <div class=\"oe_structure\"/>\n                <p t-if=\"doc.fiscal_position_id and not is_html_empty(doc.fiscal_position_id.sudo().note)\" id=\"fiscal_position_remark\">\n                    <strong>Comentario sobre la posición fiscal:</strong>\n                    <span t-field=\"doc.fiscal_position_id.sudo().note\">No hay otro requisito para este pago</span>\n                </p>\n            </div>\n            <div class=\"oe_structure\"/>\n        </div>\n    </t>\n</t>", "pt_PT": "<t t-name=\"sale.report_saleorder_document\">\n    <t t-call=\"web.external_layout\">\n        <t t-set=\"doc\" t-value=\"doc.with_context(lang=doc.partner_id.lang)\"/>\n        <t t-set=\"forced_vat\" t-value=\"doc.fiscal_position_id.foreign_vat\"/> <!-- So that it appears in the footer of the report instead of the company VAT if it's set -->\n        <t t-set=\"address\">\n            <div t-field=\"doc.partner_id\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;], &quot;no_marker&quot;: True}\"/>\n            <p t-if=\"doc.partner_id.vat\">\n                <t t-if=\"doc.company_id.account_fiscal_country_id.vat_label\" t-out=\"doc.company_id.account_fiscal_country_id.vat_label\"/>\n                <t t-else=\"\">NIF</t>: <span t-field=\"doc.partner_id.vat\"/>\n            </p>\n        </t>\n        <t t-if=\"doc.partner_shipping_id == doc.partner_invoice_id                              and doc.partner_invoice_id != doc.partner_id                              or doc.partner_shipping_id != doc.partner_invoice_id\">\n            <t t-set=\"information_block\">\n                <strong>\n                    <t t-if=\"doc.partner_shipping_id == doc.partner_invoice_id\">\n                        Endereço de cobrança e entrega:\n                    </t>\n                    <t t-else=\"\">\n                        Endereço de Faturação\n                    </t>\n                </strong>\n                <div t-field=\"doc.partner_invoice_id\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;, &quot;phone&quot;], &quot;no_marker&quot;: True, &quot;phone_icons&quot;: True}\"/>\n                <t t-if=\"doc.partner_shipping_id != doc.partner_invoice_id\">\n                    <strong class=\"d-block mt-3\">Endereço de entrega</strong>\n                    <div t-field=\"doc.partner_shipping_id\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;, &quot;phone&quot;], &quot;no_marker&quot;: True, &quot;phone_icons&quot;: True}\"/>\n                </t>\n            </t>\n        </t>\n        <div class=\"page\">\n            <div class=\"oe_structure\"/>\n\n            <t t-set=\"is_proforma\" t-value=\"env.context.get('proforma', False) or is_pro_forma\"/>\n            <t t-set=\"layout_document_title\">\n                <span t-if=\"is_proforma\">Fatura pró-forma nº </span>\n                <span t-elif=\"doc.state in ['draft','sent']\">Orçamento # </span>\n                <span t-else=\"\">Ordem # </span>\n                <span t-field=\"doc.name\">SO0000</span>\n            </t>\n\n            <div class=\"row mb-4\" id=\"informations\">\n                <div t-if=\"doc.client_order_ref\" class=\"col\" name=\"informations_reference\">\n                    <strong>Vossa Referência:</strong>\n                    <div t-field=\"doc.client_order_ref\">SO0000</div>\n                </div>\n                <div t-if=\"doc.date_order\" class=\"col\" name=\"informations_date\">\n                    <strong t-if=\"is_proforma\">Data de Emissão</strong>\n                    <strong t-elif=\"doc.state in ['draft', 'sent']\">Data do Orçamento</strong>\n                    <strong t-else=\"\">Data da Encomenda</strong>\n                    <div t-field=\"doc.date_order\" t-options=\"{&quot;widget&quot;: &quot;date&quot;}\">2023-12-31</div>\n                </div>\n                <div t-if=\"doc.validity_date and doc.state in ['draft', 'sent']\" class=\"col\" name=\"expiration_date\">\n                    <strong>Validade:</strong>\n                    <div t-field=\"doc.validity_date\">2023-12-31</div>\n                </div>\n                <div t-if=\"doc.user_id.name\" class=\"col\">\n                    <strong>Vendedor</strong>\n                    <div t-field=\"doc.user_id\">Michel Admin</div>\n                </div>\n            </div>\n\n            <!-- Is there a discount on at least one line? -->\n            <t t-set=\"lines_to_report\" t-value=\"doc._get_order_lines_to_report()\"/>\n            <t t-set=\"display_discount\" t-value=\"any(l.discount for l in lines_to_report)\"/>\n\n            <div class=\"oe_structure\"/>\n            <table class=\"o_has_total_table table o_main_table table-borderless\">\n                <!-- In case we want to repeat the header, remove \"display: table-row-group\" -->\n                <thead style=\"display: table-row-group\">\n                    <tr>\n                        <th name=\"th_description\" class=\"text-start\">Descrição</th>\n                        <th name=\"th_quantity\" class=\"text-end text-nowrap\">Quantidade</th>\n                        <th name=\"th_priceunit\" class=\"text-end text-nowrap\">Preço Unitário</th>\n                        <th name=\"th_discount\" t-if=\"display_discount\" class=\"text-end\">\n                            <span>Desc.%</span>\n                        </th>\n                        <th name=\"th_taxes\" class=\"text-end\">Impostos</th>\n                        <th name=\"th_subtotal\" class=\"text-end\">\n                            <span>Montante</span>\n                        </th>\n                    </tr>\n                </thead>\n                <tbody class=\"sale_tbody\">\n\n                    <t t-set=\"current_subtotal\" t-value=\"0\"/>\n\n                    <t t-foreach=\"lines_to_report\" t-as=\"line\">\n\n                        <t t-set=\"current_subtotal\" t-value=\"current_subtotal + line.price_subtotal\"/>\n\n                        <tr t-att-class=\"'fw-bold o_line_section' if (                                 line.display_type == 'line_section'                                 or line.product_type == 'combo'                             )                             else 'fst-italic o_line_note' if line.display_type == 'line_note'                             else ''\">\n                            <t t-if=\"not line.display_type and line.product_type != 'combo'\">\n                                <td name=\"td_name\"><span t-field=\"line.name\">Hambúrguer de bacon</span></td>\n                                <td name=\"td_quantity\" class=\"o_td_quantity text-end\">\n                                    <span t-field=\"line.product_uom_qty\" class=\"text-nowrap\">3</span>\n                                    <span t-field=\"line.product_uom\">unidades</span>\n                                    <span t-if=\"line.product_packaging_id\">\n                                        (<span t-field=\"line.product_packaging_qty\" t-options=\"{&quot;widget&quot;: &quot;integer&quot;}\"/> <span t-field=\"line.product_packaging_id\"/>)\n                                    </span>\n                                </td>\n                                <td name=\"td_priceunit\" class=\"text-end text-nowrap\">\n                                    <span t-field=\"line.price_unit\">3</span>\n                                </td>\n                                <td t-if=\"display_discount\" class=\"text-end\">\n                                    <span t-field=\"line.discount\">-</span>\n                                </td>\n                                <t t-set=\"taxes\" t-value=\"', '.join([(tax.invoice_label or tax.name) for tax in line.tax_id])\"/>\n                                <td name=\"td_taxes\" t-attf-class=\"text-end {{ 'text-nowrap' if len(taxes) &lt; 10 else '' }}\">\n                                    <span t-out=\"taxes\">Imposto de 15%</span>\n                                </td>\n                                <td t-if=\"not line.is_downpayment\" name=\"td_subtotal\" class=\"text-end o_price_total\">\n                                    <span t-field=\"line.price_subtotal\">27.00</span>\n                                </td>\n                            </t>\n                            <t t-elif=\"line.display_type == 'line_section' or line.product_type == 'combo'\">\n                                <td name=\"td_section_line\" colspan=\"99\">\n                                    <span t-field=\"line.name\">Um título de seção</span>\n                                </td>\n                                <t t-set=\"current_section\" t-value=\"line\"/>\n                                <t t-set=\"current_subtotal\" t-value=\"0\"/>\n                            </t>\n                            <t t-elif=\"line.display_type == 'line_note'\">\n                                <td name=\"td_note_line\" colspan=\"99\">\n                                    <span t-field=\"line.name\">Uma anotação cujo conteúdo se aplica à seção ou artigo acima.</span>\n                                </td>\n                            </t>\n                        </tr>\n\n                        <t t-if=\"current_section and (                                 line_last                                 or lines_to_report[line_index+1].display_type == 'line_section'                                 or lines_to_report[line_index+1].product_type == 'combo'                                 or (                                     line.combo_item_id                                     and not lines_to_report[line_index+1].combo_item_id                                 )                             ) and not line.is_downpayment\">\n                            <t t-set=\"current_section\" t-value=\"None\"/>\n                            <tr class=\"is-subtotal text-end\">\n                                <td name=\"td_section_subtotal\" colspan=\"99\">\n                                    <strong class=\"mr16\">Subtotal </strong>\n                                    <span t-out=\"current_subtotal\" t-options=\"{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: doc.currency_id}\">31.05</span>\n                                </td>\n                            </tr>\n                        </t>\n                    </t>\n                </tbody>\n            </table>\n            <div class=\"clearfix\" name=\"so_total_summary\">\n                <div id=\"total\" class=\"row mt-n3\" name=\"total\">\n                    <div t-attf-class=\"#{'col-6' if report_type != 'html' else 'col-sm-7 col-md-6'} ms-auto\">\n                        <table class=\"o_total_table table table-borderless\">\n                            <!-- Tax totals -->\n                            <t t-call=\"sale.document_tax_totals\">\n                                <t t-set=\"tax_totals\" t-value=\"doc.tax_totals\"/>\n                                <t t-set=\"currency\" t-value=\"doc.currency_id\"/>\n                            </t>\n                        </table>\n                    </div>\n                </div>\n            </div>\n            <div class=\"oe_structure\"/>\n\n            <div t-if=\"not doc.signature\" class=\"oe_structure\"/>\n            <div t-else=\"\" class=\"mt-4 ml64 mr4\" name=\"signature\">\n                <div class=\"offset-8\">\n                    <strong>Assinatura</strong>\n                </div>\n                <div class=\"offset-8\">\n                    <img t-att-src=\"image_data_uri(doc.signature)\" style=\"max-height: 4cm; max-width: 8cm;\"/>\n                </div>\n                <div class=\"offset-8 text-center\">\n                    <span t-field=\"doc.signed_by\">Oscar Moreno</span>\n                </div>\n            </div>\n            <div>\n                <span t-field=\"doc.note\" t-attf-style=\"#{'text-align:justify;text-justify:inter-word;' if doc.company_id.terms_type != 'html' else ''}\" name=\"order_note\"/>\n                <p t-if=\"not is_html_empty(doc.payment_term_id.note)\">\n                    <span t-field=\"doc.payment_term_id.note\">O pagamento também deve ser transmitido com amor</span>\n                </p>\n                <div class=\"oe_structure\"/>\n                <p t-if=\"doc.fiscal_position_id and not is_html_empty(doc.fiscal_position_id.sudo().note)\" id=\"fiscal_position_remark\">\n                    <strong>Comentário da Posição Fiscal:</strong>\n                    <span t-field=\"doc.fiscal_position_id.sudo().note\">Sem mais requisitos para este pagamento</span>\n                </p>\n            </div>\n            <div class=\"oe_structure\"/>\n        </div>\n    </t>\n</t>"}