| @ -0,0 +1,56 @@ | |||||
|  | .. 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/17.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 <https://cybrosys.com/>`__ | ||||
|  | 
 | ||||
|  | Credits | ||||
|  | ------- | ||||
|  | * Developer: (V16) Aslam A K, | ||||
|  |              (V17) Remya R, | ||||
|  | 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: `<static/description/index.html>`__ | ||||
| @ -0,0 +1,23 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################### | ||||
|  | # | ||||
|  | #   Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #   Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | ||||
|  | #   Author: Remya R( 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 <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################### | ||||
|  | from . import models | ||||
|  | from . import wizard | ||||
| @ -0,0 +1,48 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################### | ||||
|  | # | ||||
|  | #   Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #   Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | ||||
|  | #   Author: Remya R( 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 <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################### | ||||
|  | { | ||||
|  |     'name': "Print Cheques", | ||||
|  |     'version': "17.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, | ||||
|  | } | ||||
| @ -0,0 +1,6 @@ | |||||
|  | ## Module <odoo_print_cheque> | ||||
|  | 
 | ||||
|  | #### 23.12.2024 | ||||
|  | #### Version 17.0.1.0.0 | ||||
|  | #### ADD | ||||
|  | - Initial commit for Print Cheques | ||||
| @ -0,0 +1,23 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################### | ||||
|  | # | ||||
|  | #   Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #   Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | ||||
|  | #   Author: Remya R( 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 <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################### | ||||
|  | from . import account_payment | ||||
|  | from . import cheque_format | ||||
| @ -0,0 +1,58 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################### | ||||
|  | # | ||||
|  | #   Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #   Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | ||||
|  | #   Author: Remya R( 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 <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################### | ||||
|  | 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 | ||||
|  |             } | ||||
|  |         } | ||||
| @ -0,0 +1,133 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################### | ||||
|  | # | ||||
|  | #   Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #   Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | ||||
|  | #   Author: Remya R( 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 <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################### | ||||
|  | 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) | ||||
| @ -0,0 +1,53 @@ | |||||
|  | <?xml version="1.0" encoding="utf-8" ?> | ||||
|  | <odoo> | ||||
|  |     <!--Cheque print PDF format--> | ||||
|  |     <!--Paper format --> | ||||
|  |     <record id="paperformat_print_cheque" model="report.paperformat"> | ||||
|  |         <field name="name">Print Cheque</field> | ||||
|  |         <field name="default" eval="True"/> | ||||
|  |         <field name="format">A4</field> | ||||
|  |         <field name="orientation">Landscape</field> | ||||
|  |         <field name="header_line" eval="False"/> | ||||
|  |         <field name="margin_top">1</field> | ||||
|  |         <field name="margin_left">1</field> | ||||
|  |         <field name="header_spacing" eval="False"/> | ||||
|  |         <field name="dpi">90</field> | ||||
|  |     </record> | ||||
|  |     <!--Cheque print action--> | ||||
|  |     <record id="print_cheque_action" model="ir.actions.report"> | ||||
|  |         <field name="name">Cheque</field> | ||||
|  |         <field name="model">cheque.format</field> | ||||
|  |         <field name="report_type">qweb-pdf</field> | ||||
|  |         <field name="report_name">odoo_print_cheque.cheque_print</field> | ||||
|  |         <field name="report_file">odoo_print_cheque.cheque_print</field> | ||||
|  |         <field name="paperformat_id" | ||||
|  |                ref="odoo_print_cheque.paperformat_print_cheque"/> | ||||
|  |         <field name="binding_model_id" ref="model_cheque_format"/> | ||||
|  |         <field name="binding_type">report</field> | ||||
|  |     </record> | ||||
|  |     <!--Test Cheque print PDF format--> | ||||
|  |     <!--Paper format --> | ||||
|  |     <record id="paperformat_print_test_cheque" model="report.paperformat"> | ||||
|  |         <field name="name">Print Test Cheque</field> | ||||
|  |         <field name="default" eval="True"/> | ||||
|  |         <field name="format">A4</field> | ||||
|  |         <field name="orientation">Landscape</field> | ||||
|  |         <field name="header_line" eval="False"/> | ||||
|  |         <field name="margin_top">1</field> | ||||
|  |         <field name="margin_left">1</field> | ||||
|  |         <field name="header_spacing" eval="False"/> | ||||
|  |         <field name="dpi">90</field> | ||||
|  |     </record> | ||||
|  |     <!--Print test cheque Action--> | ||||
|  |     <record id="test_cheque_action" model="ir.actions.report"> | ||||
|  |         <field name="name">Test Print</field> | ||||
|  |         <field name="model">cheque.format</field> | ||||
|  |         <field name="report_type">qweb-pdf</field> | ||||
|  |         <field name="report_name">odoo_print_cheque.cheque_test_print</field> | ||||
|  |         <field name="report_file">odoo_print_cheque.cheque_test_print</field> | ||||
|  |         <field name="paperformat_id" | ||||
|  |                ref="odoo_print_cheque.paperformat_print_test_cheque"/> | ||||
|  |         <field name="binding_model_id" ref="model_cheque_format"/> | ||||
|  |         <field name="binding_type">report</field> | ||||
|  |     </record> | ||||
|  | </odoo> | ||||
| @ -0,0 +1,92 @@ | |||||
|  | <?xml version="1.0" encoding="utf-8" ?> | ||||
|  | <odoo>   <!--Cheque print template--> | ||||
|  |     <template id="cheque_print"> | ||||
|  |         <t t-call="web.html_container"> | ||||
|  |             <t t-call="web.basic_layout"> | ||||
|  |                 <div t-attf-style="width:{{cheque_width}}px; height:{{cheque_height}}px; font-size:{{font_size}}px;"> | ||||
|  |                     <!--Account payee cheque format--> | ||||
|  |                     <div t-if="is_account_payee"> | ||||
|  |                         <img src="odoo_print_cheque/static/src/img/accountpay.png" | ||||
|  |                              t-attf-style="margin-left:{{a_c_payee_left_margin}}px; margin-top:{{a_c_payee_top_margin}}px; width:{{a_c_payee_width}}px; height:{{a_c_payee_height}}px"/> | ||||
|  |                     </div> | ||||
|  |                     <!--Cheque sequence number format--> | ||||
|  |                     <div t-attf-style="margin-left:{{cheque_no_lm}}px; margin-top:{{cheque_no_tm}}px;"> | ||||
|  |                         <t t-if="print_cheque_number"> | ||||
|  |                             <span> | ||||
|  |                                 <t t-esc="check_number"/> | ||||
|  |                             </span> | ||||
|  |                         </t> | ||||
|  |                         <t t-else=""/> | ||||
|  |                     </div> | ||||
|  |                     <!--Cheque date format--> | ||||
|  |                     <div t-attf-style="margin-left:{{date_left_margin}}px; margin-top:{{date_top_margin}}px; letter-spacing: {{date_letter_spacing}}em;"> | ||||
|  |                         <t t-esc="cheque_date"/> | ||||
|  |                     </div> | ||||
|  |                     <!--Partner Name format--> | ||||
|  |                     <div t-attf-style="margin-left:{{beneficiary_left_margin}}px; margin-top:{{beneficiary_top_margin}}px;"> | ||||
|  |                         <t t-esc="partner"/> | ||||
|  |                     </div> | ||||
|  |                     <!-- Amount in words format--> | ||||
|  |                     <div t-attf-style="margin-left:{{amount_word_lm}}px; margin-top:{{amount_word_tm}}px; letter-spacing: {{amount_word_ls}}em;"> | ||||
|  |                         <t t-esc="amount_in_words"/> | ||||
|  |                         Only | ||||
|  |                     </div> | ||||
|  |                     <!--Amount in digits format--> | ||||
|  |                     <div t-attf-style="margin-left:{{amount_digit_lm}}px; margin-top:{{amount_digit_tm}}px; letter-spacing: {{amount_digit_ls}}em; font-size:{{amount_digit_size}}px;"> | ||||
|  |                         <t t-if="print_currency"> | ||||
|  |                             <t t-esc="currency_symbol"/> | ||||
|  |                         </t> | ||||
|  |                         <t t-esc="amount_in_digit"/>/- | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |             </t> | ||||
|  |         </t> | ||||
|  |     </template> | ||||
|  |     <!--Test cheque print template--> | ||||
|  |     <template id="cheque_test_print"> | ||||
|  |         <t t-call="web.html_container"> | ||||
|  |             <t t-call="web.basic_layout"> | ||||
|  |                 <div t-attf-style="border:1px solid black; width:{{cheque_width}}px; height:{{cheque_height}}px; font-size:{{font_size}}px;"> | ||||
|  |                     <!--Account payee cheque format--> | ||||
|  |                     <div t-if="is_account_payee"> | ||||
|  |                         <img src="odoo_print_cheque/static/src/img/accountpay.png" | ||||
|  |                              t-attf-style="margin-left:{{a_c_payee_left_margin}}px; margin-top:{{a_c_payee_top_margin}}px; | ||||
|  |                                            width:{{a_c_payee_width}}px; height:{{a_c_payee_height}}px"/> | ||||
|  |                     </div> | ||||
|  |                     <!--Cheque sequence number format--> | ||||
|  |                     <div t-attf-style="margin-left:{{cheque_no_lm}}px; margin-top:{{cheque_no_tm}}px;"> | ||||
|  |                         <t t-if="print_cheque_number"> | ||||
|  |                             <span>0000001</span> | ||||
|  |                         </t> | ||||
|  |                         <t t-else=""/> | ||||
|  |                     </div> | ||||
|  |                     <!--Cheque date format--> | ||||
|  |                     <div t-attf-style="margin-left:{{date_left_margin}}px; margin-top:{{date_top_margin}}px; letter-spacing:{{date_letter_spacing}}em;"> | ||||
|  |                         <t t-if="date_remove_slashes"> | ||||
|  |                             <span>30 08 2001</span> | ||||
|  |                         </t> | ||||
|  |                         <t t-else=""> | ||||
|  |                             30/08/2001 | ||||
|  |                         </t> | ||||
|  |                     </div> | ||||
|  |                     <!--Partner Name format--> | ||||
|  |                     <div t-attf-style="margin-left:{{beneficiary_left_margin}}px; margin-top:{{beneficiary_top_margin}}px;"> | ||||
|  |                         Test Customer | ||||
|  |                     </div> | ||||
|  |                     <!-- Amount in words format--> | ||||
|  |                     <div t-attf-style="margin-left:{{amount_word_lm}}px; margin-top:{{amount_word_tm}}px; letter-spacing:{{amount_word_ls}}em;"> | ||||
|  |                         One Million, Two Hundred And Forty Thousand, Six Hundred And Twelve Dollars | ||||
|  |                     </div> | ||||
|  |                     <!--Amount in digits format--> | ||||
|  |                     <div t-attf-style="margin-left:{{amount_digit_lm}}px; margin-top:{{amount_digit_tm}}px; letter-spacing:{{amount_digit_ls}}em; | ||||
|  |                                        font-size:{{amount_digit_size}}px;"> | ||||
|  |                         <t t-if="print_currency"> | ||||
|  |                             <t t-esc="currency_symbol"/> | ||||
|  |                         </t> | ||||
|  |                         12,40,612 /- | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |             </t> | ||||
|  |         </t> | ||||
|  |     </template> | ||||
|  | </odoo> | ||||
| 
 | 
| After Width: | Height: | Size: 36 KiB | 
| After Width: | Height: | Size: 3.6 KiB | 
| After Width: | Height: | Size: 310 B | 
| After Width: | Height: | Size: 1.3 KiB | 
| After Width: | Height: | Size: 1.4 KiB | 
| After Width: | Height: | Size: 576 B | 
| After Width: | Height: | Size: 733 B | 
| After Width: | Height: | Size: 911 B | 
| After Width: | Height: | Size: 1.1 KiB | 
| After Width: | Height: | Size: 1.1 KiB | 
| After Width: | Height: | Size: 1.2 KiB | 
| After Width: | Height: | Size: 673 B | 
| After Width: | Height: | Size: 11 KiB | 
| After Width: | Height: | Size: 878 B | 
| After Width: | Height: | Size: 653 B | 
| After Width: | Height: | Size: 905 B | 
| After Width: | Height: | Size: 839 B | 
| After Width: | Height: | Size: 427 B | 
| After Width: | Height: | Size: 627 B | 
| After Width: | Height: | Size: 1.2 KiB | 
| After Width: | Height: | Size: 988 B | 
| After Width: | Height: | Size: 1.2 KiB | 
| After Width: | Height: | Size: 80 KiB | 
| After Width: | Height: | Size: 3.2 KiB | 
| After Width: | Height: | Size: 565 B | 
| After Width: | Height: | Size: 26 KiB | 
| After Width: | Height: | Size: 43 KiB | 
| After Width: | Height: | Size: 1.4 KiB | 
| After Width: | Height: | Size: 4.0 KiB | 
| After Width: | Height: | Size: 38 KiB | 
| After Width: | Height: | Size: 4.3 KiB | 
| After Width: | Height: | Size: 32 KiB | 
| After Width: | Height: | Size: 34 KiB | 
| After Width: | Height: | Size: 48 KiB | 
| After Width: | Height: | Size: 45 KiB | 
| After Width: | Height: | Size: 33 KiB | 
| After Width: | Height: | Size: 34 KiB | 
| After Width: | Height: | Size: 111 KiB | 
| After Width: | Height: | Size: 50 KiB | 
| After Width: | Height: | Size: 45 KiB | 
| After Width: | Height: | Size: 47 KiB | 
| After Width: | Height: | Size: 42 KiB | 
| After Width: | Height: | Size: 48 KiB | 
| After Width: | Height: | Size: 53 KiB | 
| After Width: | Height: | Size: 51 KiB | 
| After Width: | Height: | Size: 27 KiB | 
| After Width: | Height: | Size: 22 KiB | 
| After Width: | Height: | Size: 28 KiB | 
| After Width: | Height: | Size: 276 KiB | 
| After Width: | Height: | Size: 79 KiB | 
| After Width: | Height: | Size: 5.9 KiB | 
| @ -0,0 +1,856 @@ | |||||
|  | <!DOCTYPE html> | ||||
|  | <html lang="en"> | ||||
|  | 
 | ||||
|  | <head> | ||||
|  |     <meta charset="UTF-8"> | ||||
|  |     <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||
|  |     <title>Odoo App 3 Index</title> | ||||
|  |     <!-- Bootstrap CSS --> | ||||
|  |     <link rel="stylesheet" | ||||
|  |           href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" | ||||
|  |           integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" | ||||
|  |           crossorigin="anonymous"> | ||||
|  |     <link rel="stylesheet" | ||||
|  |           href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css"> | ||||
|  |     <link rel="preconnect" href="https://fonts.googleapis.com"> | ||||
|  |     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||||
|  |     <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" | ||||
|  |           rel="stylesheet"> | ||||
|  | </head> | ||||
|  | <body> | ||||
|  | <section> | ||||
|  |     <div class="container" | ||||
|  |          style="font-family: 'Inter', sans-serif !important;background-color: #fff !important;"> | ||||
|  |         <div class="row"> | ||||
|  |             <div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between flex-wrap align-items-sm-center" | ||||
|  |                  style="border-bottom:1px solid rgba(0, 0, 0, 0.22)"> | ||||
|  |                 <div class="my-3"> | ||||
|  |                     <img src="assets/misc/Cybrosys R.png" | ||||
|  |                          style="width:auto !important; height:40px !important"> | ||||
|  |                 </div> | ||||
|  |                  <div class="my-3 d-flex align-items-center"> | ||||
|  |                     <div class="text-center" | ||||
|  |                          style="background-color:#017E84 !important;font-size: 0.8rem !important; color:#fff !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width: 120px !important;"> | ||||
|  |                         Community | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |             </div> | ||||
|  |         </div> | ||||
|  |         <div class="row"> | ||||
|  |             <div class="col-sm-12 col-md-12 col-lg-12 text-center d-flex align-items-center flex-column" | ||||
|  |                  style="margin: 80px 0px !important;"> | ||||
|  |                 <h1 style="font-size: 2.8rem;font-weight: 700; color: | ||||
|  |                     #1A202C;"> | ||||
|  |                     Print Cheques</h1> | ||||
|  |                 <p class="my-3 mb-4" | ||||
|  |                    style="max-width: 80%; font-weight: 400 !important; line-height: 32px; color: #718096;"> | ||||
|  |                     Print Cheques Allows to Set Up Bank Cheque Formats to | ||||
|  |                     Print on Cheques Easily. | ||||
|  |                 </p> | ||||
|  |                 <div style="width: 80%; margin-top: 3rem;"> | ||||
|  |                     <img src="assets/screenshots/hero.gif" | ||||
|  |                          class="img-responsive" width="100%" height="auto"> | ||||
|  |                 </div> | ||||
|  |             </div> | ||||
|  |         </div> | ||||
|  |         <div class="container mt-5 mb-5"> | ||||
|  |             <div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> | ||||
|  |                 <p class="m-0" | ||||
|  |                    style="font-weight: 600; font-size: 24px; color:#714b67 !important"> | ||||
|  |                     Key Highlights | ||||
|  |                 </p> | ||||
|  |             </div> | ||||
|  |             <div class="row py-4"> | ||||
|  |                 <div class="col-md-6 col-sm-12 p-3"> | ||||
|  |                     <div class="d-flex   h-100" style="padding: 30px;border-radius: 12px; | ||||
|  |                                     background: #FFF; | ||||
|  |                                     box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> | ||||
|  |                         <div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; | ||||
|  |                                     display: flex; justify-content: center; align-items: center; | ||||
|  |                                     margin-right: 10px; flex-shrink: 0;"> | ||||
|  |                             <i class="fa-solid fa-star  " | ||||
|  |                                style="color: #fff;font-size:14px;"></i> | ||||
|  |                         </div> | ||||
|  |                         <div> | ||||
|  |                             <p style="color: #1A202C;font-weight: 600; | ||||
|  |                                       font-size: 1.2rem; margin-bottom: 2px;"> | ||||
|  |                                 Setup Cheque Format for Different Banks</p> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div class="col-md-6 col-sm-12 p-3"> | ||||
|  |                     <div class="d-flex   h-100" style="padding: 30px;border-radius: 12px; | ||||
|  |                                     background: #FFF; | ||||
|  |                                     box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> | ||||
|  |                         <div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; | ||||
|  |                                     display: flex; justify-content: center; align-items: center; | ||||
|  |                                     margin-right: 10px; flex-shrink: 0;"> | ||||
|  |                             <i class="fa-solid fa-star  " | ||||
|  |                                style="color: #fff;font-size:14px;"></i> | ||||
|  |                         </div> | ||||
|  |                         <div> | ||||
|  |                             <p style="color: #1A202C;font-weight: 600; | ||||
|  |                                       font-size: 1.2rem; margin-bottom: 2px;"> | ||||
|  |                                 Customizable Cheque Alignment</p> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div class="col-md-6 col-sm-12 p-3"> | ||||
|  |                     <div class="d-flex   h-100" style="padding: 30px;border-radius: 12px; | ||||
|  |                                     background: #FFF; | ||||
|  |                                     box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> | ||||
|  |                         <div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; | ||||
|  |                                     display: flex; justify-content: center; align-items: center; | ||||
|  |                                     margin-right: 10px; flex-shrink: 0;"> | ||||
|  |                             <i class="fa-solid fa-star  " | ||||
|  |                                style="color: #fff;font-size:14px;"></i> | ||||
|  |                         </div> | ||||
|  |                         <div> | ||||
|  |                             <p style="color: #1A202C;font-weight: 600; | ||||
|  |                                       font-size: 1.2rem; margin-bottom: 2px;"> | ||||
|  |                                 Adjust Font Size</p> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div class="col-md-6 col-sm-12 p-3"> | ||||
|  |                     <div class="d-flex   h-100" style="padding: 30px;border-radius: 12px; | ||||
|  |                                     background: #FFF; | ||||
|  |                                     box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> | ||||
|  |                         <div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; | ||||
|  |                                     display: flex; justify-content: center; align-items: center; | ||||
|  |                                     margin-right: 10px; flex-shrink: 0;"> | ||||
|  |                             <i class="fa-solid fa-star  " | ||||
|  |                                style="color: #fff;font-size:14px;"></i> | ||||
|  |                         </div> | ||||
|  |                         <div> | ||||
|  |                             <p style="color: #1A202C;font-weight: 600; | ||||
|  |                                       font-size: 1.2rem; margin-bottom: 2px;"> | ||||
|  |                                 Test Print Button</p> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div class="col-md-6 col-sm-12 p-3"> | ||||
|  |                     <div class="d-flex   h-100" style="padding: 30px;border-radius: 12px; | ||||
|  |                                     background: #FFF; | ||||
|  |                                     box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> | ||||
|  |                         <div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; | ||||
|  |                                     display: flex; justify-content: center; align-items: center; | ||||
|  |                                     margin-right: 10px; flex-shrink: 0;"> | ||||
|  |                             <i class="fa-solid fa-star  " | ||||
|  |                                style="color: #fff;font-size:14px;"></i> | ||||
|  |                         </div> | ||||
|  |                         <div> | ||||
|  |                             <p style="color: #1A202C;font-weight: 600; | ||||
|  |                                       font-size: 1.2rem; margin-bottom: 2px;"> | ||||
|  |                                 Adjust the Details Like Crossed check, Sequence | ||||
|  |                                 Number, Payee Name, Date, Amount, and Amount in | ||||
|  |                                 Words Based on the Check.</p> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |             </div> | ||||
|  |         </div> | ||||
|  |         <div class="container rounded"> | ||||
|  |             <ul class="nav nav-tabs d-flex" | ||||
|  |                 style="width: fit-content;margin: 0 auto;gap: 1rem;"> | ||||
|  |                 <li class="col text-center py-2 text-nowrap " | ||||
|  |                     style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"> | ||||
|  |                     <a | ||||
|  |                             class="active show" data-toggle="tab" href="#tab1" | ||||
|  |                             style="color: #fff;font-weight: 500; background-color: #714B67; text-decoration: none;"> | ||||
|  |                         <i class="fa-regular fa-image  pr-2" | ||||
|  |                            style="color: #fff;"></i> | ||||
|  |                         Screenshots</a></li> | ||||
|  |                 <li class="col text-center py-2 text-nowrap " | ||||
|  |                     style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"> | ||||
|  |                     <a | ||||
|  |                             data-toggle="tab" href="#tab2" | ||||
|  |                             style="color: #fff;font-weight: 500;  text-decoration: none;"><i | ||||
|  |                             class="fa-solid fa-star  pr-2" | ||||
|  |                             style="color: #fff;"></i>Features</a></li> | ||||
|  |                 <li class="col text-center py-2 text-nowrap " | ||||
|  |                     style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"> | ||||
|  |                     <a | ||||
|  |                             data-toggle="tab" href="#tab3" | ||||
|  |                             style="color: #fff;font-weight: 500; text-decoration: none; background-color: #714B67;"><i | ||||
|  |                             class="fa-solid fa-book-open  pr-2" | ||||
|  |                             style="color: #fff;"></i>Released Notes</a></li> | ||||
|  |             </ul> | ||||
|  |             <div class="tab-content" | ||||
|  |                  style="background-color: rgba(121, 113, 119, 0.04);"> | ||||
|  |                 <div id="tab1" class="tab-pane fade in active show"> | ||||
|  |                     <div class="col-lg-12 py-2" | ||||
|  |                          style="padding: 1rem 4rem !important;"> | ||||
|  |                         <div | ||||
|  |                                 style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                             <div class="row justify-content-center p-3 w-100 m-0"> | ||||
|  |                                 <img src="assets/screenshots/01.png" | ||||
|  |                                      class="img-responsive" width="100%" | ||||
|  |                                      height="auto"> | ||||
|  |                             </div> | ||||
|  |                             <div class="px-3"> | ||||
|  |                                 <h4 class="mt-2" | ||||
|  |                                     style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | ||||
|  |                                     Configuration Menu</h4> | ||||
|  |                                 <p style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> | ||||
|  |                                     To Configure the Cheque Format | ||||
|  |                                     Goto -->Accounting Module --> Configuration | ||||
|  |                                     --> Configure | ||||
|  |                                     Cheques | ||||
|  |                                 </p> | ||||
|  |                             </div> | ||||
|  | 
 | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-lg-12 py-2" | ||||
|  |                          style="padding: 1rem 4rem !important;"> | ||||
|  |                         <div | ||||
|  |                                 style="border: 1px solid #d8d6d6; border-radius: 4px;  background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                             <div class="row justify-content-center p-3 w-100 m-0"> | ||||
|  |                                 <img src="assets/screenshots/02.png" | ||||
|  |                                      class="img-responsive" width="100%" | ||||
|  |                                      height="auto"> | ||||
|  |                             </div> | ||||
|  |                             <div class="px-3"> | ||||
|  |                                 <h4 class="mt-2" | ||||
|  |                                     style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | ||||
|  |                                     Crossed Cheque Alignment</h4> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-lg-12 py-2" | ||||
|  |                          style="padding: 1rem 4rem !important;"> | ||||
|  |                         <div | ||||
|  |                                 style="border: 1px solid #d8d6d6; border-radius: 4px;  background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                             <div class="row justify-content-center p-3 w-100 m-0"> | ||||
|  |                                 <img src="assets/screenshots/03.png" | ||||
|  |                                      class="img-responsive" width="100%" | ||||
|  |                                      height="auto"> | ||||
|  |                             </div> | ||||
|  |                             <div class="px-3"> | ||||
|  |                                 <h4 class="mt-2" | ||||
|  |                                     style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | ||||
|  | Cheque Sequence Alignment</h4> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-lg-12 py-2" | ||||
|  |                          style="padding: 1rem 4rem !important;"> | ||||
|  |                         <div | ||||
|  |                                 style="border: 1px solid #d8d6d6; border-radius: 4px;  background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                             <div class="row justify-content-center p-3 w-100 m-0"> | ||||
|  |                                 <img src="assets/screenshots/04.png" | ||||
|  |                                      class="img-responsive" width="100%" | ||||
|  |                                      height="auto"> | ||||
|  |                             </div> | ||||
|  |                             <div class="px-3"> | ||||
|  |                                 <h4 class="mt-2" | ||||
|  |                                     style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | ||||
|  |                                     Date Alignment.</h4> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-lg-12 py-2" | ||||
|  |                          style="padding: 1rem 4rem !important;"> | ||||
|  |                         <div | ||||
|  |                                 style="border: 1px solid #d8d6d6; border-radius: 4px;  background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                             <div class="row justify-content-center p-3 w-100 m-0"> | ||||
|  |                                 <img src="assets/screenshots/05.png" | ||||
|  |                                      class="img-responsive" width="100%" | ||||
|  |                                      height="auto"> | ||||
|  |                             </div> | ||||
|  |                             <div class="px-3"> | ||||
|  |                                 <h4 class="mt-2" | ||||
|  |                                     style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | ||||
|  |                                      Payee Name Alignment</h4> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-lg-12 py-2" | ||||
|  |                          style="padding: 1rem 4rem !important;"> | ||||
|  |                         <div | ||||
|  |                                 style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                             <div class="row justify-content-center p-3 w-100 m-0"> | ||||
|  |                                 <img src="assets/screenshots/06.png" | ||||
|  |                                      class="img-responsive" width="100%" | ||||
|  |                                      height="auto"> | ||||
|  |                             </div> | ||||
|  |                             <div class="px-3"> | ||||
|  |                                 <h4 class="mt-2" | ||||
|  |                                     style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | ||||
|  |                                      Amount in Words Alignment</h4> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-lg-12 py-2" | ||||
|  |                          style="padding: 1rem 4rem !important;"> | ||||
|  |                         <div | ||||
|  |                                 style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                             <div class="row justify-content-center p-3 w-100 m-0"> | ||||
|  |                                 <img src="assets/screenshots/07.png" | ||||
|  |                                      class="img-responsive" width="100%" | ||||
|  |                                      height="auto"> | ||||
|  |                             </div> | ||||
|  |                             <div class="px-3"> | ||||
|  |                                 <h4 class="mt-2" | ||||
|  |                                     style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | ||||
|  |                                     Amount in Digits Alignment</h4> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-lg-12 py-2" | ||||
|  |                          style="padding: 1rem 4rem !important;"> | ||||
|  |                         <div | ||||
|  |                                 style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                             <div class="row justify-content-center p-3 w-100 m-0"> | ||||
|  |                                 <img src="assets/screenshots/8.png" | ||||
|  |                                      class="img-responsive" width="100%" | ||||
|  |                                      height="auto"> | ||||
|  |                             </div> | ||||
|  |                             <div class="px-3"> | ||||
|  |                                 <h4 class="mt-2" | ||||
|  |                                     style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | ||||
|  |                                    Test Print Format</h4> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-lg-12 py-2" | ||||
|  |                          style="padding: 1rem 4rem !important;"> | ||||
|  |                         <div | ||||
|  |                                 style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                             <div class="row justify-content-center p-3 w-100 m-0"> | ||||
|  |                                 <img src="assets/screenshots/09.png" | ||||
|  |                                      class="img-responsive" width="100%" | ||||
|  |                                      height="auto"> | ||||
|  |                             </div> | ||||
|  |                             <div class="px-3"> | ||||
|  |                                 <h4 class="mt-2" | ||||
|  |                                     style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | ||||
|  |                                    Now Go to Payments and after posting the payment click the button "Print Check" </h4> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                     <div class="col-lg-12 py-2" | ||||
|  |                          style="padding: 1rem 4rem !important;"> | ||||
|  |                         <div | ||||
|  |                                 style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                             <div class="row justify-content-center p-3 w-100 m-0"> | ||||
|  |                                 <img src="assets/screenshots/10.png" | ||||
|  |                                      class="img-responsive" width="100%" | ||||
|  |                                      height="auto"> | ||||
|  |                             </div> | ||||
|  |                             <div class="px-3"> | ||||
|  |                                 <h4 class="mt-2" | ||||
|  |                                     style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | ||||
|  |                                    Cheque Format Selection View</h4> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                      <div class="col-lg-12 py-2" | ||||
|  |                          style="padding: 1rem 4rem !important;"> | ||||
|  |                         <div | ||||
|  |                                 style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                             <div class="row justify-content-center p-3 w-100 m-0"> | ||||
|  |                                 <img src="assets/screenshots/11.png" | ||||
|  |                                      class="img-responsive" width="100%" | ||||
|  |                                      height="auto"> | ||||
|  |                             </div> | ||||
|  |                             <div class="px-3"> | ||||
|  |                                 <h4 class="mt-2" | ||||
|  |                                     style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> | ||||
|  |                                    Cheque Print View</h4> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div id="tab2" class="tab-pane fade"> | ||||
|  |                     <div class="col-mg-12" style="padding: 1rem 4rem;"> | ||||
|  |                         <ul style="list-style: none; padding: 1rem 0;font-weight: 500;"> | ||||
|  |                             <li class="py-3" | ||||
|  |                                 style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                                     <span style="margin-right: 12px;"><img | ||||
|  |                                             src="assets/misc/star (1) 2.svg" | ||||
|  |                                             alt="" | ||||
|  |                                             width="16px"></span>  The Cheque Print application provides users with a | ||||
|  |         customizable template that can be used to print cheques | ||||
|  |                             </li> | ||||
|  |                              <li class="py-3" | ||||
|  |                                 style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                                     <span style="margin-right: 12px;"><img | ||||
|  |                                             src="assets/misc/star (1) 2.svg" | ||||
|  |                                             alt="" | ||||
|  |                                             width="16px"></span>  Users can create multiple cheque formats for different banks | ||||
|  |         and others. The cheque format is downloaded as pdf with designed size | ||||
|  |                             </li> | ||||
|  |                             <li class="py-3" | ||||
|  |                                 style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                                     <span style="margin-right: 12px;"><img | ||||
|  |                                             src="assets/misc/star (1) 2.svg" | ||||
|  |                                             alt="" | ||||
|  |                                             width="16px"></span> | ||||
|  |                                 Available in Odoo 17.0 Community. | ||||
|  |                             </li> | ||||
|  |                         </ul> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div id="tab3" class="tab-pane fade"> | ||||
|  |                     <div class="col-mg-12 active" style="padding: 1rem 4rem;"> | ||||
|  |                         <div class="py-3" | ||||
|  |                              style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> | ||||
|  |                             <div class="d-flex mb-3" | ||||
|  |                                  style="font-size: 0.8rem; font-weight: 500;"><span>Version | ||||
|  |                                         17.0.1.0.0</span><span | ||||
|  |                                     class="px-2">|</span><span | ||||
|  |                                     style="color: #714B67;font-weight: 600;">Released on:22nd July 2024</span> | ||||
|  |                             </div> | ||||
|  |                             <p class="m-0" | ||||
|  |                                style=" color:#718096!important; font-size:1rem !important;line-height: 28px;"> | ||||
|  | 
 | ||||
|  |                                 Initial Commit for Print Cheques | ||||
|  |                                 Report</p> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |             </div> | ||||
|  |         </div> | ||||
|  |         <div class="container mt-5"> | ||||
|  |             <div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5"> | ||||
|  |                 <p class="m-0" | ||||
|  |                    style="font-weight: 600; font-size: 24px; color:#000 !important"> | ||||
|  |                     Related Products</p> | ||||
|  |             </div> | ||||
|  |         </div> | ||||
|  |         <div id="myCarousel" class="carousel slide py-3" data-ride="carousel"> | ||||
|  |             <div class="carousel-inner"> | ||||
|  |                 <div class="carousel-item active"> | ||||
|  |                     <div class="row p-4"> | ||||
|  |                         <div class="col"> | ||||
|  |                             <div class="p-3"> | ||||
|  |                                 <a href="https://apps.odoo.com/apps/modules/17.0/invoice_format_editor/" | ||||
|  |                                    style="color: #000; text-decoration: none;"> | ||||
|  |                                     <div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> | ||||
|  |                                         <div style="width: 300px; "> | ||||
|  |                                             <img src="assets/modules/m1.png" | ||||
|  |                                                  alt="" width="100%" | ||||
|  |                                                  height="auto"> | ||||
|  | 
 | ||||
|  |                                         </div> | ||||
|  |                                         <p class="text-center pt-2 text-black font-weight-bold"> | ||||
|  |                                             Invoice Format Editor</p> | ||||
|  |                                     </div> | ||||
|  |                                 </a> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                         <div class="col"> | ||||
|  |                             <div class="p-3"> | ||||
|  |                                 <a href="https://apps.odoo.com/apps/modules/17.0/inventory_barcode_scanning/" | ||||
|  |                                    style="color: #000; text-decoration: none;"> | ||||
|  |                                     <div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> | ||||
|  |                                         <div style="width: 300px; "> | ||||
|  |                                             <img src="assets/modules/m2.png" | ||||
|  |                                                  alt="" width="100%" | ||||
|  |                                                  height="auto"> | ||||
|  | 
 | ||||
|  |                                         </div> | ||||
|  |                                         <p class="text-center pt-2 text-black font-weight-bold"> | ||||
|  |                                             Barcode scanning in Inventory</p> | ||||
|  |                                     </div> | ||||
|  |                                 </a> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                         <div class="col"> | ||||
|  |                             <div class="p-3"> | ||||
|  |                                 <a href="https://apps.odoo.com/apps/modules/17.0/whatsapp_redirect/" | ||||
|  |                                    style="color: #000; text-decoration: none;"> | ||||
|  |                                     <div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> | ||||
|  |                                         <div style="width: 300px; "> | ||||
|  |                                             <img src="assets/modules/m3.png" | ||||
|  |                                                  alt="" width="100%" | ||||
|  |                                                  height="auto"> | ||||
|  | 
 | ||||
|  |                                         </div> | ||||
|  |                                         <p class="text-center pt-2 text-black font-weight-bold"> | ||||
|  |                                             Send Whatsapp Message</p> | ||||
|  |                                     </div> | ||||
|  |                                 </a> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div class="carousel-item"> | ||||
|  |                     <div class="row p-4"> | ||||
|  |                         <div class="col"> | ||||
|  |                             <div class="p-3"> | ||||
|  |                                 <a href="https://apps.odoo.com/apps/modules/17.0/base_account_budget/" | ||||
|  |                                    style="color: #000; text-decoration: none;"> | ||||
|  |                                     <div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> | ||||
|  |                                         <div style="width: 300px; "> | ||||
|  |                                             <img src="assets/modules/m4.png" | ||||
|  |                                                  alt="" width="100%" | ||||
|  |                                                  height="auto"> | ||||
|  | 
 | ||||
|  |                                         </div> | ||||
|  |                                         <p class="text-center pt-2 text-black font-weight-bold"> | ||||
|  |                                             Budget Management</p> | ||||
|  |                                     </div> | ||||
|  |                                 </a> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                         <div class="col"> | ||||
|  |                             <div class="p-3"> | ||||
|  |                                 <a href="https://apps.odoo.com/apps/modules/17.0/product_barcode/" | ||||
|  |                                    style="color: #000; text-decoration: none;"> | ||||
|  |                                     <div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> | ||||
|  |                                         <div style="width: 300px;"> | ||||
|  |                                             <img src="assets/modules/m5.png" | ||||
|  |                                                  alt="" width="100%" | ||||
|  |                                                  height="auto"> | ||||
|  | 
 | ||||
|  |                                         </div> | ||||
|  |                                         <p class="text-center pt-2 text-black font-weight-bold"> | ||||
|  |                                             Product Barcode Generator</p> | ||||
|  |                                     </div> | ||||
|  |                                 </a> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                         <div class="col"> | ||||
|  |                             <div class="p-3"> | ||||
|  |                                 <a href="https://apps.odoo.com/apps/modules/17.0/export_stockinfo_xls/" | ||||
|  |                                    style="color: #000; text-decoration: none;"> | ||||
|  |                                     <div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> | ||||
|  |                                         <div style="width: 300px;"> | ||||
|  |                                             <img src="assets/modules/m6.png" | ||||
|  |                                                  alt="" width="100%" | ||||
|  |                                                  height="auto"> | ||||
|  |                                         </div> | ||||
|  |                                         <p class="text-center pt-2 text-black font-weight-bold"> | ||||
|  |                                             Export Product Stock in Excel</p> | ||||
|  |                                     </div> | ||||
|  |                                 </a> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |             </div> | ||||
|  |             <a class="carousel-control-prev" href="#myCarousel" | ||||
|  |                data-slide="prev" style="width: 35px; color: #000;"> | ||||
|  |                     <span class="carousel-control-prev-icon"> | ||||
|  |                         <i class="fa fa-chevron-left" | ||||
|  |                            style="font-size: 24px;"></i> | ||||
|  |                     </span> | ||||
|  |             </a> | ||||
|  |             <a class="carousel-control-next" href="#myCarousel" | ||||
|  |                data-slide="next" style="width: 35px; color: #000;"> | ||||
|  |                     <span class="carousel-control-next-icon"> | ||||
|  |                         <i class="fa fa-chevron-right" | ||||
|  |                            style="font-size: 24px;"></i> | ||||
|  |                     </span> | ||||
|  |             </a> | ||||
|  |         </div> | ||||
|  |         <div class="container mt-5"> | ||||
|  |             <div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> | ||||
|  |                 <p class="m-0" | ||||
|  |                    style="font-weight: 600; font-size: 24px; color:#000 !important"> | ||||
|  |                     Our Services</p> | ||||
|  |             </div> | ||||
|  |         </div> | ||||
|  |         <div class="container my-5"> | ||||
|  |             <div class="row py-3"> | ||||
|  |                 <div class="col-md-4 col-sm-6 px-4 py-4"> | ||||
|  |                     <div | ||||
|  |                             style="background-color: #fff; padding: 25px; text-align: center;  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> | ||||
|  |                         <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | ||||
|  |                             <div style="background-color:#13EA36 ; border-radius: 50%; padding: 15px;    width: 68px; | ||||
|  |                                     height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | ||||
|  |                                 <img src="assets/icons/cogs.png" | ||||
|  |                                      alt="service-icon" width="38px" | ||||
|  |                                      height="auto"> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                         <p style="margin-top: 20px; font-weight: bold;">Odoo | ||||
|  |                             Customization</p> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div class="col-md-4 col-sm-6 px-4 py-4"> | ||||
|  |                     <div | ||||
|  |                             style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> | ||||
|  |                         <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | ||||
|  |                             <div style="background-color:#DBC711; border-radius: 50%; padding: 15px;    width: 68px; | ||||
|  |                                     height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | ||||
|  |                                 <img src="assets/icons/wrench.png" | ||||
|  |                                      alt="service-icon" width="38px" | ||||
|  |                                      height="auto"> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                         <p style="margin-top: 20px; font-weight: bold;">Odoo | ||||
|  |                             Implementation</p> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div class="col-md-4 col-sm-6 px-4 py-4"> | ||||
|  |                     <div | ||||
|  |                             style="background-color: #fff; padding: 25px; text-align: center;  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> | ||||
|  |                         <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | ||||
|  |                             <div style="background-color:#FF6B6B ; border-radius: 50%; padding: 15px;    width: 68px; | ||||
|  |                                     height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | ||||
|  |                                 <img src="assets/icons/lifebuoy.png" | ||||
|  |                                      alt="service-icon" width="38px" | ||||
|  |                                      height="auto"> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                         <p style="margin-top: 20px; font-weight: bold;">Odoo | ||||
|  |                             Support</p> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div class="col-md-4 col-sm-6 px-4 py-4"> | ||||
|  |                     <div | ||||
|  |                             style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> | ||||
|  |                         <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | ||||
|  |                             <div style="background-color:#FFA801 ; border-radius: 50%; padding: 15px;    width: 68px; | ||||
|  |                                     height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | ||||
|  |                                 <img src="assets/icons/user.png" | ||||
|  |                                      alt="service-icon" width="38px" | ||||
|  |                                      height="auto"> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                         <p style="margin-top: 20px; font-weight: bold;">Hire | ||||
|  |                             Odoo Developer</p> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div class="col-md-4 col-sm-6 px-4 py-4"> | ||||
|  |                     <div | ||||
|  |                             style="background-color: #fff; padding: 25px; text-align: center;  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> | ||||
|  | 
 | ||||
|  |                         <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | ||||
|  |                             <div style="background-color:#54A0FF; border-radius: 50%; padding: 15px;    width: 68px; | ||||
|  |                                     height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | ||||
|  |                                 <img src="assets/icons/puzzle.png" | ||||
|  |                                      alt="service-icon" width="38px" | ||||
|  |                                      height="auto"> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                         <p style="margin-top: 20px; font-weight: bold;">Odoo | ||||
|  |                             Integration</p> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div class="col-md-4 col-sm-6 px-4 py-4"> | ||||
|  |                     <div | ||||
|  |                             style="background-color: #fff; padding: 25px; text-align: center;  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> | ||||
|  |                         <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | ||||
|  |                             <div style="background-color:#6D7680 ; border-radius: 50%; padding: 15px;    width: 68px; | ||||
|  |                                     height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | ||||
|  |                                 <img src="assets/icons/update.png" | ||||
|  |                                      alt="service-icon" width="38px" | ||||
|  |                                      height="auto"> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                         <p style="margin-top: 20px; font-weight: bold;">Odoo | ||||
|  |                             Migration</p> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div class="col-md-4 col-sm-6 px-4 py-4"> | ||||
|  |                     <div | ||||
|  |                             style="background-color: #fff; padding: 25px; text-align: center;  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> | ||||
|  |                         <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | ||||
|  |                             <div style="background-color:#786FA6 ; border-radius: 50%; padding: 15px;    width: 68px; | ||||
|  |                                     height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | ||||
|  |                                 <img src="assets/icons/consultation.png" | ||||
|  |                                      alt="service-icon" width="38px" | ||||
|  |                                      height="auto"> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                         <p style="margin-top: 20px; font-weight: bold;">Odoo | ||||
|  |                             Consultancy</p> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div class="col-md-4 col-sm-6 px-4 py-4"> | ||||
|  |                     <div | ||||
|  |                             style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;position: relative;border-radius: 4px;"> | ||||
|  |                         <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | ||||
|  |                             <div style="background-color:#F8A5C2 ; border-radius: 50%; padding: 15px;    width: 68px; | ||||
|  |                                     height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | ||||
|  |                                 <img src="assets/icons/training.png" | ||||
|  |                                      alt="service-icon" width="38px" | ||||
|  |                                      height="auto"> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                         <p style="margin-top: 20px; font-weight: bold;">Odoo | ||||
|  |                             Implementation</p> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div class="col-md-4 col-sm-6 px-4 py-4"> | ||||
|  |                     <div | ||||
|  |                             style="background-color: #fff; padding: 25px; text-align: center;  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> | ||||
|  |                         <div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> | ||||
|  |                             <div style="background-color:#E6BE26; border-radius: 50%; padding: 15px;    width: 68px; | ||||
|  |                                     height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> | ||||
|  |                                 <img src="assets/icons/license.png" | ||||
|  |                                      alt="service-icon" width="38px" | ||||
|  |                                      height="auto"> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                         <p style="margin-top: 20px; font-weight: bold;">Odoo | ||||
|  |                             Licensing Consultancy</p> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |             </div> | ||||
|  |         </div> | ||||
|  |         <div class="container mt-5"> | ||||
|  |             <div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> | ||||
|  |                 <p class="m-0" | ||||
|  |                    style="font-weight: 600; font-size: 24px; color:#000 !important"> | ||||
|  |                     Our Industries</p> | ||||
|  | 
 | ||||
|  |             </div> | ||||
|  |         </div> | ||||
|  |         <div class="container"> | ||||
|  |             <div class="row my-5 py-4"> | ||||
|  |                 <div class="col-md-3 col-sm-6 p-0"> | ||||
|  |                     <div class="d-flex flex-column h-100 " | ||||
|  |                          style="border-right: 1px solid rgb(209, 209, 209); border-bottom: 1px solid  rgb(209, 209, 209); padding: 30px; box-shadow: 6px 0 10px rgba(228, 227, 227, 0.373);"> | ||||
|  |                         <img src="assets/icons/trading-black.png" width="42px" | ||||
|  |                              height="auto" alt=""> | ||||
|  |                         <p style="color: #714B67;font-weight: 600; margin-top: 10px; | ||||
|  |                            font-size: 1.2rem; margin-bottom: 2px;">Trading</p> | ||||
|  |                         <p>Easily procure and sell your products</p> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div class="col-md-3 col-sm-6  p-0"> | ||||
|  |                     <div class="d-flex flex-column h-100" | ||||
|  |                          style="border-right: 1px solid rgb(209, 209, 209);border-bottom: 1px solid  rgb(209, 209, 209); padding: 30px;"> | ||||
|  |                         <img src="assets/icons/pos-black.png" width="42px" | ||||
|  |                              height="auto" alt=""> | ||||
|  |                         <p style="color: #714B67;font-weight: 600; margin-top: 10px; | ||||
|  |                             font-size: 1.2rem; margin-bottom: 2px;">POS</p> | ||||
|  |                         <p>Easy configuration and convivial experience</p> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div class="col-md-3 col-sm-6  p-0"> | ||||
|  |                     <div class="d-flex flex-column h-100" | ||||
|  |                          style="border-right: 1px solid  rgb(209, 209, 209);border-bottom: 1px solid   rgba(0, 0, 0, 0.2); padding: 30px; box-shadow: 0 5px 10px  rgba(228, 227, 227, 0.373)"> | ||||
|  |                         <img src="assets/icons/education-black.png" | ||||
|  |                              width="42px" | ||||
|  |                              height="auto" alt=""> | ||||
|  |                         <p style="color: #714B67;font-weight: 600; margin-top: 10px; | ||||
|  |                             font-size: 1.2rem; margin-bottom: 2px;"> | ||||
|  |                             Education</p> | ||||
|  |                         <p>A platform for educational management</p> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div class="col-md-3 col-sm-6  p-0"> | ||||
|  |                     <div class="d-flex flex-column h-100" | ||||
|  |                          style="border-bottom: 1px solid  rgb(209, 209, 209); padding: 30px; "> | ||||
|  |                         <img src="assets/icons/manufacturing-black.png" | ||||
|  |                              width="42px" height="auto" alt=""> | ||||
|  |                         <p style="color: #714B67;font-weight: 600; margin-top: 10px; | ||||
|  |                             font-size: 1.2rem; margin-bottom: 2px;"> | ||||
|  |                             Manufacturing</p> | ||||
|  |                         <p>Plan, track and schedule your operations</p> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div class="col-md-3 col-sm-6 p-0"> | ||||
|  |                     <div class="d-flex flex-column h-100" | ||||
|  |                          style="border-right: 1px solid  rgb(209, 209, 209); padding: 30px;"> | ||||
|  |                         <img src="assets/icons/ecom-black.png" width="42px" | ||||
|  |                              height="auto" alt=""> | ||||
|  |                         <p style="color: #714B67;font-weight: 600; margin-top: 10px; | ||||
|  |                             font-size: 1.2rem; margin-bottom: 2px;">E-commerce | ||||
|  |                             & | ||||
|  |                             Website</p> | ||||
|  |                         <p>Mobile friendly, awe-inspiring product pages</p> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div class="col-md-3 col-sm-6   p-0"> | ||||
|  |                     <div class="d-flex flex-column h-100" | ||||
|  |                          style="border-right: 1px solid  rgb(209, 209, 209); padding: 30px;box-shadow: 0 -5px 10px  rgba(228, 227, 227, 0.373);"> | ||||
|  |                         <img src="assets/icons/service-black.png" width="42px" | ||||
|  |                              height="auto" alt=""> | ||||
|  |                         <p style="color: #714B67;font-weight: 600; margin-top: 10px; | ||||
|  |                             font-size: 1.2rem; margin-bottom: 2px;">Service | ||||
|  |                             Management</p> | ||||
|  |                         <p>Keep track of services and invoice</p> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div class="col-md-3 col-sm-6    p-0"> | ||||
|  |                     <div class="d-flex flex-column h-100" | ||||
|  |                          style="border-right: 1px solid  rgb(209, 209, 209); padding: 30px; "> | ||||
|  |                         <img src="assets/icons/restaurant-black.png" | ||||
|  |                              width="42px" height="auto" alt=""> | ||||
|  |                         <p style="color: #714B67;font-weight: 600; margin-top: 10px; | ||||
|  |                             font-size: 1.2rem; margin-bottom: 2px;"> | ||||
|  |                             Restaurant</p> | ||||
|  |                         <p>Run your bar or restaurant methodically</p> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div class="col-md-3 col-sm-6   p-0"> | ||||
|  |                     <div class="d-flex flex-column h-100" | ||||
|  |                          style=" padding: 30px;box-shadow: -5px 0 10px  rgba(228, 227, 227, 0.373);"> | ||||
|  |                         <img src="assets/icons/hotel-black.png" width="42px" | ||||
|  |                              height="auto" alt=""> | ||||
|  |                         <p style="color: #714B67;font-weight: 600; margin-top: 10px; | ||||
|  |                             font-size: 1.2rem; margin-bottom: 2px;">Hotel | ||||
|  |                             Management</p> | ||||
|  |                         <p>An all-inclusive hotel management application</p> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |             </div> | ||||
|  |         </div> | ||||
|  |         <div class="container mt-5"> | ||||
|  |             <div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5"> | ||||
|  |                 <p class="m-0" | ||||
|  |                    style="font-weight: 600; font-size: 24px; color:#000 !important"> | ||||
|  |                     Support</p> | ||||
|  |             </div> | ||||
|  |         </div> | ||||
|  |         <div class="container my-5"> | ||||
|  |             <div class="row" style="background-color: #FFFAFE;"> | ||||
|  |                 <div class="col-md-6 pb-4  d-flex align-items-center justify-content-center" | ||||
|  |                      style="border-right: 1px solid #D9D9D9;"> | ||||
|  |                     <div style="padding: 30px;"> | ||||
|  |                         <div class="d-flex align-items-center"> | ||||
|  |                             <img src="assets/misc/support (1) 1.svg" alt="" | ||||
|  |                                  width="60px" style="margin-right: 12px;"> | ||||
|  |                             <div style="padding: 0px 8px;"> | ||||
|  |                                     <span | ||||
|  |                                             style="color: #714B67;font-size: 24px;font-weight: 600;padding-bottom: 1rem;">Need | ||||
|  |                                         Help?</span> | ||||
|  |                                 <p class="m-0" style="color:#718096;">Got | ||||
|  |                                     questions or need help? Get in touch.</p> | ||||
|  |                                 <div style="font-weight: 400;"><span><img | ||||
|  |                                         src="assets/misc/support-email.svg" | ||||
|  |                                         alt="" | ||||
|  |                                         width="18px" | ||||
|  |                                         style="filter: invert(1);margin-right: 0.8rem;"></span>odoo@cybrosys.com | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |                 <div class="col-md-6 pb-4 d-flex align-items-center justify-content-center"> | ||||
|  |                     <div style="padding: 30px;"> | ||||
|  |                         <div class="d-flex align-items-center"> | ||||
|  |                             <img src="assets/misc/whatsapp 1.svg" alt="" | ||||
|  |                                  width="60px" style="margin-right: 12px;"> | ||||
|  |                             <div> | ||||
|  |                                 <span style="color: #714B67;font-size: 24px;font-weight: 600;">WhatsApp</span> | ||||
|  |                                 <p class="m-0" style="color:#718096;">Say hi to | ||||
|  |                                     us on WhatsApp!</p> | ||||
|  |                                 <div style="font-weight: 400; font-size: 16px;"><span><img | ||||
|  |                                         src="assets/misc/phone.svg" | ||||
|  |                                         alt="" width="14px" | ||||
|  |                                         style="filter: invert(1); margin-right: 0.8rem;"></span>+91 | ||||
|  |                                     99456767686 | ||||
|  |                                 </div> | ||||
|  |                             </div> | ||||
|  |                         </div> | ||||
|  |                     </div> | ||||
|  |                 </div> | ||||
|  |             </div> | ||||
|  |         </div> | ||||
|  |     </div> | ||||
|  | </section> | ||||
|  | <!-- Optional JavaScript --> | ||||
|  | <!-- jQuery first, then Popper.js, then Bootstrap JS --> | ||||
|  | <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | ||||
|  | <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> | ||||
|  | </body> | ||||
|  | </html> | ||||
| After Width: | Height: | Size: 158 KiB | 
| @ -0,0 +1,28 @@ | |||||
|  | <?xml version="1.0" encoding="UTF-8" ?> | ||||
|  | <odoo> | ||||
|  |     <!--Reconfigured cheque related action buttons views --> | ||||
|  |     <record id="view_account_payment_form_inherited" model="ir.ui.view"> | ||||
|  |         <field name="name">account.payment.view.form.inherit.odoo.print.cheque</field> | ||||
|  |         <field name="model">account.payment</field> | ||||
|  |         <field name="inherit_id" | ||||
|  |                ref="account_check_printing.view_account_payment_form_inherited"/> | ||||
|  |         <field name="arch" type="xml"> | ||||
|  |             <xpath expr="//button[@name='print_checks']" position="attributes"> | ||||
|  |                 <attribute name="invisible"> | ||||
|  |                     state != 'posted' or payment_method_code not in ['check_printing','pdc'] | ||||
|  |                 </attribute> | ||||
|  |             </xpath> | ||||
|  |             <xpath expr="//button[@name='unmark_as_sent']" position="after"> | ||||
|  |                 <button name="action_unmark_sent" | ||||
|  |                         string="Unmark Sent" | ||||
|  |                         type="object" | ||||
|  |                         data-hotkey="l" | ||||
|  |                         invisible="is_move_sent != True or state not in ['draft','cancel'] or payment_method_code not in ['check_printing','pdc']"/> | ||||
|  |                 <button name="action_void_check" | ||||
|  |                         string="Void Check" | ||||
|  |                         type="object" data-hotkey="o" | ||||
|  |                         invisible="is_move_sent != True or state in ['draft','cancel'] or payment_method_code not in ['check_printing','pdc']"/> | ||||
|  |             </xpath> | ||||
|  |         </field> | ||||
|  |     </record> | ||||
|  | </odoo> | ||||
| @ -0,0 +1,119 @@ | |||||
|  | <?xml version="1.0" encoding="UTF-8" ?> | ||||
|  | <odoo> | ||||
|  |     <!--Cheque details format configuration view--> | ||||
|  |     <record id="cheque_format_action" model="ir.actions.act_window"> | ||||
|  |         <field name="name">Check Models</field> | ||||
|  |         <field name="res_model">cheque.format</field> | ||||
|  |         <field name="view_mode">tree,form</field> | ||||
|  |     </record> | ||||
|  |     <!--Tree view--> | ||||
|  |     <record id="cheque_format_view_tree" model="ir.ui.view"> | ||||
|  |         <field name="name">cheque.format.view.tree</field> | ||||
|  |         <field name="model">cheque.format</field> | ||||
|  |         <field name="arch" type="xml"> | ||||
|  |             <tree string="Check format table"> | ||||
|  |                 <field name="bank_name"/> | ||||
|  |                 <field name="is_account_payee"/> | ||||
|  |             </tree> | ||||
|  |         </field> | ||||
|  |     </record> | ||||
|  |     <!--Form view--> | ||||
|  |     <record id="cheque_format_view_form" model="ir.ui.view"> | ||||
|  |         <field name="name">cheque.format.view.form</field> | ||||
|  |         <field name="model">cheque.format</field> | ||||
|  |         <field name="arch" type="xml"> | ||||
|  |             <form string="Check format"> | ||||
|  |                 <header> | ||||
|  |                     <!--Button for test print--> | ||||
|  |                     <button name="action_print_test" type="object" | ||||
|  |                             string="Test Print" | ||||
|  |                             class="oe_highlight" style="float:left;"/> | ||||
|  |                 </header> | ||||
|  |                 <sheet> | ||||
|  |                     <group> | ||||
|  |                         <!-- Configure bank name--> | ||||
|  |                         <group> | ||||
|  |                             <field name="bank_name"/> | ||||
|  |                             <field name="font_size"/> | ||||
|  |                         </group> | ||||
|  |                         <!-- Configure the cheque size--> | ||||
|  |                         <group> | ||||
|  |                             <field name="cheque_width"/> | ||||
|  |                             <field name="cheque_height"/> | ||||
|  |                         </group> | ||||
|  |                     </group> | ||||
|  |                     <!--Configure for the cheque format--> | ||||
|  |                     <notebook> | ||||
|  |                         <!-- To print account payee--> | ||||
|  |                         <page string="Crossed Account Payee cheque Format" | ||||
|  |                               name="account_payee_page"> | ||||
|  |                             <group> | ||||
|  |                                 <field name="is_account_payee"/> | ||||
|  |                             </group> | ||||
|  |                             <group invisible="is_account_payee == False"> | ||||
|  |                                 <field name="a_c_payee_top_margin"/> | ||||
|  |                                 <field name="a_c_payee_left_margin"/> | ||||
|  |                                 <field name="a_c_payee_width"/> | ||||
|  |                                 <field name="a_c_payee_height"/> | ||||
|  |                             </group> | ||||
|  |                         </page> | ||||
|  |                         <!--To print sequence number--> | ||||
|  |                         <page string="Cheque Sequence Number Format" | ||||
|  |                               name="cheque_sequence_page"> | ||||
|  |                             <group> | ||||
|  |                                 <field name="print_cheque_number"/> | ||||
|  |                             </group> | ||||
|  |                             <group invisible="print_cheque_number == False"> | ||||
|  |                                 <field name="cheque_no_tm"/> | ||||
|  |                                 <field name="cheque_no_lm"/> | ||||
|  |                             </group> | ||||
|  |                         </page> | ||||
|  |                         <!--To print date--> | ||||
|  |                         <page string="Date Format" name="date_format_page"> | ||||
|  |                             <group> | ||||
|  |                                 <field name="date_remove_slashes"/> | ||||
|  |                                 <field name="date_top_margin"/> | ||||
|  |                                 <field name="date_left_margin"/> | ||||
|  |                                 <field name="date_letter_spacing"/> | ||||
|  |                             </group> | ||||
|  |                         </page> | ||||
|  |                         <!--To print beneficiary name--> | ||||
|  |                         <page string="Beneficiary Format" | ||||
|  |                               name="Beneficiary_format_page"> | ||||
|  |                             <group> | ||||
|  |                                 <field name="beneficiary_top_margin"/> | ||||
|  |                                 <field name="beneficiary_left_margin"/> | ||||
|  |                             </group> | ||||
|  |                         </page> | ||||
|  |                         <!--To print amount in words--> | ||||
|  |                         <page string="Amount in word Format" | ||||
|  |                               name="word_format_page"> | ||||
|  |                             <group> | ||||
|  |                                 <field name="amount_word_tm"/> | ||||
|  |                                 <field name="amount_word_lm"/> | ||||
|  |                                 <field name="amount_word_ls"/> | ||||
|  |                             </group> | ||||
|  |                         </page> | ||||
|  |                         <!--To print amount in digits--> | ||||
|  |                         <page string="Amount in digit Format" | ||||
|  |                               name="digit_format_page"> | ||||
|  |                             <group> | ||||
|  |                                 <field name="print_currency"/> | ||||
|  |                                 <field name="amount_digit_tm"/> | ||||
|  |                                 <field name="amount_digit_lm"/> | ||||
|  |                                 <field name="amount_digit_ls"/> | ||||
|  |                                 <field name="amount_digit_size"/> | ||||
|  |                             </group> | ||||
|  |                         </page> | ||||
|  |                     </notebook> | ||||
|  |                 </sheet> | ||||
|  |             </form> | ||||
|  |         </field> | ||||
|  |     </record> | ||||
|  |     <menuitem | ||||
|  |             id="cheque_format_menu" | ||||
|  |             name='Configure Cheques' | ||||
|  |             parent="account.account_banks_menu" | ||||
|  |             sequence="3" | ||||
|  |             action="cheque_format_action"/> | ||||
|  | </odoo> | ||||
| @ -0,0 +1,14 @@ | |||||
|  | <?xml version="1.0" encoding="UTF-8" ?> | ||||
|  | <odoo> | ||||
|  |     <!--Hide existing cheque configuration--> | ||||
|  |     <record id="res_config_settings_view_form" model="ir.ui.view"> | ||||
|  |         <field name="name">res.config.settings.view.form.inherit.odoo.print.cheque</field> | ||||
|  |         <field name="model">res.config.settings</field> | ||||
|  |         <field name="inherit_id" ref="account.res_config_settings_view_form"/> | ||||
|  |         <field name="arch" type="xml"> | ||||
|  |             <xpath expr="//block/setting[@id='print_checks']" position="attributes"> | ||||
|  |                 <attribute name="invisible">1</attribute> | ||||
|  |             </xpath> | ||||
|  |         </field> | ||||
|  |     </record> | ||||
|  | </odoo> | ||||
| @ -0,0 +1,22 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################### | ||||
|  | # | ||||
|  | #   Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #   Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | ||||
|  | #   Author: Remya R( 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 <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################### | ||||
|  | from . import cheque_type | ||||
| @ -0,0 +1,94 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################### | ||||
|  | # | ||||
|  | #   Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #   Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | ||||
|  | #   Author: Remya R( 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 <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################### | ||||
|  | from odoo import fields, models, _ | ||||
|  | from odoo.exceptions import UserError | ||||
|  | 
 | ||||
|  | 
 | ||||
|  | class ChequeTypes(models.TransientModel): | ||||
|  |     """Wizard model to select cheque type.""" | ||||
|  |     _name = "cheque.types" | ||||
|  |     _description = "Cheque Types" | ||||
|  | 
 | ||||
|  |     cheque_format_id = fields.Many2one('cheque.format', string='Cheque Format', | ||||
|  |                                        help='Cheque Print Formats') | ||||
|  |     partner_id = fields.Many2one('res.partner', string='Partner', | ||||
|  |                                  help='Payee Name') | ||||
|  |     cheque_amount_in_words = fields.Text(string='Amount in words', | ||||
|  |                                          help='Cheque Amount in Words') | ||||
|  |     cheque_date = fields.Date(string='Date', help='Cheque Date') | ||||
|  |     company_id = fields.Many2one('res.company', string="company", | ||||
|  |                                  default=lambda self: self.env.company, | ||||
|  |                                  help='Company Name') | ||||
|  |     currency_id = fields.Many2one('res.currency', string='Currency', | ||||
|  |                                   related='company_id.currency_id', | ||||
|  |                                   help='Currency') | ||||
|  |     cheque_amount = fields.Monetary(currency_field='currency_id', | ||||
|  |                                     string='Amount', help='Amount to be paid') | ||||
|  |     check_number = fields.Char(string='Check Number', help='Check sequence ' | ||||
|  |                                                            'Number') | ||||
|  |     payment_id = fields.Many2one('account.payment', string='Payment Type', | ||||
|  |                                  help='Payment id') | ||||
|  | 
 | ||||
|  |     def action_print_selected_cheque(self): | ||||
|  |         """Print selected cheque format by calling template.""" | ||||
|  |         if not self.cheque_format_id: | ||||
|  |             raise UserError(_("Please select a Cheque Format.")) | ||||
|  |         self.payment_id.mark_as_sent() | ||||
|  |         if self.cheque_format_id.date_remove_slashes: | ||||
|  |             cheque_date = self.cheque_date.strftime("%d%m%Y") | ||||
|  |         else: | ||||
|  |             cheque_date = self.cheque_date.strftime("%d/%m/%Y") | ||||
|  |         data = { | ||||
|  |             'cheque_width': self.cheque_format_id.cheque_width, | ||||
|  |             'cheque_height': self.cheque_format_id.cheque_height, | ||||
|  |             'font_size': self.cheque_format_id.font_size, | ||||
|  |             'is_account_payee': self.cheque_format_id.is_account_payee, | ||||
|  |             'a_c_payee_top_margin': self.cheque_format_id.a_c_payee_top_margin, | ||||
|  |             'a_c_payee_left_margin': self.cheque_format_id.a_c_payee_left_margin, | ||||
|  |             'a_c_payee_width': self.cheque_format_id.a_c_payee_width, | ||||
|  |             'a_c_payee_height': self.cheque_format_id.a_c_payee_height, | ||||
|  |             'date_top_margin': self.cheque_format_id.date_top_margin, | ||||
|  |             'date_left_margin': self.cheque_format_id.date_left_margin, | ||||
|  |             'date_letter_spacing': self.cheque_format_id.date_letter_spacing, | ||||
|  |             'beneficiary_top_margin': self.cheque_format_id.beneficiary_top_margin, | ||||
|  |             'beneficiary_left_margin': self.cheque_format_id.beneficiary_left_margin, | ||||
|  |             'amount_word_tm': self.cheque_format_id.amount_word_tm, | ||||
|  |             'amount_word_lm': self.cheque_format_id.amount_word_lm, | ||||
|  |             'amount_word_ls': self.cheque_format_id.amount_word_ls, | ||||
|  |             'amount_digit_tm': self.cheque_format_id.amount_digit_tm, | ||||
|  |             'amount_digit_lm': self.cheque_format_id.amount_digit_lm, | ||||
|  |             'amount_digit_ls': self.cheque_format_id.amount_digit_ls, | ||||
|  |             'partner': self.partner_id.name, | ||||
|  |             'amount_in_words': self.cheque_amount_in_words, | ||||
|  |             'amount_in_digit': self.cheque_amount, | ||||
|  |             'cheque_date': cheque_date, | ||||
|  |             'print_currency': self.cheque_format_id.print_currency, | ||||
|  |             'currency_symbol': self.env.company.currency_id.symbol, | ||||
|  |             'amount_digit_size': self.cheque_format_id.amount_digit_size, | ||||
|  |             'print_cheque_number': self.cheque_format_id.print_cheque_number, | ||||
|  |             'check_number': self.check_number, | ||||
|  |             'cheque_no_tm': self.cheque_format_id.cheque_no_tm, | ||||
|  |             'cheque_no_lm': self.cheque_format_id.cheque_no_lm | ||||
|  |         } | ||||
|  |         return self.env.ref( | ||||
|  |             'odoo_print_cheque.print_cheque_action').report_action(None, | ||||
|  |                                                                    data=data) | ||||
| @ -0,0 +1,23 @@ | |||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||
|  | <odoo> | ||||
|  |     <!--    Print cheque by selecting cheque format   --> | ||||
|  |     <record id="cheque_types_view_form" model="ir.ui.view"> | ||||
|  |         <field name="name">cheque.types.view.form</field> | ||||
|  |         <field name="model">cheque.types</field> | ||||
|  |         <field name="arch" type="xml"> | ||||
|  |             <form string="Cheque Print wizard"> | ||||
|  |                 <group> | ||||
|  |                     <field name="cheque_format_id"/> | ||||
|  |                 </group> | ||||
|  |                 <footer> | ||||
|  |                     <button string="Print" name="action_print_selected_cheque" | ||||
|  |                             type="object" | ||||
|  |                             class="oe_highlight" data-hotkey="q" | ||||
|  |                             help="Select a format"/> | ||||
|  |                     <button string="Cancel" class="btn btn-secondary" | ||||
|  |                             special="cancel" help="Cancel Print"/> | ||||
|  |                 </footer> | ||||
|  |             </form> | ||||
|  |         </field> | ||||
|  |     </record> | ||||
|  | </odoo> | ||||