mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
- When added the patch to be able to configure report copies by report object, the expected signature changed to expect a report object. That can't work through the XMLRPC interface, so we revert it to what it was before: expecting the report name. - Some tests that were producing warnings are muted now. - The tests that had been changed went back to normal too. - Current implementation didn't produce the expected results when actually forcing to print 1 copy. - Added a demo report to test, since searching the database for the 1st unkonwn report found is not very deterministic and can lead to problems, like those addressed in #122 and #123. - Finally, this update requires a database upgrade, so I pushed correctly the manifest version too.
21 lines
517 B
XML
21 lines
517 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright 2017 Tecnativa - Jairo Llopis
|
|
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). -->
|
|
|
|
<data>
|
|
|
|
<template id="report_1">
|
|
<h1 t-tranlsation="off">Dummy report just for tests</h1>
|
|
</template>
|
|
|
|
<report
|
|
id="action_report_1"
|
|
model="res.partner"
|
|
string="Demo Report 1"
|
|
report_type="qweb-pdf"
|
|
name="base_report_to_printer.report_1"
|
|
file="base_report_to_printer.report_1"
|
|
/>
|
|
|
|
</data>
|