From 2d378986dfa6726e9b9b3eb0abbb4ebe6e9d8357 Mon Sep 17 00:00:00 2001 From: "Bharat Devnani (OpenERP)" Date: Tue, 24 Jan 2012 17:13:25 +0530 Subject: [PATCH] [IMP] kept the vat_no in Representative ID tag and also improved the help of tax_code_id field bzr revid: bde@tinyerp.com-20120124114325-41uhreuej5nt5t8o --- addons/l10n_be/wizard/l10n_be_account_vat_declaration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py b/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py index 5f051acb52f..bd7215e9d41 100644 --- a/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py +++ b/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py @@ -42,7 +42,7 @@ class l10n_be_vat_declaration(osv.osv_memory): _columns = { 'name': fields.char('File Name', size=32), 'period_id': fields.many2one('account.period','Period', required=True), - 'tax_code_id': fields.many2one('account.tax.code', 'Tax Code', domain=[('parent_id', '=', False)], help="Keep empty to use the user company"), + 'tax_code_id': fields.many2one('account.tax.code', 'Tax Code', domain=[('parent_id', '=', False)], help="Keep empty to use the user's company"), 'msg': fields.text('File created', size=64, readonly=True), 'file_save': fields.binary('Save File'), 'ask_restitution': fields.boolean('Ask Restitution',help='It indicates whether a resitution is to made or not?'), @@ -99,7 +99,7 @@ class l10n_be_vat_declaration(osv.osv_memory): send_ref = str(obj_company.partner_id.id) + str(account_period.date_start[5:7]) + str(account_period.date_stop[:4]) data_of_file = '\n' - data_of_file +='\n\t \n\t\t'+obj_company.company_registry+' \n\t\t'+obj_company.name+' \n\t\t'+address+' \n\t\t'+post_code+' \n\t\t'+city+' \n\t\t'+country_code+' \n\t\t'+email+' \n\t\t'+phone+' \n\t' + data_of_file +='\n\t \n\t\t'+str(vat_no)+' \n\t\t'+obj_company.name+' \n\t\t'+address+' \n\t\t'+post_code+' \n\t\t'+city+' \n\t\t'+country_code+' \n\t\t'+email+' \n\t\t'+phone+' \n\t' data_of_file +='\n\t' data_of_file +='\n\t' data_of_file +='\n\t\t'