~openerp-mexico-team-activo-driver/openerp-mexico-localization/l10n_mx_xsa_tralix

« back to all changes in this revision

Viewing changes to l10n_mx_facturae_cfd2011_xsa_tralix/partner_address.py

  • Committer: moylop260
  • Date: 2011-08-01 05:21:46 UTC
  • Revision ID: moylop260@hotmail.com-20110801052146-cz21mi3ocsnnp70s
[IMP] [l10n_mx_facturae_cfd2011_xsa_tralix] Add new fields to address (street3 & street4)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- encoding: utf-8 -*-
 
2
###########################################################################
 
3
#    Module Writen to OpenERP, Open Source Management Solution
 
4
#
 
5
#    Copyright (c) 2010 moylop260 - http://moylop.blogspot.com/
 
6
#    All Rights Reserved.
 
7
#    info moylop260 (moylop260@hotmail.com)
 
8
############################################################################
 
9
#    Coded by: moylop260 (moylop260@hotmail.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
##############################################################################
 
26
 
 
27
from osv import osv
 
28
from osv import fields
 
29
from tools.translate import _
 
30
import os
 
31
import time
 
32
 
 
33
class res_partner_address(osv.osv):
 
34
    _inherit = 'res.partner.address'
 
35
    
 
36
    _columns = {
 
37
        'street3': fields.char('Street3', size=128),
 
38
        'street4': fields.char('Street4', size=128),
 
39
    }
 
40
res_partner_address()