{"en_US": "<data name=\"Invoice/Bill\" inherit_id=\"portal.portal_sidebar\" primary=\"True\">\n        <xpath expr=\"//div[hasclass('o_portal_sidebar')]\" position=\"inside\">\n            <t t-set=\"o_portal_fullwidth_alert\" groups=\"sales_team.group_sale_salesman,account.group_account_invoice,account.group_account_readonly\">\n                <t t-call=\"portal.portal_back_in_edit_mode\">\n                    <t t-set=\"backend_url\" t-value=\"'/odoo/action-account.action_move_out_invoice_type/%s' % invoice.id\"/>\n                </t>\n            </t>\n\n            <div class=\"row o_portal_invoice_sidebar\">\n                <!-- Sidebar -->\n                <t t-call=\"portal.portal_record_sidebar\">\n                    <t t-set=\"classes\" t-value=\"'col-lg-4 col-xxl-3 d-print-none'\"/>\n                    <t t-set=\"title\">\n                        <h2 class=\"mb-0 text-break mx-auto\">\n                            <span t-field=\"invoice.amount_total\"/>\n                        </h2>\n                        <div class=\"my-1 w-100\" t-if=\"payment_state in ('not_paid', 'partial')\">\n                            <div class=\"alert alert-success px-2 py-1 text-center mb-2\" t-if=\"payment_state == 'partial'\">\n                                Already Paid: <span t-out=\"amount_paid\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                            </div>\n                            <div t-if=\"payment_state == 'partial'\" class=\"alert alert-warning px-2 py-1 text-center mb-2\">\n                                Left to Pay:\n                                <span t-out=\"amount_due\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                                <div t-if=\"installment_state and is_last_installment\" class=\"w-100 mt-2\">\n                                    <i class=\"fa fa-clock-o\"/>\n                                    <span class=\"o_portal_sidebar_timeago\" t-att-datetime=\"due_date\"/>\n                                </div>\n                            </div>\n                            <div t-if=\"installment_state == 'epd' and epd_discount_amount_currency\" class=\"alert alert-warning px-2 py-1 text-center mb-2\">\n                                <t t-out=\"epd_discount_msg\"/>\n                            </div>\n                        </div>\n                        <t t-if=\"installment_state in ('next', 'overdue') and not is_last_installment and amount_due != 0.0 and payment_state != 'in_payment'\">\n                            <h5 name=\"installment_title\" class=\"w-100 text-center mb-0\">\n                                <t t-if=\"installment_state == 'next'\">Next Installment</t>\n                                <t t-elif=\"installment_state == 'overdue'\">Overdue</t>\n                            </h5>\n                            <h4 name=\"installment_amount\" class=\"mb-0 text-break w-100 text-center\" t-out=\"next_amount_to_pay\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </t>\n                        <div class=\"small w-100 text-center\" t-if=\"payment_state in ('not_paid', 'partial') and not (is_last_installment and installment_state)\">\n                            <i class=\"fa fa-clock-o\"/>\n                            <span class=\"o_portal_sidebar_timeago ml4\" t-att-datetime=\"next_due_date\"/>\n                        </div>\n                    </t>\n\n                    <t t-set=\"entries\">\n                        <div class=\"d-flex flex-column gap-4 mt-3\">\n                            <div class=\"d-flex flex-column gap-2\">\n                                <div class=\"o_download_pdf d-flex flex-lg-column flex-xl-row flex-wrap gap-2\">\n                                    <a class=\"btn btn-light o_download_btn flex-grow-1\" t-att-href=\"invoice.get_portal_url(report_type='pdf', download=True)\" title=\"Download\" role=\"button\">\n                                        <i class=\"fa fa-download\"/> Download\n                                    </a>\n                                </div>\n                            </div>\n                            <div t-if=\"invoice.invoice_user_id\" class=\"flex-grow-1\">\n                                <h6>\n                                    <small class=\"text-muted\">\n                                        <t t-if=\"invoice.move_type == 'out_invoice'\">\n                                            Salesperson\n                                        </t>\n                                        <t t-if=\"invoice.move_type == 'in_invoice'\">\n                                            Purchase Representative\n                                        </t>\n                                    </small>\n                                </h6>\n                                <t t-call=\"portal.portal_my_contact\">\n                                    <t t-set=\"_contactAvatar\" t-value=\"image_data_uri(invoice.invoice_user_id.avatar_128)\"/>\n                                    <t t-set=\"_contactName\" t-value=\"invoice.invoice_user_id.name\"/>\n                                    <t t-set=\"_contactLink\" t-value=\"True\"/>\n                                    <div t-field=\"invoice.invoice_user_id\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;city&quot;, &quot;phone&quot;]}\"/>\n                                </t>\n                            </div>\n                        </div>\n                    </t>\n                </t>\n\n                <!-- Page Content -->\n                <div id=\"invoice_content\" class=\"o_portal_content col-12 col-lg-8 col-xxl-9\">\n                    <t t-if=\"error or warning\" t-call=\"account.portal_invoice_error\"/>\n                    <t t-if=\"success and (not error and not warning)\" t-call=\"account.portal_invoice_success\"/>\n\n                    <div class=\"o_portal_html_view position-relative bg-white shadow overflow-hidden\">\n                        <div class=\"o_portal_html_loader text-center\">\n                            <i class=\"fa fa-circle-o-notch fa-spin fa-2x fa-fw text-black-50\"/>\n                        </div>\n                        <iframe id=\"invoice_html\" class=\"position-relative d-block\" width=\"100%\" height=\"100%\" frameborder=\"0\" scrolling=\"no\" t-att-src=\"invoice.get_portal_url(report_type='html')\"/>\n                    </div>\n                    <!-- chatter -->\n                    <div id=\"invoice_communication\" class=\"mt-4\">\n                        <h3>Communication history</h3>\n                        <t t-call=\"portal.message_thread\"/>\n                    </div>\n                </div>\n            </div>\n        </xpath>\n    <xpath expr=\".\" position=\"attributes\"><attribute name=\"t-name\">account.portal_invoice_page</attribute></xpath></data>", "fr_FR": "<data name=\"Invoice/Bill\" inherit_id=\"portal.portal_sidebar\" primary=\"True\">\n        <xpath expr=\"//div[hasclass('o_portal_sidebar')]\" position=\"inside\">\n            <t t-set=\"o_portal_fullwidth_alert\" groups=\"sales_team.group_sale_salesman,account.group_account_invoice,account.group_account_readonly\">\n                <t t-call=\"portal.portal_back_in_edit_mode\">\n                    <t t-set=\"backend_url\" t-value=\"'/odoo/action-account.action_move_out_invoice_type/%s' % invoice.id\"/>\n                </t>\n            </t>\n\n            <div class=\"row o_portal_invoice_sidebar\">\n                <!-- Sidebar -->\n                <t t-call=\"portal.portal_record_sidebar\">\n                    <t t-set=\"classes\" t-value=\"'col-lg-4 col-xxl-3 d-print-none'\"/>\n                    <t t-set=\"title\">\n                        <h2 class=\"mb-0 text-break mx-auto\">\n                            <span t-field=\"invoice.amount_total\"/>\n                        </h2>\n                        <div class=\"my-1 w-100\" t-if=\"payment_state in ('not_paid', 'partial')\">\n                            <div class=\"alert alert-success px-2 py-1 text-center mb-2\" t-if=\"payment_state == 'partial'\">\n                                Déjà payé : <span t-out=\"amount_paid\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                            </div>\n                            <div t-if=\"payment_state == 'partial'\" class=\"alert alert-warning px-2 py-1 text-center mb-2\">\n                                À payer :\n                                <span t-out=\"amount_due\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                                <div t-if=\"installment_state and is_last_installment\" class=\"w-100 mt-2\">\n                                    <i class=\"fa fa-clock-o\"/>\n                                    <span class=\"o_portal_sidebar_timeago\" t-att-datetime=\"due_date\"/>\n                                </div>\n                            </div>\n                            <div t-if=\"installment_state == 'epd' and epd_discount_amount_currency\" class=\"alert alert-warning px-2 py-1 text-center mb-2\">\n                                <t t-out=\"epd_discount_msg\"/>\n                            </div>\n                        </div>\n                        <t t-if=\"installment_state in ('next', 'overdue') and not is_last_installment and amount_due != 0.0 and payment_state != 'in_payment'\">\n                            <h5 name=\"installment_title\" class=\"w-100 text-center mb-0\">\n                                <t t-if=\"installment_state == 'next'\">Versement suivant</t>\n                                <t t-elif=\"installment_state == 'overdue'\">En retard</t>\n                            </h5>\n                            <h4 name=\"installment_amount\" class=\"mb-0 text-break w-100 text-center\" t-out=\"next_amount_to_pay\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </t>\n                        <div class=\"small w-100 text-center\" t-if=\"payment_state in ('not_paid', 'partial') and not (is_last_installment and installment_state)\">\n                            <i class=\"fa fa-clock-o\"/>\n                            <span class=\"o_portal_sidebar_timeago ml4\" t-att-datetime=\"next_due_date\"/>\n                        </div>\n                    </t>\n\n                    <t t-set=\"entries\">\n                        <div class=\"d-flex flex-column gap-4 mt-3\">\n                            <div class=\"d-flex flex-column gap-2\">\n                                <div class=\"o_download_pdf d-flex flex-lg-column flex-xl-row flex-wrap gap-2\">\n                                    <a class=\"btn btn-light o_download_btn flex-grow-1\" t-att-href=\"invoice.get_portal_url(report_type='pdf', download=True)\" title=\"Télécharger\" role=\"button\">\n                                        <i class=\"fa fa-download\"/> Télécharger\n                                    </a>\n                                </div>\n                            </div>\n                            <div t-if=\"invoice.invoice_user_id\" class=\"flex-grow-1\">\n                                <h6>\n                                    <small class=\"text-muted\">\n                                        <t t-if=\"invoice.move_type == 'out_invoice'\">\n                                            Vendeur\n                                        </t>\n                                        <t t-if=\"invoice.move_type == 'in_invoice'\">\n                                            Responsable des achats\n                                        </t>\n                                    </small>\n                                </h6>\n                                <t t-call=\"portal.portal_my_contact\">\n                                    <t t-set=\"_contactAvatar\" t-value=\"image_data_uri(invoice.invoice_user_id.avatar_128)\"/>\n                                    <t t-set=\"_contactName\" t-value=\"invoice.invoice_user_id.name\"/>\n                                    <t t-set=\"_contactLink\" t-value=\"True\"/>\n                                    <div t-field=\"invoice.invoice_user_id\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;city&quot;, &quot;phone&quot;]}\"/>\n                                </t>\n                            </div>\n                        </div>\n                    </t>\n                </t>\n\n                <!-- Page Content -->\n                <div id=\"invoice_content\" class=\"o_portal_content col-12 col-lg-8 col-xxl-9\">\n                    <t t-if=\"error or warning\" t-call=\"account.portal_invoice_error\"/>\n                    <t t-if=\"success and (not error and not warning)\" t-call=\"account.portal_invoice_success\"/>\n\n                    <div class=\"o_portal_html_view position-relative bg-white shadow overflow-hidden\">\n                        <div class=\"o_portal_html_loader text-center\">\n                            <i class=\"fa fa-circle-o-notch fa-spin fa-2x fa-fw text-black-50\"/>\n                        </div>\n                        <iframe id=\"invoice_html\" class=\"position-relative d-block\" width=\"100%\" height=\"100%\" frameborder=\"0\" scrolling=\"no\" t-att-src=\"invoice.get_portal_url(report_type='html')\"/>\n                    </div>\n                    <!-- chatter -->\n                    <div id=\"invoice_communication\" class=\"mt-4\">\n                        <h3>Historique de la communication</h3>\n                        <t t-call=\"portal.message_thread\"/>\n                    </div>\n                </div>\n            </div>\n        </xpath>\n    <xpath expr=\".\" position=\"attributes\"><attribute name=\"t-name\">account.portal_invoice_page</attribute></xpath></data>"}