/
point_of_sale_report.xml
30 lines (26 loc) · 1.09 KB
/
point_of_sale_report.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<report
id="report_user_label"
model="res.users"
string="User Labels"
report_type="qweb-pdf"
name="point_of_sale.report_userlabel"
file="point_of_sale.report_userlabel"
/>
<!-- used from POS UI, no need to be in print menu -->
<record id="pos_invoice_report" model="ir.actions.report">
<field name="name">Invoice</field>
<field name="model">pos.order</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">point_of_sale.report_invoice</field>
<field name="print_report_name">'Invoice - %s' % (object.name)</field>
</record>
<record id="sale_details_report" model="ir.actions.report">
<field name="name">Sales Details</field>
<field name="model">report.point_of_sale.details</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">point_of_sale.report_saledetails</field>
</record>
<template id="report_invoice" inherit_id="account.report_invoice" primary="True"/>
</odoo>