mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-20 02:06:45 -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',
|
'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,17 +2,17 @@
|
|||||||
<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>
|
||||||
|
Loading…
Reference in New Issue
Block a user