mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
suggestions pankk
This commit is contained in:
@@ -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'])
|
||||
|
||||
@@ -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"/>
|
||||
|
||||
@@ -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
|
||||
============
|
||||
|
||||
Reference in New Issue
Block a user