[FIX] mail_preview_base: return DocumentViewer
This commit is contained in:
parent
3edf4b8da9
commit
975e0b8cdb
@ -1,12 +1,12 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * mail_preview_base
|
||||
# * mail_preview_base
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Project-Id-Version: Odoo Server 13.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"Last-Translator: <>\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
@ -15,23 +15,24 @@ msgstr ""
|
||||
|
||||
#. module: mail_preview_base
|
||||
#. openerp-web
|
||||
#: code:addons/mail_preview_base/static/src/xml/preview.xml:11
|
||||
#: code:addons/mail_preview_base/static/src/xml/preview.xml:14
|
||||
#: code:addons/mail_preview_base/static/src/xml/preview.xml:0
|
||||
#: code:addons/mail_preview_base/static/src/xml/preview.xml:0
|
||||
#, python-format
|
||||
msgid "#{widget.activeAttachment.source_url}"
|
||||
msgstr ""
|
||||
|
||||
#. module: mail_preview_base
|
||||
#. openerp-web
|
||||
#: code:addons/mail_preview_base/static/src/xml/preview.xml:5
|
||||
#: code:addons/mail_preview_base/static/src/xml/preview.xml:0
|
||||
#, python-format
|
||||
msgid "#{widget.activeAttachment.source_url}?unique=1&signature=#{widget.activeAttachment.checksum}"
|
||||
msgid ""
|
||||
"#{widget.activeAttachment.source_url}?unique=1&signature=#{widget.activeAttachment.checksum}"
|
||||
msgstr ""
|
||||
|
||||
#. module: mail_preview_base
|
||||
#. openerp-web
|
||||
#: code:addons/mail_preview_base/static/src/xml/preview.xml:8
|
||||
#: code:addons/mail_preview_base/static/src/xml/preview.xml:0
|
||||
#, python-format
|
||||
msgid "/web/static/lib/pdfjs/web/viewer.html?file=#{widget.activeAttachment.source_url}"
|
||||
msgid ""
|
||||
"/web/static/lib/pdfjs/web/viewer.html?file=#{widget.activeAttachment.source_url}"
|
||||
msgstr ""
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="Docutils 0.16: http://docutils.sourceforge.net/" />
|
||||
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" />
|
||||
<title>Mail Preview</title>
|
||||
<style type="text/css">
|
||||
|
||||
|
@ -141,6 +141,7 @@ odoo.define("mail_preview_base.preview", function (require) {
|
||||
return {
|
||||
FieldPreviewViewer: FieldPreviewViewer,
|
||||
FieldPreviewBinary: FieldPreviewBinary,
|
||||
DocumentViewer: DocumentViewer,
|
||||
};
|
||||
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user