[FIX] mail_preview_base: return DocumentViewer
This commit is contained in:
parent
3edf4b8da9
commit
975e0b8cdb
@ -4,9 +4,9 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 12.0\n"
|
"Project-Id-Version: Odoo Server 13.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"Last-Translator: <>\n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
@ -15,23 +15,24 @@ msgstr ""
|
|||||||
|
|
||||||
#. module: mail_preview_base
|
#. module: mail_preview_base
|
||||||
#. openerp-web
|
#. openerp-web
|
||||||
#: code:addons/mail_preview_base/static/src/xml/preview.xml:11
|
#: code:addons/mail_preview_base/static/src/xml/preview.xml:0
|
||||||
#: code:addons/mail_preview_base/static/src/xml/preview.xml:14
|
#: code:addons/mail_preview_base/static/src/xml/preview.xml:0
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "#{widget.activeAttachment.source_url}"
|
msgid "#{widget.activeAttachment.source_url}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: mail_preview_base
|
#. module: mail_preview_base
|
||||||
#. openerp-web
|
#. 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
|
#, 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 ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: mail_preview_base
|
#. module: mail_preview_base
|
||||||
#. openerp-web
|
#. 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
|
#, 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 ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<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>
|
<title>Mail Preview</title>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
|
|
||||||
|
@ -141,6 +141,7 @@ odoo.define("mail_preview_base.preview", function (require) {
|
|||||||
return {
|
return {
|
||||||
FieldPreviewViewer: FieldPreviewViewer,
|
FieldPreviewViewer: FieldPreviewViewer,
|
||||||
FieldPreviewBinary: FieldPreviewBinary,
|
FieldPreviewBinary: FieldPreviewBinary,
|
||||||
|
DocumentViewer: DocumentViewer,
|
||||||
};
|
};
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user