From 03b71051fb1d4f655c5647c1f7127fec240fe2af Mon Sep 17 00:00:00 2001 From: "Bharat Devnani (OpenERP)" Date: Mon, 16 Jan 2012 10:36:27 +0530 Subject: [PATCH 01/19] [IMP] improved the xml format of wizard l10n_be/wizard/l10n_be_account_vat_declaration.py bzr revid: bde@tinyerp.com-20120116050627-q7k83nytni54rrv1 --- .../wizard/l10n_be_account_vat_declaration.py | 29 ++++++++++--------- 1 file changed, 16 insertions(+), 13 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 138f6f668f8..fb7352e7974 100644 --- a/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py +++ b/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py @@ -87,10 +87,10 @@ class l10n_be_vat_declaration(osv.osv_memory): account_period = obj_acc_period.browse(cr, uid, data['period_id'][0], context=context) 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'+str(vat_no)+'\n\t\t'+ obj_company.name +'\n\t\t
'+address+'
' - data_of_file +='\n\t\t'+post_code+'\n\t\t'+city+'\n\t\t'+country_code+'\n\t\t'+send_ref+'\n\t
' - data_of_file +='\n\t\n\t\t1\n\t\t'+((vat_no and str(vat_no[2:])) or '')+'\n\t\t\n\t\t\t' + data_of_file = '\n' + data_of_file +='\n\t' + data_of_file +='\n\t\t\n\t\t\t'+str(vat_no)+'\n\t\t' + data_of_file +='\n\t\t\n\t\t' starting_month = account_period.date_start[5:7] ending_month = account_period.date_stop[5:7] @@ -98,13 +98,12 @@ class l10n_be_vat_declaration(osv.osv_memory): #starting month and ending month of selected period are not the same #it means that the accounting isn't based on periods of 1 month but on quarters quarter = str(((int(starting_month) - 1) / 3) + 1) - data_of_file += ''+quarter+'\n\t\t\t' + data_of_file += ''+quarter+'\n\t\t\t' else: - data_of_file += ''+starting_month+'\n\t\t\t' - data_of_file += '' + str(account_period.date_stop[:4]) + '\n\t\t\n' - data_of_file += '\t\t' - data_of_file += '\n\t\t'+ (data['client_nihil'] and 'YES' or 'NO') +'' - data_of_file +='\n\t\t\n\t\t\t' + data_of_file += '\t'+starting_month+'\n\t\t\t' + data_of_file += '' + str(account_period.date_stop[:4]) + '\n\t\t\n' + data_of_file +='\t\t\t' + data_of_file +='\n\t\t\t\t' cases_list = [] for item in tax_info: @@ -121,9 +120,13 @@ class l10n_be_vat_declaration(osv.osv_memory): cases_list.append(item) cases_list.sort() for item in cases_list: - data_of_file +='\n\t\t\t\t' + str(abs(int(round(item['sum_period']*100)))) + '' - - data_of_file += '\n\t\t\t\n\t\t\n\t\n
' + data_of_file +='\n\t\t\t\t' + str(abs(int(round(item['sum_period']*100)))) + '' + + data_of_file +='\n\t\t\t\t' + data_of_file += '\n\t\t' + data_of_file += '\n\t\t'+ (data['client_nihil'] and 'YES' or 'NO') +'' + data_of_file += '\n\t\t' + data_of_file += '\n\t \n' model_data_ids = mod_obj.search(cr, uid,[('model','=','ir.ui.view'),('name','=','view_vat_save')], context=context) resource_id = mod_obj.read(cr, uid, model_data_ids, fields=['res_id'], context=context)[0]['res_id'] context['file_save'] = data_of_file From 2c845a30f5d1a8a58b0a616d8d79f0dc00de7c7d Mon Sep 17 00:00:00 2001 From: "Bharat Devnani (OpenERP)" Date: Mon, 16 Jan 2012 18:49:23 +0530 Subject: [PATCH 02/19] [ADD] Added few more tags in xml file generated from def create_xml of l10n_be/wizard/l10n_be_account_vat_declaration.py file bzr revid: bde@tinyerp.com-20120116131923-zvt82geq51dvigyl --- .../wizard/l10n_be_account_vat_declaration.py | 24 +++++++++++++++---- 1 file changed, 20 insertions(+), 4 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 fb7352e7974..a9933b9ead9 100644 --- a/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py +++ b/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py @@ -84,12 +84,26 @@ class l10n_be_vat_declaration(osv.osv_memory): address = post_code = city = country_code = '' city, post_code, address, country_code = self.pool.get('res.company')._get_default_ad(obj_company.partner_id.address) + name = obj_company.partner_id.address[0].name + email = obj_company.partner_id.address[0].email + phone = obj_company.partner_id.address[0].phone account_period = obj_acc_period.browse(cr, uid, data['period_id'][0], context=context) 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' - data_of_file +='\n\t\t\n\t\t\t'+str(vat_no)+'\n\t\t' + data_of_file = '\n' + data_of_file +='\n\t'+ obj_company.name +'' + data_of_file +='\n\t'+ send_ref +'' + data_of_file +='\n\t' + data_of_file +='\n\t\t''' + data_of_file +='\n\t\t\n\t\t\t'+str(vat_no)+'' + data_of_file +='\n\t\t\t'+name+'' + data_of_file +='\n\t\t\t'+address+'' + data_of_file +='\n\t\t\t'+post_code+'' + data_of_file +='\n\t\t\t'+city+'' + data_of_file +='\n\t\t\t'+country_code+'' + data_of_file +='\n\t\t\t'+email+'' + data_of_file +='\n\t\t\t'+phone+'' + data_of_file +='\n\t\t' data_of_file +='\n\t\t\n\t\t' starting_month = account_period.date_start[5:7] @@ -125,7 +139,9 @@ class l10n_be_vat_declaration(osv.osv_memory): data_of_file +='\n\t\t\t\t' data_of_file += '\n\t\t' data_of_file += '\n\t\t'+ (data['client_nihil'] and 'YES' or 'NO') +'' - data_of_file += '\n\t\t' + data_of_file += '\n\t\t' + data_of_file +='\n\t\t''' + data_of_file +='\n\t\t''' data_of_file += '\n\t \n' model_data_ids = mod_obj.search(cr, uid,[('model','=','ir.ui.view'),('name','=','view_vat_save')], context=context) resource_id = mod_obj.read(cr, uid, model_data_ids, fields=['res_id'], context=context)[0]['res_id'] From 3b7fef4217227c98b70e5a7449b6290e5fbfd891 Mon Sep 17 00:00:00 2001 From: "Bharat Devnani (OpenERP)" Date: Wed, 18 Jan 2012 15:48:48 +0530 Subject: [PATCH 03/19] [FIX] fixed the TypeError and improved the code bzr revid: bde@tinyerp.com-20120118101848-w8gu81v0zsz9gijq --- addons/l10n_be/company.py | 7 +++++-- addons/l10n_be/wizard/l10n_be_account_vat_declaration.py | 7 ++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/addons/l10n_be/company.py b/addons/l10n_be/company.py index 8a53b029fa7..118696ec9f6 100644 --- a/addons/l10n_be/company.py +++ b/addons/l10n_be/company.py @@ -25,7 +25,7 @@ class res_company(osv.osv): _description = 'Company' def _get_default_ad(self, addresses): - city = post_code = address = country_code = "" + name = email = phone = city = post_code = address = country_code = "" for ads in addresses: if ads.type == 'default': city = ads.city or "" @@ -36,7 +36,10 @@ class res_company(osv.osv): address += " " + ads.street2 if ads.country_id: country_code = ads.country_id and ads.country_id.code or "" - return city, post_code, address, country_code + name = ads.name or "" + email = ads.email or "" + phone = ads.phone or "" + return name, email, phone, city, post_code, address, country_code res_company() # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: 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 a9933b9ead9..5a3e68aaa3c 100644 --- a/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py +++ b/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py @@ -81,12 +81,9 @@ class l10n_be_vat_declaration(osv.osv_memory): ctx['period_id'] = data['period_id'][0] #added context here tax_info = obj_tax_code.read(cr, uid, tax_code_ids, ['code','sum_period'], context=ctx) - address = post_code = city = country_code = '' - city, post_code, address, country_code = self.pool.get('res.company')._get_default_ad(obj_company.partner_id.address) + name = email = phone = address = post_code = city = country_code = '' + name, email, phone, city, post_code, address, country_code = self.pool.get('res.company')._get_default_ad(obj_company.partner_id.address) - name = obj_company.partner_id.address[0].name - email = obj_company.partner_id.address[0].email - phone = obj_company.partner_id.address[0].phone account_period = obj_acc_period.browse(cr, uid, data['period_id'][0], context=context) send_ref = str(obj_company.partner_id.id) + str(account_period.date_start[5:7]) + str(account_period.date_stop[:4]) From 5f7879e13676ef82a513cbfb91fef4027fc503c3 Mon Sep 17 00:00:00 2001 From: "Bharat Devnani (OpenERP)" Date: Mon, 23 Jan 2012 17:55:12 +0530 Subject: [PATCH 04/19] [IMP] improved the Periodical VAT Declaration Wizard bzr revid: bde@tinyerp.com-20120123122512-lq77vlcbmayp08k1 --- .../wizard/l10n_be_account_vat_declaration.py | 30 ++++++++++++------- .../l10n_be_account_vat_declaration_view.xml | 6 ++++ 2 files changed, 25 insertions(+), 11 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 5a3e68aaa3c..91fed379c1c 100644 --- a/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py +++ b/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py @@ -48,6 +48,10 @@ 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'), + 'comments': fields.text('Comments'), + 'identification_type': fields.selection([('tin','TIN'), ('nvat','NVAT'), ('other','Other')], 'Identification Type', required=True), + 'other': fields.char('Specify', size=16), } _defaults = { 'msg': 'Save the File with '".xml"' extension.', @@ -85,15 +89,21 @@ class l10n_be_vat_declaration(osv.osv_memory): name, email, phone, city, post_code, address, country_code = self.pool.get('res.company')._get_default_ad(obj_company.partner_id.address) account_period = obj_acc_period.browse(cr, uid, data['period_id'][0], context=context) - + issued_by = vat_no[:2] + comments = data['comments'] or '' + type = data['identification_type'] or '' + val = data['other'] or '' + 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'+ obj_company.name +'' - data_of_file +='\n\t'+ send_ref +'' - data_of_file +='\n\t' - data_of_file +='\n\t\t''' + + 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' + data_of_file +='\n\t\t' data_of_file +='\n\t\t\n\t\t\t'+str(vat_no)+'' - data_of_file +='\n\t\t\t'+name+'' + data_of_file +='\n\t\t\t'+obj_company.name+'' data_of_file +='\n\t\t\t'+address+'' data_of_file +='\n\t\t\t'+post_code+'' data_of_file +='\n\t\t\t'+city+'' @@ -114,7 +124,6 @@ class l10n_be_vat_declaration(osv.osv_memory): data_of_file += '\t'+starting_month+'\n\t\t\t' data_of_file += '' + str(account_period.date_stop[:4]) + '\n\t\t\n' data_of_file +='\t\t\t' - data_of_file +='\n\t\t\t\t' cases_list = [] for item in tax_info: @@ -131,14 +140,13 @@ class l10n_be_vat_declaration(osv.osv_memory): cases_list.append(item) cases_list.sort() for item in cases_list: - data_of_file +='\n\t\t\t\t' + str(abs(int(round(item['sum_period']*100)))) + '' + data_of_file +='\n\t\t\t' + str(abs(int(round(item['sum_period']*100)))) + '' - data_of_file +='\n\t\t\t\t' data_of_file += '\n\t\t' data_of_file += '\n\t\t'+ (data['client_nihil'] and 'YES' or 'NO') +'' data_of_file += '\n\t\t' data_of_file +='\n\t\t''' - data_of_file +='\n\t\t''' + data_of_file +='\n\t\t'+ comments +'' data_of_file += '\n\t \n' model_data_ids = mod_obj.search(cr, uid,[('model','=','ir.ui.view'),('name','=','view_vat_save')], context=context) resource_id = mod_obj.read(cr, uid, model_data_ids, fields=['res_id'], context=context)[0]['res_id'] 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 4b46b737a39..e09c9e3e38f 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 @@ -16,7 +16,10 @@ + + + @@ -24,8 +27,11 @@ + From f17b4334566d081a20fa813e87f4b5500fd81d6b Mon Sep 17 00:00:00 2001 From: "Bharat Devnani (OpenERP)" Date: Tue, 24 Jan 2012 11:48:30 +0530 Subject: [PATCH 05/19] [IMP] added help on the fields and improved the aesthetics of wizard bzr revid: bde@tinyerp.com-20120124061830-g6raf0q0yx2nzmgd --- addons/l10n_be/wizard/l10n_be_account_vat_declaration.py | 7 ++++--- .../wizard/l10n_be_account_vat_declaration_view.xml | 3 ++- 2 files changed, 6 insertions(+), 4 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 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 @@ From e4705977d443ba9500dde4f7a84aa447455860ba Mon Sep 17 00:00:00 2001 From: "Bharat Devnani (OpenERP)" Date: Tue, 24 Jan 2012 12:00:11 +0530 Subject: [PATCH 06/19] [IMP] improved vat_declarations_nbr field name and set its default value bzr revid: bde@tinyerp.com-20120124063011-qpfvzzug0ng13hw8 --- 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 e4c79ba7512..ad60f1cba26 100644 --- a/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py +++ b/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py @@ -48,7 +48,7 @@ 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('VAT Declarations Number', help="Number of periodic VAT returns in the shipment"), + 'vat_declarations_nbr': fields.integer('VAT Declaration 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('Other Qlf', size=16, help="Description of a Identification Type"), @@ -58,7 +58,7 @@ class l10n_be_vat_declaration(osv.osv_memory): 'file_save': _get_xml_data, 'name': 'vat_declaration.xml', 'identification_type': 'tin', - 'vat_declarations_nbr': 1, + 'vat_declarations_nbr': 0, } def create_xml(self, cr, uid, ids, context=None): From 87921b4e5bc1188b9efeef72415490103971956e Mon Sep 17 00:00:00 2001 From: "Bharat Devnani (OpenERP)" Date: Tue, 24 Jan 2012 12:39:03 +0530 Subject: [PATCH 07/19] [IMP] improved the useability bzr revid: bde@tinyerp.com-20120124070903-ufp2njveavrrcrfj --- addons/l10n_be/wizard/l10n_be_account_vat_declaration.py | 6 +++--- 1 file changed, 3 insertions(+), 3 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 ad60f1cba26..df1b6dc6617 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)]), + 'tax_code_id': fields.many2one('account.tax.code', 'Tax Code', domain=[('parent_id', '=', False)], help="Keep empty to use the company from partner"), '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?'), @@ -94,12 +94,12 @@ class l10n_be_vat_declaration(osv.osv_memory): issued_by = vat_no[:2] comments = data['comments'] or '' type = data['identification_type'] or '' - val = data['other'] or '' + other = data['other'] or '' 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'+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' data_of_file +='\n\t\t' From 2fd87846ee01c15e974b12340b4e494ea4679f0e Mon Sep 17 00:00:00 2001 From: "Bharat Devnani (OpenERP)" Date: Tue, 24 Jan 2012 14:09:41 +0530 Subject: [PATCH 08/19] [IMP] improved the help of field and arranged the boolean fields in allignment bzr revid: bde@tinyerp.com-20120124083941-ceit7bfernvzf8c8 --- .../l10n_be/wizard/l10n_be_account_vat_declaration.py | 2 +- .../wizard/l10n_be_account_vat_declaration_view.xml | 11 ++++------- 2 files changed, 5 insertions(+), 8 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 df1b6dc6617..5f051acb52f 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 company from partner"), + 'tax_code_id': fields.many2one('account.tax.code', 'Tax Code', domain=[('parent_id', '=', False)], help="Keep empty to use the user 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?'), 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 01ded12e231..39df5b98f7f 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 @@ -22,17 +22,14 @@ + + +