Debian Codegraph @

addons/point_of_sale/views/report_saledetails.xml

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <odoo>
3 <data>
4 <template id="pos_daily_sales_report_layout" name="Daily Sales Report layout">&lt;!DOCTYPE html&gt;
5 <html t-att-lang="lang and lang.replace('_', '-')"
6 t-att-data-report-margin-top="8"
7 t-att-data-report-margin-bottom="8"
8 t-att-data-report-header-spacing="data_report_header_spacing"
9 t-att-data-report-dpi="data_report_dpi"
10 t-att-data-report-landscape="data_report_landscape"
11 t-att-web-base-url="web_base_url">
12 <head>
13 <meta charset="utf-8"/>
14 <meta name="viewport" content="initial-scale=1"/>
15 <title><t t-esc="title or 'Odoo Report'"/></title>
16 <t t-call-assets="web.report_assets_common" t-autoprefix="true"/>
17 <script type="text/javascript">
18 document.addEventListener('DOMContentLoaded', () => {
19 if (window.self !== window.top) {
20 document.body.classList.add("o_in_iframe", "container-fluid");
21 document.body.classList.remove("container");
22 }
23 });
24 </script>
25 </head>
26 <body t-attf-class="o_body_html {{'container' if not full_width else 'container-fluid'}} overflow-x-hidden" t-att-dir="env['res.lang']._get_data(code=lang or env.user.lang).direction or 'ltr'">
27 <div id="wrapwrap">
28 <main>
29 <t t-out="0"/>
30 </main>
31 </div>
32 </body>
33 </html>
34 </template>
35
36 <template id="pos_daily_sales_html_container">
37 <t t-call="point_of_sale.pos_daily_sales_report_layout">
38 <t t-out="0"/>
39 </t>
40 </template>
41
42 <template id="report_saledetails">
43 <t t-set="company" t-value="env.company"/>
44 <t t-call="point_of_sale.pos_daily_sales_html_container">
45 <t t-call="web.basic_layout">
46 <t t-call="point_of_sale.pos_session_sales_details"/>
47 </t>
48 </t>
49 </template>
50 </data>
51 </odoo>