[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:
Gabriela Mogollon 2018-07-23 19:42:34 +00:00 committed by Justine Doutreloux
parent ae806302e7
commit 2300c2bcfb
2 changed files with 9 additions and 9 deletions

View File

@ -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': [

View File

@ -2,17 +2,17 @@
<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>