~vauxoo/addons-vauxoo/7.0-purchase_requisition_contract_analyst-dev-1482-kty

384.1.1 by Luis Torres
[ADD][partner_invoice_description]Add in partner field for description invoice & add in function to onchange_partner_id this value
1
# -*- encoding: utf-8 -*-
2
###########################################################################
3
#    Module Writen to OpenERP, Open Source Management Solution
4
#
5
#    Copyright (c) 2010 Vauxoo - http://www.vauxoo.com/
6
#    All Rights Reserved.
7
#    info Vauxoo (info@vauxoo.com)
8
############################################################################
9
#    Coded by: Luis Torres (luis_t@vauxoo.com)
10
############################################################################
11
#
12
#    This program is free software: you can redistribute it and/or modify
13
#    it under the terms of the GNU Affero General Public License as
14
#    published by the Free Software Foundation, either version 3 of the
15
#    License, or (at your option) any later version.
16
#
17
#    This program is distributed in the hope that it will be useful,
18
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
19
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20
#    GNU Affero General Public License for more details.
21
#
22
#    You should have received a copy of the GNU Affero General Public License
23
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
24
#
25
##############################################################################
542.1.193 by Julio Serna
[V7-MIGRATION]
26
from openerp.osv import osv, fields
27
28
29
class res_partner(osv.Model):
384.1.1 by Luis Torres
[ADD][partner_invoice_description]Add in partner field for description invoice & add in function to onchange_partner_id this value
30
    _inherit = 'res.partner'
31
    _columns = {
543.2.207 by Julio Serna
[AUTOPEP8]
32
        'description_invoice':  fields.text('Description Invoice',
33
            translate=True),
384.1.1 by Luis Torres
[ADD][partner_invoice_description]Add in partner field for description invoice & add in function to onchange_partner_id this value
34
    }