mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-23 04:22:04 -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
9f66d54cff
commit
d719d6a57f
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': 'Document Page',
|
'name': 'Document Page',
|
||||||
'version': '11.0.2.1.0',
|
'version': '11.0.2.2.0',
|
||||||
'category': 'Knowledge Management',
|
'category': 'Knowledge Management',
|
||||||
'author': 'OpenERP SA, Odoo Community Association (OCA)',
|
'author': 'OpenERP SA, Odoo Community Association (OCA)',
|
||||||
'images': [
|
'images': [
|
||||||
|
@ -2,30 +2,30 @@
|
|||||||
<odoo>
|
<odoo>
|
||||||
|
|
||||||
<template id="report_documentpage_doc">
|
<template id="report_documentpage_doc">
|
||||||
<t t-call="report.external_layout">
|
<t t-call="web.external_layout">
|
||||||
|
|
||||||
<div class="page">
|
<div class="page">
|
||||||
<h1 t-field="doc.display_name" />
|
<h1 t-field="doc.name" />
|
||||||
<div t-raw="doc.display_content" />
|
<div t-raw="doc.content" />
|
||||||
</div>
|
</div>
|
||||||
</t>
|
</t>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template id="report_documentpage">
|
<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-foreach="docs" t-as="doc">
|
||||||
<t t-call="document_page.report_documentpage_doc" />
|
<t t-call="document_page.report_documentpage_doc" />
|
||||||
</t>
|
</t>
|
||||||
</t>
|
</t>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<report
|
<report
|
||||||
id="report_document_page"
|
id="report_document_page"
|
||||||
string="Document Page"
|
string="Document Page"
|
||||||
model="document.page"
|
model="document.page"
|
||||||
report_type="qweb-pdf"
|
report_type="qweb-pdf"
|
||||||
file="document_page.report_documentpage"
|
file="document_page.report_documentpage"
|
||||||
name="document_page.report_documentpage"
|
name="document_page.report_documentpage"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
Loading…
Reference in New Issue
Block a user