[IMP][10.0][document_page] Change Requests and workflow improvements on documents (#155)

This commit is contained in:
Iván Todorovich
2018-04-13 11:36:33 -03:00
committed by Justine Doutreloux
parent fe6ebff289
commit 4e446a5f34
21 changed files with 518 additions and 364 deletions

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="report_documentpage_doc">
<t t-call="report.external_layout">
<div class="page">
<h1 t-field="doc.display_name" />
<div t-raw="doc.display_content" />
</div>
</t>
</template>
<template id="report_documentpage">
<t t-call="report.html_container">
<t t-foreach="docs" t-as="doc">
<t t-call="document_page.report_documentpage_doc" />
</t>
</t>
</template>
<report
id="report_document_page"
string="Document Page"
model="document.page"
report_type="qweb-pdf"
file="document_page.report_documentpage"
name="document_page.report_documentpage"
/>
</odoo>