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 91fed379c1c..e4c79ba7512 100644 --- a/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py +++ b/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py @@ -48,15 +48,17 @@ class l10n_be_vat_declaration(osv.osv_memory): 'ask_restitution': fields.boolean('Ask Restitution',help='It indicates whether a resitution is to made or not?'), 'ask_payment': fields.boolean('Ask Payment',help='It indicates whether a payment is to made or not?'), 'client_nihil': fields.boolean('Last Declaration of Enterprise',help='Tick this case only if it concerns only the last statement on the civil or cessation of activity'), - 'vat_declarations_nbr': fields.integer('VATDeclarationsNbr'), + 'vat_declarations_nbr': fields.integer('VAT Declarations Number', help="Number of periodic VAT returns in the shipment"), 'comments': fields.text('Comments'), 'identification_type': fields.selection([('tin','TIN'), ('nvat','NVAT'), ('other','Other')], 'Identification Type', required=True), - 'other': fields.char('Specify', size=16), + 'other': fields.char('Other Qlf', size=16, help="Description of a Identification Type"), } _defaults = { 'msg': 'Save the File with '".xml"' extension.', 'file_save': _get_xml_data, 'name': 'vat_declaration.xml', + 'identification_type': 'tin', + 'vat_declarations_nbr': 1, } def create_xml(self, cr, uid, ids, context=None): @@ -97,7 +99,6 @@ 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' - print "val", val 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' data_of_file +='\n\t' diff --git a/addons/l10n_be/wizard/l10n_be_account_vat_declaration_view.xml b/addons/l10n_be/wizard/l10n_be_account_vat_declaration_view.xml index e09c9e3e38f..01ded12e231 100644 --- a/addons/l10n_be/wizard/l10n_be_account_vat_declaration_view.xml +++ b/addons/l10n_be/wizard/l10n_be_account_vat_declaration_view.xml @@ -28,7 +28,8 @@