~openerp-community-leaders/poweremail/poweremail-github-mirror

« back to all changes in this revision

Viewing changes to send_wizard.py

  • Committer: Sharoon Thomas
  • Date: 2011-09-22 13:27:56 UTC
  • Revision ID: git-v1:7a314ebc14dfa0edb8a0db070743c17c6aa9de07
Rearrange imports and fix import from old filename

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#########################################################################
2
 
#Power Email is a module for Open ERP which enables it to send mails    #
3
 
#Core settings are stored here                                          #
4
 
#########################################################################
5
 
#   #####     #   #        # ####  ###     ###  #   #   ##  ###   #     #
6
 
#   #   #   #  #   #      #  #     #  #    #    # # #  #  #  #    #     #
7
 
#   ####    #   #   #    #   ###   ###     ###  #   #  #  #  #    #     #
8
 
#   #        # #    # # #    #     # #     #    #   #  ####  #    #     #
9
 
#   #         #     #  #     ####  #  #    ###  #   #  #  # ###   ####  #
 
2
#                                                                       #
 
3
# Copyright (C) 2010-2011 Openlabs Technologies & Consulting (P) LTD    #
10
4
# Copyright (C) 2009  Sharoon Thomas                                    #
11
5
#                                                                       #
12
6
#This program is free software: you can redistribute it and/or modify   #
13
7
#it under the terms of the GNU General Public License as published by   #
14
8
#the Free Software Foundation, either version 3 of the License, or      #
15
 
# any later version.                                                    #
 
9
#(at your option) any later version.                                    #
16
10
#                                                                       #
17
11
#This program is distributed in the hope that it will be useful,        #
18
12
#but WITHOUT ANY WARRANTY; without even the implied warranty of         #
22
16
#You should have received a copy of the GNU General Public License      #
23
17
#along with this program.  If not, see <http://www.gnu.org/licenses/>.  #
24
18
#########################################################################
25
 
from osv import osv, fields
26
 
from mako.template import Template
27
 
from mako import exceptions
28
 
import netsvc
29
19
import base64
30
20
import time
 
21
 
 
22
import netsvc
 
23
import tools
31
24
from tools.translate import _
32
 
import tools
33
 
from poweremail_template import get_value
 
25
from osv import osv, fields
 
26
from template import get_value
 
27
 
34
28
 
35
29
class poweremail_send_wizard(osv.osv_memory):
36
30
    _name = 'poweremail.send.wizard'