<commit_before><?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>

    <template id="quotations" name="Quotations">
        <h3 class="page-header">Your Quotes</h3>
        <t t-if="not quotations">
            <p>There are currently no quotes for your account.</p>
        </t>
        <t t-if="quotations">
            <div class="table-responsive">
                <table class="table table-hover o_my_status_table">
                    <thead>
                      <tr class="active">
                          <th>Quotation #</th>
                          <th>Total</th>
                        </tr>
                    </thead>
                    <t t-foreach="quotations" t-as="quotation">
                        <tr t-att-class="'hidden to_hide' if quotation.state!='sent' and quotation_index &gt; 4 else ''">
                            <td>
                                <a t-att-href="'/my/orders/'+str(quotation.id)">
                                    <t t-esc="quotation.name"/>
                                </a>
                            </td>
                            <td><span t-esc="quotation.amount_total"
                                      t-esc-options='{"widget": "monetary", "display_currency": "quotation.pricelist_id.currency_id"}'/>
                            </td>
                        </tr>
                    </t>
                    <tr t-att-class="'hidden' if len(quotations) &lt; 5 else ''">
                      <td colspan="5"><a href="" class="o_my_show_more btn btn-xs btn-default"><span>Show more</span><span class="hidden">Show less</span></a></td>
                    </tr>
                </table>
            </div>
        </t>
    </template>

    <template id="quotations_only" name="Quotations">
        <t t-call="website.layout">
            <div id="wrap">
                <div class="container mb64">
                    <t t-call="website_portal_sale.quotations"/>
                </div>
            </div>
        </t>
    </template>

    <template id="sale_orders" name="Sales Orders">
        <h3 class="page-header">Your Orders</h3>
        <t t-if="not orders">
            <p>There are currently no orders for your account.</p>
        </t>
        <t t-if="orders">
            <div class="table-responsive">
                <table class="table table-hover o_my_status_table">
                    <thead>
                      <tr class="active">
                        <th>Sale Order #</th>
                        <th>Confirmation Date</th>
                        <th></th>
                        <th>Total</th>
                      </tr>
                    </thead>
                    <t t-foreach="orders" t-as="order">
                        <tr t-att-class="'hidden to_hide' if order.state not in ['manual', 'progress'] and order_index &gt; 4 else ''">
                            <td>
                                <a t-att-href="'/my/orders/'+str(order.id)"><t t-esc="order.name"/></a>
                            </td>
                            <td><span t-field="order.date_confirm"/></td>
                            <td>
                                <t t-if="order.state == 'progress'">
                                    <span class="label label-info"><i class="fa fa-fw fa-clock-o"/> Invoiced</span>
                                </t>
                                <t t-if="order.state in ['shipping_except','invoice_except']">
                                    <span class="label label-danger"><i class="fa fa-fw fa-warning"/> Problem</span>
                                </t>
                                <t t-if="order.state == 'done'">
                                    <span class="label label-default"><i class="fa fa-fw fa-check"/> Done</span>
                                </t>
                            </td>
                            <td><span t-esc="order.amount_total" t-esc-options='{"widget": "monetary", "display_currency": "order.pricelist_id.currency_id"}'/></td>
                        </tr>
                    </t>
                    <tr t-att-class="'hidden' if len(orders) &lt; 5 else ''">
                      <td colspan="4"><a href="" class="o_my_show_more btn btn-xs btn-default"><span>Show more</span><span class="hidden">Show less</span></a></td>
                    </tr>
                </table>
            </div>
        </t>
    </template>

    <template id="sale_orders_only" name="Sale Orders">
        <t t-call="website.layout">
            <div id="wrap">
                <div class="container mb64">
                    <t t-call="website_portal_sale.sale_orders"/>
                </div>
            </div>
        </t>
    </template>

    <template id="invoices" name="Invoices and Payments">
        <h3 class="page-header">Your Invoices and Payments</h3>
        <t t-if="not invoices">
            <p>There are currently no invoices for your account.</p>
        </t>
        <t t-if="invoices">
            <div class="table-responsive">
                <table class="table table-hover o_my_status_table">
                    <thead>
                      <tr class="active">
                        <th>Invoice #</th>
                        <th>Invoice Date</th>
                        <th>Due Date</th>
                        <th></th>
                        <th>Total</th>
                      </tr>
                    </thead>
                    <t t-foreach="invoices" t-as="invoice">
                        <tr t-att-class="'hidden to_hide' if invoice.state!='open' and invoice_index &gt; 4 else ''">
                            <td>
                                <a t-att-href="'/report/pdf/account.report_invoice/'+str(invoice.id)"
                                   target="new"><t t-esc="invoice.number"/></a>
                            </td>
                            <td><span t-field="invoice.date_invoice"/></td>
                            <td><span t-field="invoice.date_due"/></td>
                            <td>
                                <t t-if="invoice.state == 'open'">
                                    <span class="label label-info"><i class="fa fa-fw fa-clock-o"/> Waiting for Payment</span>
                                </t>
                                <t t-if="invoice.state == 'paid'">
                                    <span class="label label-default"><i class="fa fa-fw fa-check"/> Paid</span>
                                </t>
                                <t t-if="invoice.state == 'cancel'">
                                    <span class="label label-default"><i class="fa fa-fw fa-remove"/> Cancelled</span>
                                </t>
                            </td>
                            <td><span t-esc="invoice.amount_total" t-esc-options='{"widget": "monetary", "display_currency": "invoice.currency_id"}'/></td>
                        </tr>
                    </t>
                    <tr t-att-class="'hidden' if len(invoices) &lt; 5 else ''">
                      <td colspan="5"><a href="" class="o_my_show_more btn btn-xs btn-default"><span>Show more</span><span class="hidden">Show less</span></a></td>
                    </tr>
                </table>
            </div>
        </t>
    </template>

    <template id="invoices_only" name="Invoices">
        <t t-call="website.layout">
            <div id="wrap">
                <div class="container mb64">
                    <t t-call="website_portal_sale.invoices"/>
                </div>
            </div>
        </t>
    </template>

    <template id="orders_followup" name="Sales Order">
      <t t-call="website.layout">
        <div id="wrap">
            <div class="container">
              <div class="oe_structure">
                <div class="row">
                    <div class="col-sm-4">
                        <ol class="breadcrumb mt8">
                            <li><a href="/my/home">My Account</a></li>
                            <li>
                              <t t-if="order.state == 'sent'">
                                  Quotation
                              </t>
                              <t t-if="order.state != 'sent'">
                                  Order
                              </t>
                              <t t-esc="order.name"/>
                            </li>
                        </ol>
                    </div>
                </div>
              </div>
              <div id="optional_placeholder"></div>
              <div class="container">
                  <div class="panel panel-default">
                    <div class="panel-heading">
                      <div class="row">
                        <div class="col-md-12">
                          <h4>
                            <t t-if="order.state == 'sent'">
                              Quotation
                            </t>
                            <t t-if="order.state != 'sent'">
                              Order
                            </t>
                            <span t-esc="order.name"/>
                          </h4>
                        </div>
                      </div>
                    </div>
                    <div class="panel-body">
                      <div class="mb8">
                          <strong>Date:</strong> <span t-field="order.create_date" t-field-options='{"widget": "date"}'/>
                      </div>
                      <div class='row'>
                        <div class="col-md-6">
                          <div>
                            <strong>Invoicing Address</strong>
                          </div>
                          <div>
                            <address t-field="order.partner_invoice_id" t-field-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": true}'/>
                          </div>
                          <t t-set="invoices" t-value="[i for i in order.invoice_ids if i.state not in ['draft', 'cancel']]"/>
                          <t t-if="invoices">
                            <div>
                              <strong>Invoices</strong>
                            </div>
                            <div>
                              <t t-foreach="invoices" t-as="i">
                                <t t-set="report_url" t-value="'/report/pdf/account.report_invoice/%s' % i.id"/>
                                <div>
                                  <a t-att-href="report_url"><span class="fa fa-download"/></a>
                                  <a t-att-href="report_url"><span t-esc="i.number"/></a>
                                  <span class="text-muted" t-field="i.date_invoice"/>
                                  <t t-if="i.state == 'paid'">
                                    <span class="label label-success orders_label_text_align"><i class="fa fa-fw fa-check"/> Paid</span>
                                  </t>
                                  <t t-if="i.state != 'paid'">
                                    <span class="label label-info orders_label_text_align"><i class="fa fa-fw fa-clock-o"/> Waiting</span>
                                  </t>
                                </div>
                              </t>
                            </div>
                          </t>
                        </div>
                        <div id="shipping_address" class="col-md-6">
                          <div>
                            <strong>Shipping Address</strong>
                          </div>
                          <div>
                            <address t-field="order.partner_shipping_id" t-field-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": true}'/>
                          </div>
                        </div>
                      </div>
                      <hr/>
                      <div class="row">
                        <div class="col-md-6">
                          <strong>Product</strong>
                        </div>
                        <div class="col-md-2 text-right">
                          <strong>Unit Price</strong>
                        </div>
                        <div class="col-md-2 text-right">
                          <strong>Quantity</strong>
                        </div>
                        <div class="col-md-2 text-right">
                          <strong>Subtotal</strong>
                        </div>
                      </div>
                      <t t-foreach="order.order_line" t-as="ol">
                        <div class="row orders_vertical_align">
                            <div class="col-md-1 text-center">
                                <img t-att-src="'/website/image/product.product/%s/image_small/48x48' % ol.product_id.id"/>
                            </div>
                            <div id='product_name' class="col-md-5">
                              <span t-field="ol.product_id"/>
                            </div>
                          <div class="col-md-2 text-right">
                            <span t-field="ol.price_unit" t-field-options='{"widget": "monetary", "display_currency": "order.pricelist_id.currency_id"}'/>
                          </div>
                          <div class="col-md-2 text-right">
                            <t t-if="ol._name == 'sale.order.line'">
                              <span t-esc="ol.product_uom_qty"/>
                            </t>
                            <t t-if="ol._name == 'account.invoice.line'">
                              <span t-esc="ol.quantity"/>
                            </t>
                          </div>
                          <div class="col-md-2 text-right">
                            <span t-field="ol.price_subtotal" t-field-options='{"widget": "monetary", "display_currency": "order.pricelist_id.currency_id"}'/>
                          </div>
                        </div>
                      </t>
                      <hr/>
                      <div class="row">
                        <div class="col-md-6">
                          <div>
                            <strong>Contact</strong>
                          </div>
                          <div t-if="contact['email']">
                            <i class="fa fa-envelope"/> <span t-esc="contact['email']"/>
                          </div>
                          <div t-if="contact['phone']">
                            <i class="fa fa-phone"/> <span t-esc="contact['phone']"/>
                          </div>
                        </div>
                        <div class="col-md-6">
                          <div class="row">
                            <div class="col-md-10 text-right">
                              Untaxed Amount:
                            </div>
                            <div class="col-md-2 text-right">
                              <span t-field="order.amount_untaxed" t-field-options='{"widget": "monetary", "display_currency": "order.pricelist_id.currency_id"}'/>
                            </div>
                          </div>
                          <div class="row">
                            <div class="col-md-10 text-right">
                              Taxes:
                            </div>
                            <div class="col-md-2 text-right">
                              <span t-field="order.amount_tax" t-field-options='{"widget": "monetary", "display_currency": "order.pricelist_id.currency_id"}'/>
                            </div>
                          </div>
                          <div class="row">
                            <div class="col-md-10 text-right">
                              <strong>Total:</strong>
                            </div>
                            <div class="col-md-2 text-right">
                              <strong><span t-field="order.amount_total" t-field-options='{"widget": "monetary", "display_currency": "order.pricelist_id.currency_id"}'/></strong>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
              </div>
              <div class="oe_structure mb32"/>
          </div>
        </div>
      </t>
    </template>

    <template id="sale_backend_link" inherit_id='website_portal_sale.sale_orders' customize_show="True" name="Link to Sales Backend" active="False">
        <xpath expr="//h3[@class='page-header']" position="inside">
            <a href="/web#action=portal_sale.action_orders_portal" target="_blank" class="btn btn-default btn-xs pull-right"> Access the complete Sale application</a>
        </xpath>
    </template>

    <template id="sales_backend_access" inherit_id='website_portal_sale.orders_followup' customize_show="True" name="Backend Access" active="False">
        <xpath expr="//div[@id='optional_placeholder']" position="inside">
            <h4 class="text-muted text-center mt64 mb64">
                If you wish to access the complete application to manage your orders, you can follow
                <a href="/web#action=portal_sale.action_orders_portal">this link</a>.
            </h4>
        </xpath>
    </template>

</data>
</openerp>
<commit_msg>[FIX] website_portal_sale: Remove class page-header.<commit_after><?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>

    <template id="quotations" name="Quotations">
        <h3 >Your Quotes</h3>
        <t t-if="not quotations">
            <p>There are currently no quotes for your account.</p>
        </t>
        <t t-if="quotations">
            <div class="table-responsive">
                <table class="table table-hover o_my_status_table">
                    <thead>
                      <tr class="active">
                          <th>Quotation #</th>
                          <th>Total</th>
                        </tr>
                    </thead>
                    <t t-foreach="quotations" t-as="quotation">
                        <tr t-att-class="'hidden to_hide' if quotation.state!='sent' and quotation_index &gt; 4 else ''">
                            <td>
                                <a t-att-href="'/my/orders/'+str(quotation.id)">
                                    <t t-esc="quotation.name"/>
                                </a>
                            </td>
                            <td><span t-esc="quotation.amount_total"
                                      t-esc-options='{"widget": "monetary", "display_currency": "quotation.pricelist_id.currency_id"}'/>
                            </td>
                        </tr>
                    </t>
                    <tr t-att-class="'hidden' if len(quotations) &lt; 5 else ''">
                      <td colspan="5"><a href="" class="o_my_show_more btn btn-xs btn-default"><span>Show more</span><span class="hidden">Show less</span></a></td>
                    </tr>
                </table>
            </div>
        </t>
    </template>

    <template id="quotations_only" name="Quotations">
        <t t-call="website.layout">
            <div id="wrap">
                <div class="container mb64">
                    <t t-call="website_portal_sale.quotations"/>
                </div>
            </div>
        </t>
    </template>

    <template id="sale_orders" name="Sales Orders">
        <h3 >Your Orders</h3>
        <t t-if="not orders">
            <p>There are currently no orders for your account.</p>
        </t>
        <t t-if="orders">
            <div class="table-responsive">
                <table class="table table-hover o_my_status_table">
                    <thead>
                      <tr class="active">
                        <th>Sale Order #</th>
                        <th>Confirmation Date</th>
                        <th></th>
                        <th>Total</th>
                      </tr>
                    </thead>
                    <t t-foreach="orders" t-as="order">
                        <tr t-att-class="'hidden to_hide' if order.state not in ['manual', 'progress'] and order_index &gt; 4 else ''">
                            <td>
                                <a t-att-href="'/my/orders/'+str(order.id)"><t t-esc="order.name"/></a>
                            </td>
                            <td><span t-field="order.date_confirm"/></td>
                            <td>
                                <t t-if="order.state == 'progress'">
                                    <span class="label label-info"><i class="fa fa-fw fa-clock-o"/> Invoiced</span>
                                </t>
                                <t t-if="order.state in ['shipping_except','invoice_except']">
                                    <span class="label label-danger"><i class="fa fa-fw fa-warning"/> Problem</span>
                                </t>
                                <t t-if="order.state == 'done'">
                                    <span class="label label-default"><i class="fa fa-fw fa-check"/> Done</span>
                                </t>
                            </td>
                            <td><span t-esc="order.amount_total" t-esc-options='{"widget": "monetary", "display_currency": "order.pricelist_id.currency_id"}'/></td>
                        </tr>
                    </t>
                    <tr t-att-class="'hidden' if len(orders) &lt; 5 else ''">
                      <td colspan="4"><a href="" class="o_my_show_more btn btn-xs btn-default"><span>Show more</span><span class="hidden">Show less</span></a></td>
                    </tr>
                </table>
            </div>
        </t>
    </template>

    <template id="sale_orders_only" name="Sale Orders">
        <t t-call="website.layout">
            <div id="wrap">
                <div class="container mb64">
                    <t t-call="website_portal_sale.sale_orders"/>
                </div>
            </div>
        </t>
    </template>

    <template id="invoices" name="Invoices and Payments">
        <h3 >Your Invoices and Payments</h3>
        <t t-if="not invoices">
            <p>There are currently no invoices for your account.</p>
        </t>
        <t t-if="invoices">
            <div class="table-responsive">
                <table class="table table-hover o_my_status_table">
                    <thead>
                      <tr class="active">
                        <th>Invoice #</th>
                        <th>Invoice Date</th>
                        <th>Due Date</th>
                        <th></th>
                        <th>Total</th>
                      </tr>
                    </thead>
                    <t t-foreach="invoices" t-as="invoice">
                        <tr t-att-class="'hidden to_hide' if invoice.state!='open' and invoice_index &gt; 4 else ''">
                            <td>
                                <a t-att-href="'/report/pdf/account.report_invoice/'+str(invoice.id)"
                                   target="new"><t t-esc="invoice.number"/></a>
                            </td>
                            <td><span t-field="invoice.date_invoice"/></td>
                            <td><span t-field="invoice.date_due"/></td>
                            <td>
                                <t t-if="invoice.state == 'open'">
                                    <span class="label label-info"><i class="fa fa-fw fa-clock-o"/> Waiting for Payment</span>
                                </t>
                                <t t-if="invoice.state == 'paid'">
                                    <span class="label label-default"><i class="fa fa-fw fa-check"/> Paid</span>
                                </t>
                                <t t-if="invoice.state == 'cancel'">
                                    <span class="label label-default"><i class="fa fa-fw fa-remove"/> Cancelled</span>
                                </t>
                            </td>
                            <td><span t-esc="invoice.amount_total" t-esc-options='{"widget": "monetary", "display_currency": "invoice.currency_id"}'/></td>
                        </tr>
                    </t>
                    <tr t-att-class="'hidden' if len(invoices) &lt; 5 else ''">
                      <td colspan="5"><a href="" class="o_my_show_more btn btn-xs btn-default"><span>Show more</span><span class="hidden">Show less</span></a></td>
                    </tr>
                </table>
            </div>
        </t>
    </template>

    <template id="invoices_only" name="Invoices">
        <t t-call="website.layout">
            <div id="wrap">
                <div class="container mb64">
                    <t t-call="website_portal_sale.invoices"/>
                </div>
            </div>
        </t>
    </template>

    <template id="orders_followup" name="Sales Order">
      <t t-call="website.layout">
        <div id="wrap">
            <div class="container">
              <div class="oe_structure">
                <div class="row">
                    <div class="col-sm-4">
                        <ol class="breadcrumb mt8">
                            <li><a href="/my/home">My Account</a></li>
                            <li>
                              <t t-if="order.state == 'sent'">
                                  Quotation
                              </t>
                              <t t-if="order.state != 'sent'">
                                  Order
                              </t>
                              <t t-esc="order.name"/>
                            </li>
                        </ol>
                    </div>
                </div>
              </div>
              <div id="optional_placeholder"></div>
              <div class="container">
                  <div class="panel panel-default">
                    <div class="panel-heading">
                      <div class="row">
                        <div class="col-md-12">
                          <h4>
                            <t t-if="order.state == 'sent'">
                              Quotation
                            </t>
                            <t t-if="order.state != 'sent'">
                              Order
                            </t>
                            <span t-esc="order.name"/>
                          </h4>
                        </div>
                      </div>
                    </div>
                    <div class="panel-body">
                      <div class="mb8">
                          <strong>Date:</strong> <span t-field="order.create_date" t-field-options='{"widget": "date"}'/>
                      </div>
                      <div class='row'>
                        <div class="col-md-6">
                          <div>
                            <strong>Invoicing Address</strong>
                          </div>
                          <div>
                            <address t-field="order.partner_invoice_id" t-field-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": true}'/>
                          </div>
                          <t t-set="invoices" t-value="[i for i in order.invoice_ids if i.state not in ['draft', 'cancel']]"/>
                          <t t-if="invoices">
                            <div>
                              <strong>Invoices</strong>
                            </div>
                            <div>
                              <t t-foreach="invoices" t-as="i">
                                <t t-set="report_url" t-value="'/report/pdf/account.report_invoice/%s' % i.id"/>
                                <div>
                                  <a t-att-href="report_url"><span class="fa fa-download"/></a>
                                  <a t-att-href="report_url"><span t-esc="i.number"/></a>
                                  <span class="text-muted" t-field="i.date_invoice"/>
                                  <t t-if="i.state == 'paid'">
                                    <span class="label label-success orders_label_text_align"><i class="fa fa-fw fa-check"/> Paid</span>
                                  </t>
                                  <t t-if="i.state != 'paid'">
                                    <span class="label label-info orders_label_text_align"><i class="fa fa-fw fa-clock-o"/> Waiting</span>
                                  </t>
                                </div>
                              </t>
                            </div>
                          </t>
                        </div>
                        <div id="shipping_address" class="col-md-6">
                          <div>
                            <strong>Shipping Address</strong>
                          </div>
                          <div>
                            <address t-field="order.partner_shipping_id" t-field-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": true}'/>
                          </div>
                        </div>
                      </div>
                      <hr/>
                      <div class="row">
                        <div class="col-md-6">
                          <strong>Product</strong>
                        </div>
                        <div class="col-md-2 text-right">
                          <strong>Unit Price</strong>
                        </div>
                        <div class="col-md-2 text-right">
                          <strong>Quantity</strong>
                        </div>
                        <div class="col-md-2 text-right">
                          <strong>Subtotal</strong>
                        </div>
                      </div>
                      <t t-foreach="order.order_line" t-as="ol">
                        <div class="row orders_vertical_align">
                            <div class="col-md-1 text-center">
                                <img t-att-src="'/website/image/product.product/%s/image_small/48x48' % ol.product_id.id"/>
                            </div>
                            <div id='product_name' class="col-md-5">
                              <span t-field="ol.product_id"/>
                            </div>
                          <div class="col-md-2 text-right">
                            <span t-field="ol.price_unit" t-field-options='{"widget": "monetary", "display_currency": "order.pricelist_id.currency_id"}'/>
                          </div>
                          <div class="col-md-2 text-right">
                            <t t-if="ol._name == 'sale.order.line'">
                              <span t-esc="ol.product_uom_qty"/>
                            </t>
                            <t t-if="ol._name == 'account.invoice.line'">
                              <span t-esc="ol.quantity"/>
                            </t>
                          </div>
                          <div class="col-md-2 text-right">
                            <span t-field="ol.price_subtotal" t-field-options='{"widget": "monetary", "display_currency": "order.pricelist_id.currency_id"}'/>
                          </div>
                        </div>
                      </t>
                      <hr/>
                      <div class="row">
                        <div class="col-md-6">
                          <div>
                            <strong>Contact</strong>
                          </div>
                          <div t-if="contact['email']">
                            <i class="fa fa-envelope"/> <span t-esc="contact['email']"/>
                          </div>
                          <div t-if="contact['phone']">
                            <i class="fa fa-phone"/> <span t-esc="contact['phone']"/>
                          </div>
                        </div>
                        <div class="col-md-6">
                          <div class="row">
                            <div class="col-md-10 text-right">
                              Untaxed Amount:
                            </div>
                            <div class="col-md-2 text-right">
                              <span t-field="order.amount_untaxed" t-field-options='{"widget": "monetary", "display_currency": "order.pricelist_id.currency_id"}'/>
                            </div>
                          </div>
                          <div class="row">
                            <div class="col-md-10 text-right">
                              Taxes:
                            </div>
                            <div class="col-md-2 text-right">
                              <span t-field="order.amount_tax" t-field-options='{"widget": "monetary", "display_currency": "order.pricelist_id.currency_id"}'/>
                            </div>
                          </div>
                          <div class="row">
                            <div class="col-md-10 text-right">
                              <strong>Total:</strong>
                            </div>
                            <div class="col-md-2 text-right">
                              <strong><span t-field="order.amount_total" t-field-options='{"widget": "monetary", "display_currency": "order.pricelist_id.currency_id"}'/></strong>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
              </div>
              <div class="oe_structure mb32"/>
          </div>
        </div>
      </t>
    </template>

    <template id="sale_backend_link" inherit_id='website_portal_sale.sale_orders' customize_show="True" name="Link to Sales Backend" active="False">
        <xpath expr="//h3[@class='page-header']" position="inside">
            <a href="/web#action=portal_sale.action_orders_portal" target="_blank" class="btn btn-default btn-xs pull-right"> Access the complete Sale application</a>
        </xpath>
    </template>

    <template id="sales_backend_access" inherit_id='website_portal_sale.orders_followup' customize_show="True" name="Backend Access" active="False">
        <xpath expr="//div[@id='optional_placeholder']" position="inside">
            <h4 class="text-muted text-center mt64 mb64">
                If you wish to access the complete application to manage your orders, you can follow
                <a href="/web#action=portal_sale.action_orders_portal">this link</a>.
            </h4>
        </xpath>
    </template>

</data>
</openerp>

{'fraction_non_alphanumeric': 0.1405537929045284, 'fraction_numerical': 0.003807326218632824, 'mean_word_length': 0.9677071509648127, 'pattern_counts': {'":': 46, '<': 849, '<?xml version=': 2, '>': 849, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 70, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3014580', 'n_tokens_mistral': 9288, 'n_tokens_neox': 8762, 'n_words': 1654}