~torbat-j/+junk/ncdierp

« back to all changes in this revision

Viewing changes to ierp_project/project_inherit.py

  • Committer: erka
  • Date: 2014-10-21 08:43:45 UTC
  • Revision ID: erka-20141021084345-vb5veh7pk63zeys9
Зээл болон худалдан авалтын классын дагуу нэмэлт талбаруудыг нэмэв.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: utf-8 -*-
 
2
##############################################################################
 
3
#
 
4
#    OpenERP, Open Source Management Solution
 
5
#    Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
 
6
#
 
7
#    This program is free software: you can redistribute it and/or modify
 
8
#    it under the terms of the GNU Affero General Public License as
 
9
#    published by the Free Software Foundation, either version 3 of the
 
10
#    License, or (at your option) any later version.
 
11
#
 
12
#    This program is distributed in the hope that it will be useful,
 
13
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
#    GNU Affero General Public License for more details.
 
16
#
 
17
#    You should have received a copy of the GNU Affero General Public License
 
18
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
19
#
 
20
##############################################################################
 
21
 
 
22
import logging
 
23
from openerp import SUPERUSER_ID
 
24
from openerp import tools
 
25
from openerp.modules.module import get_module_resource
 
26
from openerp.osv import fields, osv
 
27
from openerp.tools.translate import _
 
28
 
 
29
class project_project(osv.osv):
 
30
    _inherit = 'project.project'
 
31
    
 
32
    _columns = {
 
33
                'code':fields.char('Code'),
 
34
                'project_type_id':fields.char('Project type'),
 
35
                }
 
36
class project_issue(osv.osv):
 
37
    _inherit = 'project.issue'
 
38
    
 
39
    _columns = {
 
40
                'decision':fields.text('Decision')
 
41
                }
 
42
    
 
43
class project_phase(osv.osv):
 
44
    _name = 'project.phase'
 
45
    
 
46
    _columns = {
 
47
                ''
 
48
                }
 
49
    
 
50
    
 
 
b'\\ No newline at end of file'