diff --git a/thermal_invoice_report/README.rst b/thermal_invoice_report/README.rst new file mode 100644 index 000000000..ad04956cb --- /dev/null +++ b/thermal_invoice_report/README.rst @@ -0,0 +1,42 @@ +ToDo List +========= +* Thermal Invoice for Odoo 15 + +Installation +============ + - www.odoo.com/documentation/15.0/setup/install.html + - Install our custom addon + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.odoo.com/documentation/user/15.0/legal/licenses/licenses.html) + +Company +------- +* 'Cybrosys Techno Solutions + +Credits +------- +* Developer: +(v15) Swaroop N P @ Cybrosys + + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit https://www.cybrosys.com + +Further information +=================== +HTML Description: ``__ + diff --git a/thermal_invoice_report/__init__.py b/thermal_invoice_report/__init__.py new file mode 100644 index 000000000..fb0ef1c69 --- /dev/null +++ b/thermal_invoice_report/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# \ No newline at end of file diff --git a/thermal_invoice_report/__manifest__.py b/thermal_invoice_report/__manifest__.py new file mode 100644 index 000000000..dcc75aa61 --- /dev/null +++ b/thermal_invoice_report/__manifest__.py @@ -0,0 +1,42 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +{ + 'name': "Thermal Invoice Report", + 'version': '15.0.1.0.0', + 'summary': 'This app allows us to print thermal Invoices.', + 'description': 'This app allows us to print thermal Invoices.', + 'category': 'Extra Tools', + 'author': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['base', 'account'], + 'data': [ + 'data/report_paperformat_data.xml', + 'report/thermal_report.xml', + ], + 'images': ['static/description/banner.png'], + 'installable': True, + 'application': False, + 'auto_install': False, + 'license': 'LGPL-3', +} diff --git a/thermal_invoice_report/data/report_paperformat_data.xml b/thermal_invoice_report/data/report_paperformat_data.xml new file mode 100644 index 000000000..a07ba36c1 --- /dev/null +++ b/thermal_invoice_report/data/report_paperformat_data.xml @@ -0,0 +1,20 @@ + + + + + Thermal Paper + + custom + 75 + 58 + Portrait + 1 + 0 + 0 + 0 + + 35 + 96 + + + \ No newline at end of file diff --git a/thermal_invoice_report/doc/RELEASE_NOTES.md b/thermal_invoice_report/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..f28a8ddcf --- /dev/null +++ b/thermal_invoice_report/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 06.12.2022 +#### Version 15.0.1.0.0 +#### ADD +- Initial commit for Odoo 15 thermal_invoice_report diff --git a/thermal_invoice_report/report/thermal_report.xml b/thermal_invoice_report/report/thermal_report.xml new file mode 100644 index 000000000..aac684ea9 --- /dev/null +++ b/thermal_invoice_report/report/thermal_report.xml @@ -0,0 +1,152 @@ + + + + Thermal Invoice + account.move + qweb-pdf + thermal_invoice_report.report_thermal + thermal_invoice_report.report_thermal + (object._get_report_base_filename()) + + report + + + + + + + + \ No newline at end of file diff --git a/thermal_invoice_report/static/description/assets/icons/check.png b/thermal_invoice_report/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/thermal_invoice_report/static/description/assets/icons/check.png differ diff --git a/thermal_invoice_report/static/description/assets/icons/chevron.png b/thermal_invoice_report/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/thermal_invoice_report/static/description/assets/icons/chevron.png differ diff --git a/thermal_invoice_report/static/description/assets/icons/cogs.png b/thermal_invoice_report/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/thermal_invoice_report/static/description/assets/icons/cogs.png differ diff --git a/thermal_invoice_report/static/description/assets/icons/consultation.png b/thermal_invoice_report/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/thermal_invoice_report/static/description/assets/icons/consultation.png differ diff --git a/thermal_invoice_report/static/description/assets/icons/ecom-black.png b/thermal_invoice_report/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/thermal_invoice_report/static/description/assets/icons/ecom-black.png differ diff --git a/thermal_invoice_report/static/description/assets/icons/education-black.png b/thermal_invoice_report/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/thermal_invoice_report/static/description/assets/icons/education-black.png differ diff --git a/thermal_invoice_report/static/description/assets/icons/hotel-black.png b/thermal_invoice_report/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/thermal_invoice_report/static/description/assets/icons/hotel-black.png differ diff --git a/thermal_invoice_report/static/description/assets/icons/license.png b/thermal_invoice_report/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/thermal_invoice_report/static/description/assets/icons/license.png differ diff --git a/thermal_invoice_report/static/description/assets/icons/lifebuoy.png b/thermal_invoice_report/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/thermal_invoice_report/static/description/assets/icons/lifebuoy.png differ diff --git a/thermal_invoice_report/static/description/assets/icons/logo.png b/thermal_invoice_report/static/description/assets/icons/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/thermal_invoice_report/static/description/assets/icons/logo.png differ diff --git a/thermal_invoice_report/static/description/assets/icons/manufacturing-black.png b/thermal_invoice_report/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/thermal_invoice_report/static/description/assets/icons/manufacturing-black.png differ diff --git a/thermal_invoice_report/static/description/assets/icons/pos-black.png b/thermal_invoice_report/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/thermal_invoice_report/static/description/assets/icons/pos-black.png differ diff --git a/thermal_invoice_report/static/description/assets/icons/puzzle.png b/thermal_invoice_report/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/thermal_invoice_report/static/description/assets/icons/puzzle.png differ diff --git a/thermal_invoice_report/static/description/assets/icons/restaurant-black.png b/thermal_invoice_report/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/thermal_invoice_report/static/description/assets/icons/restaurant-black.png differ diff --git a/thermal_invoice_report/static/description/assets/icons/service-black.png b/thermal_invoice_report/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/thermal_invoice_report/static/description/assets/icons/service-black.png differ diff --git a/thermal_invoice_report/static/description/assets/icons/trading-black.png b/thermal_invoice_report/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/thermal_invoice_report/static/description/assets/icons/trading-black.png differ diff --git a/thermal_invoice_report/static/description/assets/icons/training.png b/thermal_invoice_report/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/thermal_invoice_report/static/description/assets/icons/training.png differ diff --git a/thermal_invoice_report/static/description/assets/icons/update.png b/thermal_invoice_report/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/thermal_invoice_report/static/description/assets/icons/update.png differ diff --git a/thermal_invoice_report/static/description/assets/icons/user.png b/thermal_invoice_report/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/thermal_invoice_report/static/description/assets/icons/user.png differ diff --git a/thermal_invoice_report/static/description/assets/icons/wrench.png b/thermal_invoice_report/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/thermal_invoice_report/static/description/assets/icons/wrench.png differ diff --git a/thermal_invoice_report/static/description/assets/modules/budget_image.png b/thermal_invoice_report/static/description/assets/modules/budget_image.png new file mode 100644 index 000000000..b50130c7d Binary files /dev/null and b/thermal_invoice_report/static/description/assets/modules/budget_image.png differ diff --git a/thermal_invoice_report/static/description/assets/modules/credit_image.png b/thermal_invoice_report/static/description/assets/modules/credit_image.png new file mode 100644 index 000000000..3ad04ecfd Binary files /dev/null and b/thermal_invoice_report/static/description/assets/modules/credit_image.png differ diff --git a/thermal_invoice_report/static/description/assets/modules/employee_image.png b/thermal_invoice_report/static/description/assets/modules/employee_image.png new file mode 100644 index 000000000..30ad58232 Binary files /dev/null and b/thermal_invoice_report/static/description/assets/modules/employee_image.png differ diff --git a/thermal_invoice_report/static/description/assets/modules/export_image.png b/thermal_invoice_report/static/description/assets/modules/export_image.png new file mode 100644 index 000000000..492980ad0 Binary files /dev/null and b/thermal_invoice_report/static/description/assets/modules/export_image.png differ diff --git a/thermal_invoice_report/static/description/assets/modules/gantt_image.png b/thermal_invoice_report/static/description/assets/modules/gantt_image.png new file mode 100644 index 000000000..1ae7cfe3b Binary files /dev/null and b/thermal_invoice_report/static/description/assets/modules/gantt_image.png differ diff --git a/thermal_invoice_report/static/description/assets/modules/quotation_image.png b/thermal_invoice_report/static/description/assets/modules/quotation_image.png new file mode 100644 index 000000000..499b1a72f Binary files /dev/null and b/thermal_invoice_report/static/description/assets/modules/quotation_image.png differ diff --git a/thermal_invoice_report/static/description/assets/screenshots/hero.gif b/thermal_invoice_report/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..1d7fddb4f Binary files /dev/null and b/thermal_invoice_report/static/description/assets/screenshots/hero.gif differ diff --git a/thermal_invoice_report/static/description/assets/screenshots/screenshot-1.png b/thermal_invoice_report/static/description/assets/screenshots/screenshot-1.png new file mode 100644 index 000000000..013bed5af Binary files /dev/null and b/thermal_invoice_report/static/description/assets/screenshots/screenshot-1.png differ diff --git a/thermal_invoice_report/static/description/assets/screenshots/screenshot-2.png b/thermal_invoice_report/static/description/assets/screenshots/screenshot-2.png new file mode 100644 index 000000000..4d56ab264 Binary files /dev/null and b/thermal_invoice_report/static/description/assets/screenshots/screenshot-2.png differ diff --git a/thermal_invoice_report/static/description/assets/screenshots/screenshot-3.png b/thermal_invoice_report/static/description/assets/screenshots/screenshot-3.png new file mode 100644 index 000000000..d21afb085 Binary files /dev/null and b/thermal_invoice_report/static/description/assets/screenshots/screenshot-3.png differ diff --git a/thermal_invoice_report/static/description/banner.png b/thermal_invoice_report/static/description/banner.png new file mode 100644 index 000000000..0df6c4632 Binary files /dev/null and b/thermal_invoice_report/static/description/banner.png differ diff --git a/thermal_invoice_report/static/description/icon.png b/thermal_invoice_report/static/description/icon.png new file mode 100644 index 000000000..e4916151e Binary files /dev/null and b/thermal_invoice_report/static/description/icon.png differ diff --git a/thermal_invoice_report/static/description/index.html b/thermal_invoice_report/static/description/index.html new file mode 100644 index 000000000..82410ad88 --- /dev/null +++ b/thermal_invoice_report/static/description/index.html @@ -0,0 +1,534 @@ +
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+ +
+
+
+
+ +
+
+
+

+ Thermal Invoice Receipt

+

+ A Module For Printing Thermal Invoice +

+ +
+
+ + + +
+
+

+ Overview +

+
+ +
+

+ In the Thermal Invoice Receipt App, We can Print Thermal Print.

+
+

+ +
+ + +
+
+

+ Features +

+
+ +
+
+ +
+
+

+ Print Thermal Invoice

+
+
+ +
+ +
+
+

+ Screenshots +

+
+
+

+ Print Thermal Invoice

+

+

+ +
+ +
+

+ Thermal Invoice

+

+

+ + +
+ + +
+ +
+
+

Suggested Products

+
+ + +
+
+ + + +
+
+
+

Our Services

+
+
+ +
+
+ +
+
+ Odoo + Customization
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Support
+
+ + +
+
+ +
+
+ Hire + Odoo + Developer
+
+ +
+
+ +
+
+ Odoo + Integration
+
+ +
+
+ +
+
+ Odoo + Migration
+
+ + +
+
+ +
+
+ Odoo + Consultancy
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Licensing Consultancy
+
+
+
+ + + +
+
+
+

Our Industries

+
+
+ +
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+ +
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+ +
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+ +
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

+
+
+ +
+
+ +
+ E-commerce & Website +
+

+ Mobile + friendly, + awe-inspiring product pages

+
+
+ +
+
+ +
+ Service Management +
+

+ Keep track of + services and invoice

+
+
+ +
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

+
+
+ +
+
+ +
+ Hotel Management +
+

+ An + all-inclusive + hotel management application

+
+
+ +
+
+ + + + + +
+
+
+

Need Help?

+
+
+
+ + +
+ +
+ + +
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ + +
\ No newline at end of file diff --git a/thermal_invoice_report/static/src/css/thermal_style.css b/thermal_invoice_report/static/src/css/thermal_style.css new file mode 100644 index 000000000..64fceeeb5 --- /dev/null +++ b/thermal_invoice_report/static/src/css/thermal_style.css @@ -0,0 +1,60 @@ +@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap'); + +body { + font-family: 'VT323', monospace; + + +} + +.my_container { + font-family: 'VT323', monospace; + + font-size: 8px; + +} + +.my_table, .my_product_table { + width: 90%; + border: transparent; +} + +.my_table,.my_product_table { + padding-left: 20px; + padding-right: 20px; +} + + +.my_product_table tr:first-child { + border-bottom: 1px; + border-style: dashed; + +} + +.cntr { + display: flex; + justify-content: center; + width: 100%; +} +.my_section{ + width: 90%; + position: relative; + padding: 0 5px + +} + +.detail_section{ + text-align:left; +} +.date_section{ + position: absolute; + text-align: left; + right: 0; + top:10px; +} + + +.my_table tr td:nth-child(3n+3) { + text-align: right; +} + +