From 7d98e5914bc900c6bc3a2e9be46c4d7ce1654569 Mon Sep 17 00:00:00 2001 From: "Jay (Open ERP)" Date: Thu, 27 May 2010 15:21:37 +0530 Subject: [PATCH] [FIX] Report_intrastat : size of char should be given in integer format bzr revid: jvo@tinyerp.com-20100527095137-oaigevsb9ztpfh26 --- addons/report_intrastat/report_intrastat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/report_intrastat/report_intrastat.py b/addons/report_intrastat/report_intrastat.py index 8d986aa4c64..3bf58ea034e 100644 --- a/addons/report_intrastat/report_intrastat.py +++ b/addons/report_intrastat/report_intrastat.py @@ -66,7 +66,7 @@ class report_intrastat(osv.osv): ('07','July'), ('08','August'), ('09','September'), ('10','October'), ('11','November'), ('12','December')],'Month',readonly=True), 'supply_units':fields.float('Supply Units', readonly=True), 'ref':fields.char('Source document',size=64, readonly=True), - 'code': fields.char('Country code', size="2", readonly=True), + 'code': fields.char('Country code', size=2, readonly=True), 'intrastat_id': fields.many2one('report.intrastat.code', 'Intrastat code', readonly=True), 'weight': fields.float('Weight', readonly=True), 'value': fields.float('Value', readonly=True),