suggestions pankk

This commit is contained in:
luc.demeyer@noviat.com
2018-08-17 17:57:47 +02:00
parent 3cab1beae3
commit 59e45f75a3
3 changed files with 3 additions and 4 deletions

View File

@@ -6,7 +6,6 @@ import logging
from odoo.addons.report_xlsx_helper.report.abstract_report_xlsx \
import AbstractReportXlsx
# from odoo.exceptions import UserError
from odoo.report import report_sxw
from odoo.tools.translate import translate, _
@@ -255,7 +254,7 @@ class IntrastatProductDeclarationXlsx(AbstractReportXlsx):
def _intrastat_report(self, workbook, ws, ws_params, data, declaration):
ws.set_portrait()
ws.set_landscape()
ws.fit_to_pages(1, 0)
ws.set_header(self.xls_headers['standard'])
ws.set_footer(self.xls_footers['standard'])

View File

@@ -32,7 +32,7 @@
</div>
<group name="top-block">
<group name="properties-1">
<field name="year"/>
<field name="year" widget="char"/>
<field name="month"/>
<field name="type"/>
<field name="reporting_level" invisible="1"/>

View File

@@ -7,7 +7,7 @@ Generic Intrastat Product Declaration
=====================================
This module adds a menu entry for a Generic Intrastat Product Declaration.
This is usefull to cover countries for which there is no localization module.
This is useful to cover countries for which there is no localization module.
Installation
============