~vauxoo/addons-vauxoo/6.0-trunk

« back to all changes in this revision

Viewing changes to contract_log_term_condition/model/analytic.py

  • Committer: Jose Morales
  • Date: 2014-07-28 20:00:11 UTC
  • mfrom: (543.7.551 7.0-addons-vauxoo)
  • Revision ID: jose@vauxoo.com-20140728200011-csytovehrzwp24lr
[FORWARD PORT] 7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/python
 
2
# -*- encoding: utf-8 -*-
 
3
###############################################################################
 
4
#    Module Writen to OpenERP, Open Source Management Solution
 
5
#    Copyright (C) Vauxoo (<http://vauxoo.com>).
 
6
#    All Rights Reserved
 
7
############### Credits  ######################################################
 
8
#    Coded by: Luis Escobar <luis@vauxoo.com>
 
9
#    Audited by: Nhomar Hernandez <nhomar@vauxoo.com>
 
10
###############################################################################
 
11
#    This program is free software: you can redistribute it and/or modify
 
12
#    it under the terms of the GNU Affero General Public License as published
 
13
#    by the Free Software Foundation, either version 3 of the License, or
 
14
#    (at your option) any later version.
 
15
#
 
16
#    This program is distributed in the hope that it will be useful,
 
17
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
18
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
19
#    GNU Affero General Public License for more details.
 
20
#
 
21
#    You should have received a copy of the GNU Affero General Public License
 
22
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
23
###############################################################################
 
24
 
 
25
from openerp.osv import osv, fields
 
26
import openerp.tools
 
27
 
 
28
class account_analytic_account(osv.Model):
 
29
    _inherit = 'account.analytic.account'
 
30
    _columns = {
 
31
        'description': fields.text('Description', track_visibility='onchange'),
 
32
    }