From e1cd3289092ec9da8a20b7efa666357075d4c97e Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Fri, 17 Aug 2012 16:27:48 +0200 Subject: [PATCH] [FIX] base: the label of vat field now displays 'TIN' instead of 'TVA'. A US term consistent with the default value of the language used. bzr revid: qdp-launchpad@openerp.com-20120817142748-3qpytqt5s9dthjcb --- openerp/addons/base/res/res_company.py | 2 +- openerp/addons/base/res/res_partner.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openerp/addons/base/res/res_company.py b/openerp/addons/base/res/res_company.py index 526ad0e0bad..c1062f2af2c 100644 --- a/openerp/addons/base/res/res_company.py +++ b/openerp/addons/base/res/res_company.py @@ -142,7 +142,7 @@ class res_company(osv.osv): if phone: val.append(_('Phone: ')+phone) if fax: val.append(_('Fax: ')+fax) if website: val.append(_('Website: ')+website) - if vat: val.append(_('VAT: ')+vat) + if vat: val.append(_('TIN: ')+vat) if reg: val.append(_('Reg: ')+reg) return {'value': {'rml_footer1':' | '.join(val)}} diff --git a/openerp/addons/base/res/res_partner.py b/openerp/addons/base/res/res_partner.py index 4376cb694d3..93d12228ebe 100644 --- a/openerp/addons/base/res/res_partner.py +++ b/openerp/addons/base/res/res_partner.py @@ -162,7 +162,7 @@ class res_partner(osv.osv): "It is important to set a value for this field. You should use the same timezone " "that is otherwise used to pick and render date and time values: your computer's timezone."), 'user_id': fields.many2one('res.users', 'Salesperson', help='The internal user that is in charge of communicating with this partner if any.'), - 'vat': fields.char('VAT',size=32 ,help="Value Added Tax number. Check the box if the partner is subjected to the VAT. Used by the VAT legal statement."), + 'vat': fields.char('TIN',size=32 ,help="Tax Identification Number. Check the box if the partner is subjected to taxes. Used by the some of the legal statements."), 'bank_ids': fields.one2many('res.partner.bank', 'partner_id', 'Banks'), 'website': fields.char('Website',size=64, help="Website of Partner or Company"), 'comment': fields.text('Notes'),