Skip to content

Commit

Permalink
TA#67305 [16.0][ADD] ingadhoc/report_aeroo (#61)
Browse files Browse the repository at this point in the history
* TA#67305 [16.0][ADD] ingadhoc/report_aeroo

* TA#67305 [IMP] aeroo_reports: Correct flake8 Errors
  • Loading branch information
majouda authored Sep 16, 2024
1 parent bbdf5d7 commit 0ca416a
Show file tree
Hide file tree
Showing 47 changed files with 3,249 additions and 2 deletions.
1 change: 1 addition & 0 deletions .docker_files/main/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"summary": "Install all addons required for testing.",
"depends": [
"account",
"report_aeroo",
],
"installable": True,
}
8 changes: 6 additions & 2 deletions .docker_files/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
git+https://github.com/numigi/aeroolib@master
Genshi==0.7.5
# git+https://github.com/aeroo/aeroolib.git
# waiting for PR https://github.com/aeroo/aeroolib/pull/12
git+https://github.com/adhoc-dev/aeroolib@master-fix-ods
git+https://github.com/aeroo/currency2text.git
# use this genshi version to fix error when, for eg, you send arguments like "date=True" check this https://genshi.edgewall.org/ticket/600
genshi==0.7.7
freezegun==0.3.10
html2text==2018.1.9
ddt==1.2.1
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ RUN mkdir -p "${THIRD_PARTY_ADDONS}" && chown -R odoo "${THIRD_PARTY_ADDONS}"

USER odoo

COPY report_aeroo /mnt/extra-addons/report_aeroo

COPY .docker_files/main /mnt/extra-addons/main
COPY .docker_files/odoo.conf /etc/odoo
30 changes: 30 additions & 0 deletions report_aeroo/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
################################################################################
#
# Copyright (c) 2009-2018 Alistek ( http://www.alistek.com ) All Rights Reserved.
# General contacts <[email protected]>
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsability of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# garantees and support are strongly adviced to contract a Free Software
# Service Company
#
# This program is Free Software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 3
# of the License, or (at your option) any later version.
#
# This module is GPLv3 or newer and incompatible
# with OpenERP SA "AGPL + Private Use License"!
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
################################################################################
88 changes: 88 additions & 0 deletions report_aeroo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
This is ALPHA version of Aeroo Reports for Odoo v11
--------------------------------------------------------------------------------

Enterprise grade reporting solution for Odoo
--------------------------------------------------------------------------------
Aeroo Reports for Odoo is a comprehensive and versatile reporting engine based
on Aeroo Library.

It supports most of the current and leacy business document formats. Being it
printable invoice, personalized HTML content for e-mail marketing or just an
inventory labels - Aeroo Reports can do them all.

Even more, using RAW reporting option, you can create reports for your custom
document format, that gives full advantage of integrating bost office &
industrial printing hardware and software.

Developing new reports is as easy as using mainstream office packages -
OpenOffice.org/LibreOffice. That means, use them as WYSIWYG template editor.

For more information on how this technology differs from other
reporting options, please reference reporting engine comparison matrix:
http://www.alistek.com/wiki/index.php/Comparison_matrix_of_reporting_engines_for_OpenERP


Sponsors of Aeroo Reports port for Odoo v11
--------------------------------------------------------------------------------
Special thanks goes to ADHOC commitment and FlectraHQ for making huge difference

* ADHOC - https://www.adhoc.com.ar/
* FlectraHQ - https://flectrahq.com/
* BESCO - http://besco.vn"
* Serpent CS - http://www.serpentcs.com/
* CYSFuturo - support@​cysfuturo.com

Modules in this category
--------------------------------------------------------------------------------
* Aeroo Reports (report_aeroo), this module
* Aeroo Reports Direct Print (report_aeroo_direct_print), print reports without preview
* Aeroo Reports Prinscreen (report_aeroo_printscreen), report any model in a spreadsheet report
* Aeroo Reports demo (report_aeroo_sample), just a demo

More information and documentation
--------------------------------------------------------------------------------
http://www.alistek.com/wiki/index.php/Main_Page

Report templates in the following formats
--------------------------------------------------------------------------------
* Open Document Format (ODF) - .odt, .ods;
* Other ASCII based formats, like HTML, CSV, etc.

Output formats:
--------------------------------------------------------------------------------
* Open Document Format (ODF) - .odt, .ods;
* Other ASCII based formats, like HTML, CSV, etc.
* using Aeroo DOCS - PDF, DOC, XLS, CSV.

Reporting engine features
--------------------------------------------------------------------------------
* Add reports from UI "on the fly";
* Install reports from module;
* Dynamic template load/unload;
* Extra Functions - set of functions for rapid template development;
* Use templates stored on filesystem, database or elsewhere;
* Same button - different templates;
* Powerful stylesheet system for ODF templates;
* Global or local stylesheets;
* Template preloading for performance concerns;
* User defined parsers;
* Report deactivation;
* Optional format fallback;
* Add/Remove print button wizards;
* Test report on particular object ID, directly from Report form;
* Translatable reports;
* Translation export;
* Number of copies;
* Universal Report wizard;
* Override report file extension (for direct printing, etc);
* Separate input/output format selections;

Input - Output format pairs
--------------------------------------------------------------------------------
* odt - odt/doc/pdf;
* ods - ods/xls/pdf/csv;
* html - html;

Original work and inspiration
--------------------------------------------------------------------------------
This module is based on the original work of Simone Orsi (Domsense)
25 changes: 25 additions & 0 deletions report_aeroo/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
################################################################################
#
# This file is part of Aeroo Reports software - for license refer LICENSE file
#
################################################################################

# check_list = [
# 'import aeroolib',
# 'import genshi',
# 'from genshi.template import NewTextTemplate',
# 'from xml.dom import minidom',
# 'from pyPdf import PdfFileWriter, PdfFileReader',
# ]

# from . import check_deps
# check_deps(check_list)

from . import controllers
from . import models
from . import report_parser

from . import report
from . import demo

from . import wizard
33 changes: 33 additions & 0 deletions report_aeroo/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
################################################################################
#
# This file is part of Aeroo Reports software - for license refer LICENSE file
#
################################################################################

{
'name': 'Aeroo Reports',
'version': "16.0.1.2.0",
'category': 'Generic Modules/Aeroo Reports',
'summary': 'Enterprise grade reporting solution',
'author': 'Alistek',
'website': 'http://www.alistek.com',
'complexity': "easy",
'depends': ['base', 'web', 'mail'],
'data': [
"views/report_view.xml",
"data/report_aeroo_data.xml",
"wizard/installer.xml",
"security/ir.model.access.csv",
"demo/report_sample.xml",
],
'assets': {
'web.assets_backend': [
'report_aeroo/static/src/js/report/reportactionmanager.js',
],
},
"license": "GPL-3 or any later version",
'installable': True,
'active': False,
'application': True,
'auto_install': False,
}
Loading

0 comments on commit 0ca416a

Please sign in to comment.