mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-14 01:41:26 -06:00
[FIX] document_page: fix report
- fix references: report module is now web module - display_* fields are removed in this version
This commit is contained in:
parent
ae806302e7
commit
2300c2bcfb
@ -4,7 +4,7 @@
|
||||
|
||||
{
|
||||
'name': 'Document Page',
|
||||
'version': '11.0.2.1.0',
|
||||
'version': '11.0.2.2.0',
|
||||
'category': 'Knowledge Management',
|
||||
'author': 'OpenERP SA, Odoo Community Association (OCA)',
|
||||
'images': [
|
||||
|
@ -2,30 +2,30 @@
|
||||
<odoo>
|
||||
|
||||
<template id="report_documentpage_doc">
|
||||
<t t-call="report.external_layout">
|
||||
<t t-call="web.external_layout">
|
||||
|
||||
<div class="page">
|
||||
<h1 t-field="doc.display_name" />
|
||||
<div t-raw="doc.display_content" />
|
||||
<h1 t-field="doc.name" />
|
||||
<div t-raw="doc.content" />
|
||||
</div>
|
||||
</t>
|
||||
</template>
|
||||
|
||||
<template id="report_documentpage">
|
||||
<t t-call="report.html_container">
|
||||
<t t-call="web.html_container">
|
||||
<t t-foreach="docs" t-as="doc">
|
||||
<t t-call="document_page.report_documentpage_doc" />
|
||||
</t>
|
||||
</t>
|
||||
</template>
|
||||
|
||||
<report
|
||||
<report
|
||||
id="report_document_page"
|
||||
string="Document Page"
|
||||
model="document.page"
|
||||
model="document.page"
|
||||
report_type="qweb-pdf"
|
||||
file="document_page.report_documentpage"
|
||||
name="document_page.report_documentpage"
|
||||
file="document_page.report_documentpage"
|
||||
name="document_page.report_documentpage"
|
||||
/>
|
||||
|
||||
</odoo>
|
||||
|
Loading…
Reference in New Issue
Block a user