@ -0,0 +1,54 @@ |
|||||
|
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg |
||||
|
:target: https://www.gnu.org/licenses/agpl-3.0-standalone.html |
||||
|
:alt: License: AGPL-3 |
||||
|
|
||||
|
Print Cheques |
||||
|
============= |
||||
|
This module enables the user to print cheque in odoo community. The format of |
||||
|
the cheque can be customized by configuring its settings. This allows the user |
||||
|
to have control over how the information is displayed on the cheque when it is |
||||
|
printed. |
||||
|
|
||||
|
Configuration |
||||
|
============= |
||||
|
- install our custom module https://apps.odoo.com/apps/modules/16.0/base_accounting_kit/ |
||||
|
- configure the cheque format by aligning the details from accounting module--> configuration--> Configure Cheques. |
||||
|
|
||||
|
Installation |
||||
|
============ |
||||
|
- www.odoo.com/documentation/16.0/setup/install.html |
||||
|
- Install our custom addon |
||||
|
|
||||
|
License |
||||
|
------- |
||||
|
General Public License, Version 3 (AGPL v3). |
||||
|
(https://www.gnu.org/licenses/agpl-3.0-standalone.html) |
||||
|
|
||||
|
Company |
||||
|
------- |
||||
|
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ |
||||
|
|
||||
|
Credits |
||||
|
------- |
||||
|
* Developer: (V16) Aslam A K, Contact : odoo@cybrosys.com |
||||
|
|
||||
|
Contacts |
||||
|
-------- |
||||
|
* Mail Contact : odoo@cybrosys.com |
||||
|
* Website : https://cybrosys.com |
||||
|
|
||||
|
Bug Tracker |
||||
|
----------- |
||||
|
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. |
||||
|
|
||||
|
Maintainer |
||||
|
========== |
||||
|
.. image:: https://cybrosys.com/images/logo.png |
||||
|
:target: https://cybrosys.com |
||||
|
|
||||
|
This module is maintained by Cybrosys Technologies. |
||||
|
For support and more information, please visit https://www.cybrosys.com |
||||
|
|
||||
|
Further information |
||||
|
=================== |
||||
|
HTML Description: `<static/description/index.html>`__ |
@ -0,0 +1,23 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################### |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Aslam A K( odoo@cybrosys.com ) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################### |
||||
|
from . import models |
||||
|
from . import wizard |
@ -0,0 +1,48 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################### |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Aslam A K( odoo@cybrosys.com ) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################### |
||||
|
{ |
||||
|
'name': "Cheque Print", |
||||
|
'version': "16.0.1.0.0'", |
||||
|
'category': "Accounting", |
||||
|
'summary': """Print bank cheques format in odoo""", |
||||
|
'description': """ This module was developed to print cheques formats in |
||||
|
odoo community edition""", |
||||
|
'author': 'Cybrosys Techno Solutions', |
||||
|
'company': 'Cybrosys Techno Solutions', |
||||
|
'maintainer': 'Cybrosys Techno Solutions', |
||||
|
'website': "https://www.cybrosys.com", |
||||
|
'depends': ['base_accounting_kit'], |
||||
|
'data': [ |
||||
|
'security/ir.model.access.csv', |
||||
|
'views/res_config_settings_views.xml', |
||||
|
'views/cheque_format_views.xml', |
||||
|
'views/account_payment_views.xml', |
||||
|
'report/cheque_format_templates.xml', |
||||
|
'report/cheque_format_reports.xml', |
||||
|
'wizard/cheque_type_views.xml' |
||||
|
], |
||||
|
'images': ['static/description/banner.jpg'], |
||||
|
'license': 'AGPL-3', |
||||
|
'installable': True, |
||||
|
'auto_install': False, |
||||
|
'application': False, |
||||
|
} |
@ -0,0 +1,6 @@ |
|||||
|
## Module <odoo_print_cheque> |
||||
|
|
||||
|
#### 12.02.2024 |
||||
|
#### Version 16.0.1.0.0 |
||||
|
#### ADD |
||||
|
- Initial commit for Print Cheques |
@ -0,0 +1,23 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################### |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Aslam A K( odoo@cybrosys.com ) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <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) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Aslam A K( odoo@cybrosys.com ) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <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,134 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################### |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Aslam A K( odoo@cybrosys.com ) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <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: 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.2 KiB |
After Width: | Height: | Size: 673 B |
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: 1.5 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 589 B |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 967 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 5.0 KiB |
After Width: | Height: | Size: 1.3 MiB |
After Width: | Height: | Size: 80 KiB |
After Width: | Height: | Size: 79 KiB |
After Width: | Height: | Size: 80 KiB |
After Width: | Height: | Size: 70 KiB |
After Width: | Height: | Size: 92 KiB |
After Width: | Height: | Size: 333 KiB |
After Width: | Height: | Size: 98 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 54 KiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 51 KiB |
After Width: | Height: | Size: 47 KiB |
After Width: | Height: | Size: 52 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 138 KiB |
After Width: | Height: | Size: 88 KiB |
After Width: | Height: | Size: 12 KiB |
@ -0,0 +1,714 @@ |
|||||
|
<div style="background-color: #714B67; min-height: 600px; width: 100%; padding: 15px; position: relative;"> |
||||
|
<!-- TITLE BAR --> |
||||
|
<div class="d-flex align-items-center justify-content-between" |
||||
|
style="border-bottom: 1px solid #875A7B; padding: 15px; display: flex; justify-content: space-between; align-items: center;"> |
||||
|
<img src="assets/misc/cybrosys-logo.png" width="42" height="42" |
||||
|
style="width: 42px; height: 42px;"/> |
||||
|
<div> |
||||
|
<div style="color: #7C7BAD; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;" |
||||
|
class="mr-2"> |
||||
|
<i class="fa fa-check mr-1"></i>Community |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF TITLE BAR --> |
||||
|
|
||||
|
<!-- APP HERO --> |
||||
|
<div class="container"> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12"> |
||||
|
<h1 style="color: #FFFFFF; font-weight: bolder; font-size: 50px; text-align: center; margin-top: 50px;"> |
||||
|
Print Cheques</h1> |
||||
|
<p style="color:#FFFFFF; padding: 8px 15px; text-align: center; font-size: 24px;"> |
||||
|
Print Cheques Allows to Set Up Bank Cheque Formats to |
||||
|
Print on Cheques Easily.</p> |
||||
|
<!-- END OF APP HERO --> |
||||
|
<img src="assets/screenshots/hero.gif" |
||||
|
style="width: 100%; margin-left: auto; margin-right: auto;"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
<!-- NAVIGATION SECTION --> |
||||
|
<div class="d-flex align-items-center" |
||||
|
style="border-bottom: 2px solid #714B67; padding: 15px 0px; margin-top: 300px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/compass.png"/> |
||||
|
</div> |
||||
|
<h2 class="mt-2" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
||||
|
Explore This |
||||
|
Module</h2> |
||||
|
</div> |
||||
|
<div class="row my-4" style="font-family: 'Montserrat', sans-serif;"> |
||||
|
<div class="col-sm-12 col-md-6 my-3"> |
||||
|
<a href="#overview"> |
||||
|
<div class="d-flex justify-content-between align-items-center" |
||||
|
style="background-color: #f5f5f5; padding: 30px; width: 100%;"> |
||||
|
<div> |
||||
|
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Overview</span> |
||||
|
<span |
||||
|
style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">Learn |
||||
|
more about this |
||||
|
module</span> |
||||
|
</div> |
||||
|
<img src="assets/misc/right-arrow.png" width="36" |
||||
|
height="36"/> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-sm-12 col-md-6 my-3"> |
||||
|
<a href="#features"> |
||||
|
<div class="d-flex justify-content-between align-Scrollitems-center" |
||||
|
style="background-color: #f5f5f5; padding: 30px; width: 100%;"> |
||||
|
<div> |
||||
|
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Features</span> |
||||
|
<span |
||||
|
style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View |
||||
|
features of this |
||||
|
module</span> |
||||
|
</div> |
||||
|
<img src="assets/misc/right-arrow.png" width="36" |
||||
|
height="36"/> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-sm-12 col-md-6 my-3"> |
||||
|
<a href="#screenshots"> |
||||
|
<div class="d-flex justify-content-between align-items-center" |
||||
|
style="background-color: #f5f5f5; padding: 30px; width: 100%;"> |
||||
|
<div> |
||||
|
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Screenshots</span> |
||||
|
<span |
||||
|
style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View |
||||
|
screenshots for this |
||||
|
module</span> |
||||
|
</div> |
||||
|
<img src="assets/misc/right-arrow.png" width="36" |
||||
|
height="36"/> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF NAVIGATION SECTION --> |
||||
|
|
||||
|
<!-- OVERVIEW SECTION --> |
||||
|
<div class="d-flex align-items-center" |
||||
|
style="border-bottom: 2px solid #714B67; padding: 15px 0px;" |
||||
|
id="overview"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/pie-chart.png"/> |
||||
|
</div> |
||||
|
<h2 class="mt-2" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
||||
|
Overview |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="row" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;"> |
||||
|
<div class="col-sm-12 py-4"> |
||||
|
The Cheque Print application provides users with a |
||||
|
customizable template that can be used to print cheques. The template |
||||
|
can be configured to include payment information, such as the crossed |
||||
|
cheque, sequence number, the payee name, amount in words and digits, |
||||
|
date etc. Users can create multiple cheque formats for different banks |
||||
|
and others. The cheque format is downloaded as pdf with designed size |
||||
|
by |
||||
|
the user and this can print on any printers. Overall, the print cheque |
||||
|
format application in Odoo provides businesses with an efficient and |
||||
|
convenient solution for printing cheques. With its customizable |
||||
|
template and support for multiple cheque formats, the application can |
||||
|
help streamline cheque printing processes and improve accuracy and |
||||
|
efficiency. |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF OVERVIEW SECTION --> |
||||
|
|
||||
|
<!-- FEATURES SECTION --> |
||||
|
<div class="d-flex align-items-center" |
||||
|
style="border-bottom: 2px solid #714B67; padding: 15px 0px;" |
||||
|
id="features"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/features.png"/> |
||||
|
</div> |
||||
|
<h2 class="mt-2" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
||||
|
Features |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="row" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;"> |
||||
|
<div class="col-sm-12 col-md-6"> |
||||
|
<div class="d-flex align-items-center" |
||||
|
style="margin-top: 40px; margin-bottom: 40px"> |
||||
|
<img src="assets/misc/check-box.png" class="mr-2"/> |
||||
|
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Setup Cheque Format for Different Banks</span> |
||||
|
</div> |
||||
|
<div class="d-flex align-items-center" |
||||
|
style="margin-top: 30px; margin-bottom: 30px"> |
||||
|
<img src="assets/misc/check-box.png" class="mr-2"/> |
||||
|
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Customizable Cheque Alignment</span> |
||||
|
</div> |
||||
|
<div class="d-flex align-items-center" |
||||
|
style="margin-top: 30px; margin-bottom: 30px"> |
||||
|
<img src="assets/misc/check-box.png" class="mr-2"/> |
||||
|
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Adjust Font Size</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-sm-12 col-md-6"> |
||||
|
<div class="d-flex align-items-center" |
||||
|
style="margin-top: 30px; margin-bottom: 30px"> |
||||
|
<img src="assets/misc/check-box.png" class="mr-2"/> |
||||
|
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Test Print Button</span> |
||||
|
</div> |
||||
|
|
||||
|
<div class="d-flex align-items-center" |
||||
|
style="margin-top: 30px; margin-bottom: 30px"> |
||||
|
<img src="assets/misc/check-box.png" class="mr-2"/> |
||||
|
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Adjust the Details Like Crossed check, Sequence Number, Payee Name, Date, Amount, and Amount in Words Based on the Check.</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF FEATURES SECTION --> |
||||
|
|
||||
|
<!-- SCREENSHOTS SECTION --> |
||||
|
<div class="d-flex align-items-center" |
||||
|
style="border-bottom: 2px solid #714B67; padding: 15px 0px;" |
||||
|
id="screenshots"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/pictures.png"/> |
||||
|
</div> |
||||
|
<h2 class="mt-2" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
||||
|
Screenshots |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12"> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Configuration Menu |
||||
|
</h3> |
||||
|
<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> |
||||
|
<img src="assets/screenshots/1.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Cheque Formats |
||||
|
</h3> |
||||
|
<p style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"></p> |
||||
|
<img src="assets/screenshots/2.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Crossed Cheque Alignment |
||||
|
</h3> |
||||
|
<p style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"></p> |
||||
|
<img src="assets/screenshots/3.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Cheque Sequence Alignment |
||||
|
</h3> |
||||
|
<p style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"></p> |
||||
|
<img src="assets/screenshots/4.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Date Alignment |
||||
|
</h3> |
||||
|
<p style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"></p> |
||||
|
<img src="assets/screenshots/5.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Payee Name Alignment |
||||
|
</h3> |
||||
|
<p style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"></p> |
||||
|
<img src="assets/screenshots/6.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Amount in Words Alignment |
||||
|
</h3> |
||||
|
<p style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"></p> |
||||
|
<img src="assets/screenshots/7.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Amount in Digits Alignment |
||||
|
</h3> |
||||
|
<p style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"></p> |
||||
|
<img src="assets/screenshots/8.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Test Print Format |
||||
|
</h3> |
||||
|
<p style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"></p> |
||||
|
<img src="assets/screenshots/9.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Cheque Format Selection View |
||||
|
</h3> |
||||
|
<p style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"></p> |
||||
|
<img src="assets/screenshots/10.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Cheque Print View |
||||
|
</h3> |
||||
|
<p style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"></p> |
||||
|
<img src="assets/screenshots/11.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF SCREENSHOTS SECTION --> |
||||
|
|
||||
|
<!-- RELATED PRODUCTS --> |
||||
|
<div class="d-flex align-items-center" |
||||
|
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/categories.png"/> |
||||
|
</div> |
||||
|
<h2 class="mt-2" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
||||
|
Related |
||||
|
Products |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12"> |
||||
|
<div id="demo1" class="row carousel slide" data-ride="carousel"> |
||||
|
<!-- The slideshow --> |
||||
|
<div class="carousel-inner" style="padding: 30px;"> |
||||
|
<div class="carousel-item" style="min-height: 198.656px;"> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
||||
|
style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/16.0/base_accounting_kit/#" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-radius: 0px;" |
||||
|
src="assets/modules/1.gif"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
||||
|
style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/16.0/invoice_format_editor/" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-radius: 0px;" |
||||
|
src="assets/modules/2.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
||||
|
style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/16.0/base_account_budget/" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-radius: 0px;" |
||||
|
src="assets/modules/3.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="carousel-item active" |
||||
|
style="min-height: 198.656px;"> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
||||
|
style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/16.0/project_report_pdf/" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-radius: 0px;" |
||||
|
src="assets/modules/4.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
||||
|
style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/12.0/account_pdc/" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-radius: 0px;" |
||||
|
src="assets/modules/5.jpg"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
||||
|
style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/16.0/gatepass_slip/" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-radius: 0px;" |
||||
|
src="assets/modules/6.jpg"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- Left and right controls --> |
||||
|
<a class="carousel-control-prev" href="#demo1" 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="#demo1" |
||||
|
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> |
||||
|
</div> |
||||
|
<!-- END OF RELATED PRODUCTS --> |
||||
|
|
||||
|
<!-- OUR SERVICES --> |
||||
|
|
||||
|
<div class="d-flex align-items-center" |
||||
|
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/star.png"/> |
||||
|
</div> |
||||
|
<h2 class="mt-2" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
||||
|
Our Services |
||||
|
</h2> |
||||
|
</div> |
||||
|
|
||||
|
<div class="container my-5"> |
||||
|
<div class="row"> |
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #1dd1a1 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/cogs.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Customization</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #ff6b6b !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/wrench.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Implementation</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #6462CD !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/lifebuoy.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Support</h6> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #ffa801 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/user.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Hire |
||||
|
Odoo |
||||
|
Developer</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #54a0ff !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/puzzle.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Integration</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #6d7680 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/update.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Migration</h6> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #786fa6 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/consultation.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Consultancy</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #f8a5c2 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/training.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Implementation</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #e6be26 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/license.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Licensing Consultancy</h6> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
</div> |
||||
|
|
||||
|
<!-- END OF OUR SERVICES --> |
||||
|
<!-- OUR INDUSTRIES --> |
||||
|
|
||||
|
<div class="d-flex align-items-center" |
||||
|
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/corporate.png"/> |
||||
|
</div> |
||||
|
<h2 class="mt-2" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
||||
|
Our |
||||
|
Industries |
||||
|
</h2> |
||||
|
</div> |
||||
|
|
||||
|
<div class="container my-5"> |
||||
|
<div class="row"> |
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/trading-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Trading |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Easily procure |
||||
|
and |
||||
|
sell your products</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/pos-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
POS |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Easy |
||||
|
configuration |
||||
|
and convivial experience</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/education-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Education |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
A platform for |
||||
|
educational management</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/manufacturing-black.png" |
||||
|
class="img-responsive mb-3" height="48px" |
||||
|
width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Manufacturing |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Plan, track and |
||||
|
schedule your operations</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/ecom-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
E-commerce & Website |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Mobile |
||||
|
friendly, |
||||
|
awe-inspiring product pages</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/service-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Service Management |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Keep track of |
||||
|
services and invoice</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/restaurant-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Restaurant |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Run your bar or |
||||
|
restaurant methodically</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/hotel-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Hotel Management |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
An |
||||
|
all-inclusive |
||||
|
hotel management application</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<!-- END OF OUR INDUSTRIES --> |
||||
|
|
||||
|
<!-- SUPPORT --> |
||||
|
<div class="d-flex align-items-center" |
||||
|
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/customer-support.png"/> |
||||
|
</div> |
||||
|
<h2 class="mt-2" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
||||
|
Support |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="container mt-5"> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 col-md-6"> |
||||
|
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;"> |
||||
|
<div class="mr-4" |
||||
|
style="background-color: #714B67; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;"> |
||||
|
<img src="assets/misc/support.png" height="48" width="48" |
||||
|
style="width: 42px; height: 42px;"/> |
||||
|
</div> |
||||
|
<div> |
||||
|
<h4>Need Help?</h4> |
||||
|
<p style="line-height: 100%;">Got questions or need help? |
||||
|
Get in touch.</p> |
||||
|
<a href="mailto:odoo@cybrosys.com"> |
||||
|
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;"> |
||||
|
odoo@cybrosys.com</p> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-sm-12 col-md-6"> |
||||
|
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;"> |
||||
|
<div class="mr-4" |
||||
|
style="background-color: #2AC44D; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;"> |
||||
|
<img src="assets/misc/whatsapp.png" height="52" width="52" |
||||
|
style="width: 52px; height: 52px;"/> |
||||
|
</div> |
||||
|
<div> |
||||
|
<h4>WhatsApp</h4> |
||||
|
<p style="line-height: 100%;">Say hi to us on WhatsApp!</p> |
||||
|
<a href="https://api.whatsapp.com/send?phone=918606827707"> |
||||
|
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;"> |
||||
|
+91 86068 |
||||
|
27707</p> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 my-5 d-flex justify-content-center align-items-center"> |
||||
|
<img src="assets/misc/logo.png" width="144" height="31" |
||||
|
style="width:144px; height: 31px; margin-top: 40px;"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF SUPPORT --> |
After Width: | Height: | Size: 158 KiB |
@ -0,0 +1,35 @@ |
|||||
|
<?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="attrs">{'invisible': ['|','|', |
||||
|
('is_move_sent', '=', True), |
||||
|
('state', 'in', ['draft','cancel']), |
||||
|
('payment_method_code', 'not in', |
||||
|
['check_printing','pdc'])]} |
||||
|
</attribute> |
||||
|
</xpath> |
||||
|
<xpath expr="//button[@name='unmark_as_sent']" position="after"> |
||||
|
<button name="action_unmark_sent" |
||||
|
attrs="{'invisible': ['|', '|', ('is_move_sent', '!=', True), |
||||
|
('state', 'in', ['draft','cancel']), |
||||
|
('payment_method_code', 'not in', ['check_printing','pdc'])]}" |
||||
|
string="Unmark Sent" |
||||
|
type="object" |
||||
|
data-hotkey="l"/> |
||||
|
<button name="action_void_check" |
||||
|
attrs="{'invisible': ['|', '|', ('is_move_sent', '!=', True), |
||||
|
('state', 'in', ['draft','cancel']), |
||||
|
('payment_method_code', 'not in', ['check_printing','pdc'])]}" |
||||
|
string="Void Check" |
||||
|
type="object" data-hotkey="o"/> |
||||
|
</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 attrs="{'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 attrs="{'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="//div[@id='print_checks']" position="attributes"> |
||||
|
<attribute name="attrs">{'invisible': 1}</attribute> |
||||
|
</xpath> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,22 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################### |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Aslam A K( odoo@cybrosys.com ) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################### |
||||
|
from . import cheque_type |
@ -0,0 +1,96 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################### |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Aslam A K( odoo@cybrosys.com ) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <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> |