diff --git a/odoo_print_cheque/README.rst b/odoo_print_cheque/README.rst new file mode 100644 index 000000000..491060869 --- /dev/null +++ b/odoo_print_cheque/README.rst @@ -0,0 +1,54 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Print Cheques +============= +This module enables the user to print cheque in odoo community. The format of +the cheque can be customized by configuring its settings. This allows the user +to have control over how the information is displayed on the cheque when it is +printed. + +Configuration +============= +- install our custom module https://apps.odoo.com/apps/modules/16.0/base_accounting_kit/ +- configure the cheque format by aligning the details from accounting module--> configuration--> Configure Cheques. + +Installation +============ +- www.odoo.com/documentation/16.0/setup/install.html +- Install our custom addon + +License +------- +General Public License, Version 3 (AGPL v3). +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developer: (V16) Aslam A K, Contact : odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://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 +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +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/odoo_print_cheque/__init__.py b/odoo_print_cheque/__init__.py new file mode 100644 index 000000000..7faffe1ea --- /dev/null +++ b/odoo_print_cheque/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Aslam A K( odoo@cybrosys.com ) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################### +from . import models +from . import wizard diff --git a/odoo_print_cheque/__manifest__.py b/odoo_print_cheque/__manifest__.py new file mode 100644 index 000000000..298554710 --- /dev/null +++ b/odoo_print_cheque/__manifest__.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Aslam A K( odoo@cybrosys.com ) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################### +{ + 'name': "Cheque Print", + 'version': "16.0.1.0.0'", + 'category': "Accounting", + 'summary': """Print bank cheques format in odoo""", + 'description': """ This module was developed to print cheques formats in + odoo community edition""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['base_accounting_kit'], + 'data': [ + 'security/ir.model.access.csv', + 'views/res_config_settings_views.xml', + 'views/cheque_format_views.xml', + 'views/account_payment_views.xml', + 'report/cheque_format_templates.xml', + 'report/cheque_format_reports.xml', + 'wizard/cheque_type_views.xml' + ], + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/odoo_print_cheque/doc/RELEASE_NOTES.md b/odoo_print_cheque/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..31285c3a9 --- /dev/null +++ b/odoo_print_cheque/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 12.02.2024 +#### Version 16.0.1.0.0 +#### ADD +- Initial commit for Print Cheques diff --git a/odoo_print_cheque/models/__init__.py b/odoo_print_cheque/models/__init__.py new file mode 100644 index 000000000..8b82b9654 --- /dev/null +++ b/odoo_print_cheque/models/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Aslam A K( odoo@cybrosys.com ) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################### +from . import account_payment +from . import cheque_format diff --git a/odoo_print_cheque/models/account_payment.py b/odoo_print_cheque/models/account_payment.py new file mode 100644 index 000000000..076ddccfd --- /dev/null +++ b/odoo_print_cheque/models/account_payment.py @@ -0,0 +1,58 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Aslam A K( odoo@cybrosys.com ) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################### +from odoo import models + + +class AccountPayment(models.Model): + """ + This class inherits from the 'account.payment' model to add specific + features and behavior related to printing checks and handling payment + information. It overrides the 'print_checks' method to provide a custom + wizard view for selecting and formatting cheque printing options. + """ + _inherit = 'account.payment' + + def print_checks(self): + """ + Overriding print_checks button to generate a wizard view to print + cheque by selecting a cheque print format. + """ + if self.payment_method_line_id.payment_method_id.name == 'Checks': + cheque_date = self.date + elif self.payment_method_line_id.payment_method_id.name == 'PDC': + cheque_date = self.effective_date + return { + 'name': "Cheque Format", + 'type': 'ir.actions.act_window', + 'view_type': 'form', + 'view_mode': 'form', + 'res_model': 'cheque.types', + 'target': 'new', + 'context': { + 'default_partner_id': self.partner_id.id, + 'default_cheque_amount_in_words': self.check_amount_in_words, + 'default_cheque_date': cheque_date, + 'default_cheque_amount': self.amount, + 'default_check_number': self.check_number, + 'default_payment_id': self.id + } + } diff --git a/odoo_print_cheque/models/cheque_format.py b/odoo_print_cheque/models/cheque_format.py new file mode 100644 index 000000000..e46701c2c --- /dev/null +++ b/odoo_print_cheque/models/cheque_format.py @@ -0,0 +1,134 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Aslam A K( odoo@cybrosys.com ) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################### +from odoo import fields, models + + +class ChequeFormat(models.Model): + """ Configure cheque print template.""" + _name = 'cheque.format' + _description = 'Cheque Format' + _rec_name = 'bank_name' + + bank_name = fields.Char(string='Bank Name', + help='Enter the name of the bank.', + required=True) + font_size = fields.Float(string='Font Size', + help='Total font size for the text.') + cheque_width = fields.Float(string='Width', help='Width of the cheque.') + cheque_height = fields.Float(string='Height', help='Height of the cheque.') + print_cheque_number = fields.Boolean(string='Print Cheque Number', + help='Enable to print the cheque ' + 'sequence number. ' + 'You can adjust this if the ' + 'numbering is incorrect.') + cheque_no_tm = fields.Float(string='Cheque No: Top Margin', + help="Top margin for the cheque number.") + cheque_no_lm = fields.Float(string='Cheque No: Left Margin', + help="Left margin for the cheque number.") + is_account_payee = fields.Boolean(string="Crossed Account Payee Cheque", + help="Select to make the cheque a " + "Crossed Account Payee cheque. " + "Prints ‘A/C Payee Only’ between " + "parallel crossing lines.") + a_c_payee_top_margin = fields.Float(string='Payee Top Margin', + help="Top margin for the 'A/C Payee' " + "text.") + a_c_payee_left_margin = fields.Float(string="Payee Left Margin", + help="Left margin for the 'A/C Payee'" + " text.") + a_c_payee_width = fields.Float(string="Payee Width", + help="Width of the 'A/C Payee' text.") + a_c_payee_height = fields.Float(string="Payee Height", + help="Height of the 'A/C Payee' text.") + date_remove_slashes = fields.Boolean(string="Remove Slashes", + help="Enable to remove slashes from" + " the date.") + date_top_margin = fields.Float(string="Date Top Margin", + help="Top margin for the date.") + date_left_margin = fields.Float(string="Date Left Margin", + help="Left margin for the date.") + date_letter_spacing = fields.Float(string="Date Letter Spacing", + help="Spacing between date characters.") + beneficiary_top_margin = fields.Float(string="Beneficiary Top Margin", + help="Top margin for the beneficiary" + " name.") + beneficiary_left_margin = fields.Float(string="Beneficiary Left Margin", + help="Left margin for the " + "beneficiary name.") + amount_word_tm = fields.Float(string="Amount in Words Top Margin", + help="Top margin for the amount in words.") + amount_word_lm = fields.Float(string="Amount in Words Left Margin", + help="Left margin for the amount in words.") + amount_word_ls = fields.Float(string="Amount in Words Letter Spacing", + help="Spacing between characters in the " + "amount in words.") + print_currency = fields.Boolean(string="Print Currency Symbol", + help="Enable to print the currency symbol." + "") + amount_digit_tm = fields.Float(string="Amount in Digits Top Margin", + help="Top margin for the amount in digits." + "") + amount_digit_lm = fields.Float(string="Amount in Digits Left Margin", + help="Left margin for the amount in digits." + "") + amount_digit_ls = fields.Float(string="Amount in Digits Letter Spacing", + help="Spacing between characters in the " + "amount in digits.") + amount_digit_size = fields.Float(string="Amount in Digits Font Size", + help="Font size for the amount in digits" + ".") + + def action_print_test(self): + """ + Print a test cheque to make corrections for the user in cheque format. + """ + data = { + 'cheque_width': self.cheque_width, + 'cheque_height': self.cheque_height, + 'font_size': self.font_size, + 'print_cheque_number': self.print_cheque_number, + 'cheque_no_tm': self.cheque_no_tm, + 'cheque_no_lm': self.cheque_no_lm, + 'is_account_payee': self.is_account_payee, + 'a_c_payee_top_margin': self.a_c_payee_top_margin, + 'a_c_payee_left_margin': self.a_c_payee_left_margin, + 'a_c_payee_width': self.a_c_payee_width, + 'a_c_payee_height': self.a_c_payee_height, + 'date_top_margin': self.date_top_margin, + 'date_left_margin': self.date_left_margin, + 'date_letter_spacing': self.date_letter_spacing, + 'beneficiary_top_margin': self.beneficiary_top_margin, + 'beneficiary_left_margin': self.beneficiary_left_margin, + 'amount_word_tm': self.amount_word_tm, + 'amount_word_lm': self.amount_word_lm, + 'amount_word_ls': self.amount_word_ls, + 'amount_digit_tm': self.amount_digit_tm, + 'amount_digit_lm': self.amount_digit_lm, + 'amount_digit_ls': self.amount_digit_ls, + 'amount_digit_size': self.amount_digit_size, + 'print_currency': self.print_currency, + 'currency_symbol': self.env.company.currency_id.symbol, + 'date_remove_slashes': self.date_remove_slashes + } + return self.env.ref( + 'odoo_print_cheque.test_cheque_action').report_action(None, + data=data) diff --git a/odoo_print_cheque/report/cheque_format_reports.xml b/odoo_print_cheque/report/cheque_format_reports.xml new file mode 100644 index 000000000..5a7583b1a --- /dev/null +++ b/odoo_print_cheque/report/cheque_format_reports.xml @@ -0,0 +1,53 @@ + + + + + + Print Cheque + + A4 + Landscape + + 1 + 1 + + 90 + + + + Cheque + cheque.format + qweb-pdf + odoo_print_cheque.cheque_print + odoo_print_cheque.cheque_print + + + report + + + + + Print Test Cheque + + A4 + Landscape + + 1 + 1 + + 90 + + + + Test Print + cheque.format + qweb-pdf + odoo_print_cheque.cheque_test_print + odoo_print_cheque.cheque_test_print + + + report + + diff --git a/odoo_print_cheque/report/cheque_format_templates.xml b/odoo_print_cheque/report/cheque_format_templates.xml new file mode 100644 index 000000000..fc39c408e --- /dev/null +++ b/odoo_print_cheque/report/cheque_format_templates.xml @@ -0,0 +1,92 @@ + + + + + + diff --git a/odoo_print_cheque/security/ir.model.access.csv b/odoo_print_cheque/security/ir.model.access.csv new file mode 100644 index 000000000..d74561e06 --- /dev/null +++ b/odoo_print_cheque/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id/id,group_id/id,perm_read,perm_write,perm_create,perm_unlink +access_cheque_format_user,access.cheque.format.user,model_cheque_format,base.group_user,1,1,1,1 +access_cheque_types_user,access.cheque_types_user,model_cheque_types,base.group_user,1,1,1,1 diff --git a/odoo_print_cheque/static/description/assets/icons/check.png b/odoo_print_cheque/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/odoo_print_cheque/static/description/assets/icons/check.png differ diff --git a/odoo_print_cheque/static/description/assets/icons/chevron.png b/odoo_print_cheque/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/icons/chevron.png differ diff --git a/odoo_print_cheque/static/description/assets/icons/cogs.png b/odoo_print_cheque/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/icons/cogs.png differ diff --git a/odoo_print_cheque/static/description/assets/icons/consultation.png b/odoo_print_cheque/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/odoo_print_cheque/static/description/assets/icons/consultation.png differ diff --git a/odoo_print_cheque/static/description/assets/icons/ecom-black.png b/odoo_print_cheque/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/icons/ecom-black.png differ diff --git a/odoo_print_cheque/static/description/assets/icons/education-black.png b/odoo_print_cheque/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/odoo_print_cheque/static/description/assets/icons/education-black.png differ diff --git a/odoo_print_cheque/static/description/assets/icons/hotel-black.png b/odoo_print_cheque/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/odoo_print_cheque/static/description/assets/icons/hotel-black.png differ diff --git a/odoo_print_cheque/static/description/assets/icons/license.png b/odoo_print_cheque/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/odoo_print_cheque/static/description/assets/icons/license.png differ diff --git a/odoo_print_cheque/static/description/assets/icons/lifebuoy.png b/odoo_print_cheque/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/odoo_print_cheque/static/description/assets/icons/lifebuoy.png differ diff --git a/odoo_print_cheque/static/description/assets/icons/manufacturing-black.png b/odoo_print_cheque/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/odoo_print_cheque/static/description/assets/icons/manufacturing-black.png differ diff --git a/odoo_print_cheque/static/description/assets/icons/pos-black.png b/odoo_print_cheque/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/icons/pos-black.png differ diff --git a/odoo_print_cheque/static/description/assets/icons/puzzle.png b/odoo_print_cheque/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/icons/puzzle.png differ diff --git a/odoo_print_cheque/static/description/assets/icons/restaurant-black.png b/odoo_print_cheque/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/icons/restaurant-black.png differ diff --git a/odoo_print_cheque/static/description/assets/icons/service-black.png b/odoo_print_cheque/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/odoo_print_cheque/static/description/assets/icons/service-black.png differ diff --git a/odoo_print_cheque/static/description/assets/icons/trading-black.png b/odoo_print_cheque/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/icons/trading-black.png differ diff --git a/odoo_print_cheque/static/description/assets/icons/training.png b/odoo_print_cheque/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/odoo_print_cheque/static/description/assets/icons/training.png differ diff --git a/odoo_print_cheque/static/description/assets/icons/update.png b/odoo_print_cheque/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/odoo_print_cheque/static/description/assets/icons/update.png differ diff --git a/odoo_print_cheque/static/description/assets/icons/user.png b/odoo_print_cheque/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/odoo_print_cheque/static/description/assets/icons/user.png differ diff --git a/odoo_print_cheque/static/description/assets/icons/wrench.png b/odoo_print_cheque/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/odoo_print_cheque/static/description/assets/icons/wrench.png differ diff --git a/odoo_print_cheque/static/description/assets/misc/categories.png b/odoo_print_cheque/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/misc/categories.png differ diff --git a/odoo_print_cheque/static/description/assets/misc/check-box.png b/odoo_print_cheque/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/misc/check-box.png differ diff --git a/odoo_print_cheque/static/description/assets/misc/compass.png b/odoo_print_cheque/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/odoo_print_cheque/static/description/assets/misc/compass.png differ diff --git a/odoo_print_cheque/static/description/assets/misc/corporate.png b/odoo_print_cheque/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/odoo_print_cheque/static/description/assets/misc/corporate.png differ diff --git a/odoo_print_cheque/static/description/assets/misc/customer-support.png b/odoo_print_cheque/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/odoo_print_cheque/static/description/assets/misc/customer-support.png differ diff --git a/odoo_print_cheque/static/description/assets/misc/cybrosys-logo.png b/odoo_print_cheque/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/odoo_print_cheque/static/description/assets/misc/cybrosys-logo.png differ diff --git a/odoo_print_cheque/static/description/assets/misc/features.png b/odoo_print_cheque/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/misc/features.png differ diff --git a/odoo_print_cheque/static/description/assets/misc/logo.png b/odoo_print_cheque/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/odoo_print_cheque/static/description/assets/misc/logo.png differ diff --git a/odoo_print_cheque/static/description/assets/misc/pictures.png b/odoo_print_cheque/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/misc/pictures.png differ diff --git a/odoo_print_cheque/static/description/assets/misc/pie-chart.png b/odoo_print_cheque/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/misc/pie-chart.png differ diff --git a/odoo_print_cheque/static/description/assets/misc/right-arrow.png b/odoo_print_cheque/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/misc/right-arrow.png differ diff --git a/odoo_print_cheque/static/description/assets/misc/star.png b/odoo_print_cheque/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/odoo_print_cheque/static/description/assets/misc/star.png differ diff --git a/odoo_print_cheque/static/description/assets/misc/support.png b/odoo_print_cheque/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/misc/support.png differ diff --git a/odoo_print_cheque/static/description/assets/misc/whatsapp.png b/odoo_print_cheque/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/misc/whatsapp.png differ diff --git a/odoo_print_cheque/static/description/assets/modules/1.gif b/odoo_print_cheque/static/description/assets/modules/1.gif new file mode 100644 index 000000000..8f40aab85 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/modules/1.gif differ diff --git a/odoo_print_cheque/static/description/assets/modules/2.png b/odoo_print_cheque/static/description/assets/modules/2.png new file mode 100644 index 000000000..6d637752d Binary files /dev/null and b/odoo_print_cheque/static/description/assets/modules/2.png differ diff --git a/odoo_print_cheque/static/description/assets/modules/3.png b/odoo_print_cheque/static/description/assets/modules/3.png new file mode 100644 index 000000000..15b141248 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/modules/3.png differ diff --git a/odoo_print_cheque/static/description/assets/modules/4.png b/odoo_print_cheque/static/description/assets/modules/4.png new file mode 100644 index 000000000..57eebc5b2 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/modules/4.png differ diff --git a/odoo_print_cheque/static/description/assets/modules/5.jpg b/odoo_print_cheque/static/description/assets/modules/5.jpg new file mode 100644 index 000000000..4725892dd Binary files /dev/null and b/odoo_print_cheque/static/description/assets/modules/5.jpg differ diff --git a/odoo_print_cheque/static/description/assets/modules/6.jpg b/odoo_print_cheque/static/description/assets/modules/6.jpg new file mode 100644 index 000000000..85681fa5e Binary files /dev/null and b/odoo_print_cheque/static/description/assets/modules/6.jpg differ diff --git a/odoo_print_cheque/static/description/assets/screenshots/1.png b/odoo_print_cheque/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..5a266a7f7 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/screenshots/1.png differ diff --git a/odoo_print_cheque/static/description/assets/screenshots/10.png b/odoo_print_cheque/static/description/assets/screenshots/10.png new file mode 100644 index 000000000..855397753 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/screenshots/10.png differ diff --git a/odoo_print_cheque/static/description/assets/screenshots/11.png b/odoo_print_cheque/static/description/assets/screenshots/11.png new file mode 100644 index 000000000..e1dbee909 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/screenshots/11.png differ diff --git a/odoo_print_cheque/static/description/assets/screenshots/2.png b/odoo_print_cheque/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..2835f8919 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/screenshots/2.png differ diff --git a/odoo_print_cheque/static/description/assets/screenshots/3.png b/odoo_print_cheque/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..ab9849679 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/screenshots/3.png differ diff --git a/odoo_print_cheque/static/description/assets/screenshots/4.png b/odoo_print_cheque/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..b7a4b6551 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/screenshots/4.png differ diff --git a/odoo_print_cheque/static/description/assets/screenshots/5.png b/odoo_print_cheque/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..013dc7ae6 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/screenshots/5.png differ diff --git a/odoo_print_cheque/static/description/assets/screenshots/6.png b/odoo_print_cheque/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..7b269515f Binary files /dev/null and b/odoo_print_cheque/static/description/assets/screenshots/6.png differ diff --git a/odoo_print_cheque/static/description/assets/screenshots/7.png b/odoo_print_cheque/static/description/assets/screenshots/7.png new file mode 100644 index 000000000..c2b0d8533 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/screenshots/7.png differ diff --git a/odoo_print_cheque/static/description/assets/screenshots/8.png b/odoo_print_cheque/static/description/assets/screenshots/8.png new file mode 100644 index 000000000..bae7826f3 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/screenshots/8.png differ diff --git a/odoo_print_cheque/static/description/assets/screenshots/9.png b/odoo_print_cheque/static/description/assets/screenshots/9.png new file mode 100644 index 000000000..707223a43 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/screenshots/9.png differ diff --git a/odoo_print_cheque/static/description/assets/screenshots/hero.gif b/odoo_print_cheque/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..f7b3335e4 Binary files /dev/null and b/odoo_print_cheque/static/description/assets/screenshots/hero.gif differ diff --git a/odoo_print_cheque/static/description/banner.jpg b/odoo_print_cheque/static/description/banner.jpg new file mode 100644 index 000000000..62ac86fbe Binary files /dev/null and b/odoo_print_cheque/static/description/banner.jpg differ diff --git a/odoo_print_cheque/static/description/icon.png b/odoo_print_cheque/static/description/icon.png new file mode 100644 index 000000000..5cd3d3283 Binary files /dev/null and b/odoo_print_cheque/static/description/icon.png differ diff --git a/odoo_print_cheque/static/description/index.html b/odoo_print_cheque/static/description/index.html new file mode 100644 index 000000000..3943e0fd7 --- /dev/null +++ b/odoo_print_cheque/static/description/index.html @@ -0,0 +1,714 @@ +
+ +
+ +
+
+ Community +
+
+
+ + + +
+
+
+

+ Print Cheques

+

+ Print Cheques Allows to Set Up Bank Cheque Formats to + Print on Cheques Easily.

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

+ Explore This + Module

+
+ + + + +
+
+ +
+

+ Overview +

+
+
+
+ The Cheque Print application provides users with a + customizable template that can be used to print cheques. The template + can be configured to include payment information, such as the crossed + cheque, sequence number, the payee name, amount in words and digits, + date etc. Users can create multiple cheque formats for different banks + and others. The cheque format is downloaded as pdf with designed size + by + the user and this can print on any printers. Overall, the print cheque + format application in Odoo provides businesses with an efficient and + convenient solution for printing cheques. With its customizable + template and support for multiple cheque formats, the application can + help streamline cheque printing processes and improve accuracy and + efficiency. +
+
+ + + +
+
+ +
+

+ Features +

+
+
+
+
+ + Setup Cheque Format for Different Banks +
+
+ + Customizable Cheque Alignment +
+
+ + Adjust Font Size +
+
+
+
+ + Test Print Button +
+ +
+ + Adjust the Details Like Crossed check, Sequence Number, Payee Name, Date, Amount, and Amount in Words Based on the Check. +
+
+
+ + + +
+
+ +
+

+ Screenshots +

+
+
+
+
+

+ Configuration Menu +

+

+ To Configure the Cheque Format + Goto -->Accounting Module --> Configuration --> Configure + Cheques +

+ +
+
+

+ Cheque Formats +

+

+ +
+
+

+ Crossed Cheque Alignment +

+

+ +
+
+

+ Cheque Sequence Alignment +

+

+ +
+
+

+ Date Alignment +

+

+ +
+
+

+ Payee Name Alignment +

+

+ +
+
+

+ Amount in Words Alignment +

+

+ +
+
+

+ Amount in Digits Alignment +

+

+ +
+
+

+ Test Print Format +

+

+ +
+
+

+ Cheque Format Selection View +

+

+ +
+
+

+ Cheque Print View +

+

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

+ Related + 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

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

+ Support +

+
+
+
+
+
+
+ +
+
+

Need Help?

+

Got questions or need help? + Get in touch.

+ +

+ odoo@cybrosys.com

+
+
+
+
+
+
+
+ +
+
+

WhatsApp

+

Say hi to us on WhatsApp!

+ +

+ +91 86068 + 27707

+
+
+
+
+
+
+
+ +
+
+
+ diff --git a/odoo_print_cheque/static/src/img/accountpay.png b/odoo_print_cheque/static/src/img/accountpay.png new file mode 100644 index 000000000..aeb87eb4f Binary files /dev/null and b/odoo_print_cheque/static/src/img/accountpay.png differ diff --git a/odoo_print_cheque/views/account_payment_views.xml b/odoo_print_cheque/views/account_payment_views.xml new file mode 100644 index 000000000..f458ed3d3 --- /dev/null +++ b/odoo_print_cheque/views/account_payment_views.xml @@ -0,0 +1,35 @@ + + + + + account.payment.view.form.inherit.odoo.print.cheque + account.payment + + + + {'invisible': ['|','|', + ('is_move_sent', '=', True), + ('state', 'in', ['draft','cancel']), + ('payment_method_code', 'not in', + ['check_printing','pdc'])]} + + + +