[FIX] mail_preview_audio: force mail_preview_base js dependency

pull/1117/head
Jaime Arroyo 2020-09-28 13:40:18 +02:00 committed by David
parent bcc1e5ee65
commit 5e620da8ec
3 changed files with 7 additions and 7 deletions

View File

@ -1,12 +1,12 @@
# Translation of Odoo Server. # Translation of Odoo Server.
# This file contains the translation of the following modules: # This file contains the translation of the following modules:
# * mail_preview_audio # * mail_preview_audio
# #
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,8 +15,7 @@ msgstr ""
#. module: mail_preview_audio #. module: mail_preview_audio
#. openerp-web #. openerp-web
#: code:addons/mail_preview_audio/static/src/xml/preview.xml:7 #: code:addons/mail_preview_audio/static/src/xml/preview.xml:0
#, python-format #, python-format
msgid "Audio" msgid "Audio"
msgstr "" msgstr ""

View File

@ -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>Preview audio files</title> <title>Preview audio files</title>
<style type="text/css"> <style type="text/css">

View File

@ -6,7 +6,8 @@
odoo.define("audio_file.preview", function (require) { odoo.define("audio_file.preview", function (require) {
"use strict"; "use strict";
var DocumentViewer = require("mail.DocumentViewer"); var preview = require("mail_preview_base.preview");
var DocumentViewer = preview.DocumentViewer;
DocumentViewer.include({ DocumentViewer.include({
_checkAttachment: function (attachment) { _checkAttachment: function (attachment) {