From 2747f30e1028811c799e2cda710dfd088b850893 Mon Sep 17 00:00:00 2001 From: Kiril Vangelovski Date: Wed, 3 Sep 2014 13:13:48 +0200 Subject: [PATCH] pep8 --- web_warning_sound/__openerp__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web_warning_sound/__openerp__.py b/web_warning_sound/__openerp__.py index 4cc3ef53..fdc78219 100644 --- a/web_warning_sound/__openerp__.py +++ b/web_warning_sound/__openerp__.py @@ -24,7 +24,7 @@ Then the web client can access these files using the url path: To use it in on_change methods just add the the url path of the audio file in the result dictionary under the key 'sound'. Example:: - res['sound'] = '/module_name/static/path/to/audio/file/mysound.wav' + res['sound'] = '/module_name/static/mysound.wav' res['warning'] = { 'title': _('Cannot do something'), 'message': _('The reason why...'), @@ -35,7 +35,7 @@ On orm_except put the url path of the file inside '{{}}' as in this example:: raise orm_except( 'Cannot do something', - 'The reason why... {{ sound: /module_name/static/path/to/audio/file/mysound.wav }}' + 'The reason why... {{ sound: /module_name/static/mysound.wav }}' ) """, 'depends': [