~savoirfairelinux-openerp/openerp-crm/salesteam_in_sale_report

« back to all changes in this revision

Viewing changes to lettermgmt/letter_class.py

  • Committer: Holger Brunn
  • Author(s): sandy.carter at savoirfairelinux
  • Date: 2014-03-24 11:05:52 UTC
  • Revision ID: hbrunn@therp.nl-20140324110552-ew1jgeb4lq6u7z6h
[ADD] lettermanagement module with automatic hr bindings module

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- encoding: utf-8 -*-
 
2
##############################################################################
 
3
#
 
4
#    Parthiv Pate, Tech Receptives, Open Source For Ideas
 
5
#    Copyright (C) 2009-Today Tech Receptives(http://techreceptives.com).
 
6
#    All Rights Reserved
 
7
#
 
8
#
 
9
#    This program is free software: you can redistribute it and/or modify
 
10
#    it under the terms of the GNU General Public License as published by
 
11
#    the Free Software Foundation, either version 3 of the License, or
 
12
#    (at your option) any later version.
 
13
#
 
14
#    This program is distributed in the hope that it will be useful,
 
15
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
16
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
17
#    GNU General Public License for more details.
 
18
#
 
19
#    You should have received a copy of the GNU General Public License
 
20
#    along with this program.  If not, see http://www.gnu.org/licenses/.
 
21
#
 
22
##############################################################################
 
23
 
 
24
from openerp.osv import fields, orm
 
25
from openerp.tools.translate import _
 
26
 
 
27
 
 
28
class letter_class(orm.Model):
 
29
    """ Class to define the classification of letter like : classified, confidential, personal, etc. """
 
30
    _name = 'letter.class'
 
31
    _description = _("Letter Classification")
 
32
    _columns = {
 
33
        'name': fields.char('Type', size=32, required=True),
 
34
    }