commit 7819a1d6db40fec509aabb14c830d3d641a0ea5e Author: Duy Dat <0921215884dat@gmail.com> Date: Fri Jun 13 14:20:29 2025 +0700 Initial commit on branch odoo_DuyDat diff --git a/advanced_loan_management/README.rst b/advanced_loan_management/README.rst new file mode 100644 index 0000000..5bb4232 --- /dev/null +++ b/advanced_loan_management/README.rst @@ -0,0 +1,44 @@ +.. 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 + +Loan Management +=============== +Helps You To Manage Loan Disburse/Amortization Operations. + +Configuration +============= +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developers: (V17) Megha K , + (V18) Gayathri V, +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 `Our Website `__ + +Further information +=================== +HTML Description: ``__ + diff --git a/advanced_loan_management/__init__.py b/advanced_loan_management/__init__.py new file mode 100644 index 0000000..77c581f --- /dev/null +++ b/advanced_loan_management/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies(). +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from . import models, report, wizard diff --git a/advanced_loan_management/__manifest__.py b/advanced_loan_management/__manifest__.py new file mode 100644 index 0000000..697a42e --- /dev/null +++ b/advanced_loan_management/__manifest__.py @@ -0,0 +1,59 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies(). +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +{ + 'name': 'Loan Management', + 'version': '18.0.1.0.0', + 'summary': 'Helps You To Manage Loan Requests/Disbursement/' + 'Repayments/Amortization Operations', + 'description': 'Module Allows To Create different types of loans,' + 'Manage Loan Requests And Amortization Operations Simply,' + 'Create Invoices For Each Repayment Amounts', + 'category': 'Accounting', + 'author': "Cybrosys Techno Solutions", + 'company': "Cybrosys Techno Solutions", + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['mail', 'account', 'base',], + 'demo': ['data/loan_journal_data.xml'], + 'data': [ + 'security/loan_management_groups.xml', + 'security/loan_management_security.xml', + 'security/ir.model.access.csv', + 'data/ir_sequence_data.xml', + 'views/loan_type_views.xml', + 'views/loan_request_views.xml', + 'views/repayment_lines_views.xml', + 'views/loan_documents_views.xml', + 'views/res_config_settings_views.xml', + 'views/loan_management_menus.xml', + 'views/res_partner_views.xml', + 'wizard/message_popup_views.xml', + 'wizard/reject_reason_views.xml', + 'report/loan_management_reports.xml', + 'report/loan_report_templates.xml', + ], + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': True, +} diff --git a/advanced_loan_management/__pycache__/__init__.cpython-312.pyc b/advanced_loan_management/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..3c147a8 Binary files /dev/null and b/advanced_loan_management/__pycache__/__init__.cpython-312.pyc differ diff --git a/advanced_loan_management/data/ir_sequence_data.xml b/advanced_loan_management/data/ir_sequence_data.xml new file mode 100644 index 0000000..a6fb2b6 --- /dev/null +++ b/advanced_loan_management/data/ir_sequence_data.xml @@ -0,0 +1,12 @@ + + + + + + Loan Reference + increment_loan_ref + LOAN + 3 + + + diff --git a/advanced_loan_management/data/loan_journal_data.xml b/advanced_loan_management/data/loan_journal_data.xml new file mode 100644 index 0000000..e1155dd --- /dev/null +++ b/advanced_loan_management/data/loan_journal_data.xml @@ -0,0 +1,41 @@ + + + + + + Disburse + DIS + purchase + + + + + Loan Disburse + 200019 + liability_current + + + + Loan Interest + 200011 + liability_current + + + + Loan Repayment + 200012 + asset_cash + + + + + Repayment Amount + service + + + + Interest Amount + service + + + diff --git a/advanced_loan_management/doc/RELEASE_NOTES.md b/advanced_loan_management/doc/RELEASE_NOTES.md new file mode 100644 index 0000000..5291977 --- /dev/null +++ b/advanced_loan_management/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 31.5.2025 +#### Version 18.0.1.0.0 +#### ADD +- Initial Commit for Loan Management diff --git a/advanced_loan_management/models/__init__.py b/advanced_loan_management/models/__init__.py new file mode 100644 index 0000000..08e390c --- /dev/null +++ b/advanced_loan_management/models/__init__.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies(). +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from . import account_move +from . import account_payment_register +from . import loan_documents +from . import loan_request +from . import loan_type +from . import repayment_lines +from . import res_config_settings +from . import res_partner + + + + + + diff --git a/advanced_loan_management/models/__pycache__/__init__.cpython-312.pyc b/advanced_loan_management/models/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..60905f2 Binary files /dev/null and b/advanced_loan_management/models/__pycache__/__init__.cpython-312.pyc differ diff --git a/advanced_loan_management/models/__pycache__/account_move.cpython-312.pyc b/advanced_loan_management/models/__pycache__/account_move.cpython-312.pyc new file mode 100644 index 0000000..9273599 Binary files /dev/null and b/advanced_loan_management/models/__pycache__/account_move.cpython-312.pyc differ diff --git a/advanced_loan_management/models/__pycache__/account_payment_register.cpython-312.pyc b/advanced_loan_management/models/__pycache__/account_payment_register.cpython-312.pyc new file mode 100644 index 0000000..1adcb2d Binary files /dev/null and b/advanced_loan_management/models/__pycache__/account_payment_register.cpython-312.pyc differ diff --git a/advanced_loan_management/models/__pycache__/loan_documents.cpython-312.pyc b/advanced_loan_management/models/__pycache__/loan_documents.cpython-312.pyc new file mode 100644 index 0000000..c498fde Binary files /dev/null and b/advanced_loan_management/models/__pycache__/loan_documents.cpython-312.pyc differ diff --git a/advanced_loan_management/models/__pycache__/loan_request.cpython-312.pyc b/advanced_loan_management/models/__pycache__/loan_request.cpython-312.pyc new file mode 100644 index 0000000..781e221 Binary files /dev/null and b/advanced_loan_management/models/__pycache__/loan_request.cpython-312.pyc differ diff --git a/advanced_loan_management/models/__pycache__/loan_type.cpython-312.pyc b/advanced_loan_management/models/__pycache__/loan_type.cpython-312.pyc new file mode 100644 index 0000000..26ec8ec Binary files /dev/null and b/advanced_loan_management/models/__pycache__/loan_type.cpython-312.pyc differ diff --git a/advanced_loan_management/models/__pycache__/repayment_lines.cpython-312.pyc b/advanced_loan_management/models/__pycache__/repayment_lines.cpython-312.pyc new file mode 100644 index 0000000..49e53e4 Binary files /dev/null and b/advanced_loan_management/models/__pycache__/repayment_lines.cpython-312.pyc differ diff --git a/advanced_loan_management/models/__pycache__/res_config_settings.cpython-312.pyc b/advanced_loan_management/models/__pycache__/res_config_settings.cpython-312.pyc new file mode 100644 index 0000000..45fa6fb Binary files /dev/null and b/advanced_loan_management/models/__pycache__/res_config_settings.cpython-312.pyc differ diff --git a/advanced_loan_management/models/__pycache__/res_partner.cpython-312.pyc b/advanced_loan_management/models/__pycache__/res_partner.cpython-312.pyc new file mode 100644 index 0000000..3fa288a Binary files /dev/null and b/advanced_loan_management/models/__pycache__/res_partner.cpython-312.pyc differ diff --git a/advanced_loan_management/models/account_move.py b/advanced_loan_management/models/account_move.py new file mode 100644 index 0000000..af362d3 --- /dev/null +++ b/advanced_loan_management/models/account_move.py @@ -0,0 +1,54 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies(). +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import models + + +class AccountMove(models.Model): + """Alter loan repayment line state on draft and cancel button click""" + _inherit = 'account.move' + + def button_draft(self): + """Change repayment record state to 'invoiced' + while reset to draft the invoice""" + res = super().button_draft() + loan_line_ids = self.env['repayment.line'].search([ + ('name', 'ilike', self.payment_reference)]) + if loan_line_ids: + loan_line_ids.update({ + 'state': 'invoiced', + 'invoice': True + }) + return res + + def button_cancel(self): + """Change repayment record state to 'unpaid' + while cancelling the invoice""" + res = super().button_cancel() + for record in self: + loan_line_ids = self.env['repayment.line'].search([ + ('name', 'ilike', record.payment_reference)]) + if loan_line_ids: + loan_line_ids.update({ + 'state': 'unpaid', + 'invoice': False + }) + return res diff --git a/advanced_loan_management/models/account_payment_register.py b/advanced_loan_management/models/account_payment_register.py new file mode 100644 index 0000000..a8d2f39 --- /dev/null +++ b/advanced_loan_management/models/account_payment_register.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies(). +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import models + + +class AccountPaymentRegister(models.TransientModel): + """Alter loan repayment line state based on invoice status""" + _inherit = 'account.payment.register' + + def _post_payments(self, to_process, edit_mode=False): + """Change repayment record state to 'paid' while registering the + payment""" + res = super()._post_payments(to_process, edit_mode=False) + for record in self: + loan_line_id = self.env['repayment.line'].search([ + ('name', 'ilike', record.communication)]) + loan_line_id.write({'state': 'paid'}) + return res diff --git a/advanced_loan_management/models/loan_documents.py b/advanced_loan_management/models/loan_documents.py new file mode 100644 index 0000000..6732b0b --- /dev/null +++ b/advanced_loan_management/models/loan_documents.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies(). +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import fields, models + + +class LoanDocuments(models.Model): + """Documents required to approve loan, eg:-Aadhar, Pan""" + _name = 'loan.documents' + _description = 'Loan Documents' + _rec_name = 'loan_proofs' + + loan_proofs = fields.Char(string="Proofs", help="Document name " + "for identification", required=True) + company_id = fields.Many2one('res.company', string='Company', + readonly=True, + help="Company Name", + default=lambda self: + self.env.company) diff --git a/advanced_loan_management/models/loan_request.py b/advanced_loan_management/models/loan_request.py new file mode 100644 index 0000000..4209167 --- /dev/null +++ b/advanced_loan_management/models/loan_request.py @@ -0,0 +1,265 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies(). +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from datetime import datetime +from dateutil.relativedelta import relativedelta +from odoo import api, fields, models, _ +from odoo.exceptions import UserError + + +class LoanRequest(models.Model): + """Can create new loan requests and manage records""" + _name = 'loan.request' + _inherit = ['mail.thread'] + _description = 'Loan Request' + + name = fields.Char(string='Loan Reference', readonly=True, + copy=False, help="Sequence number for loan requests", + default=lambda self: 'New') + company_id = fields.Many2one('res.company', string='Company', + readonly=True, + help="Company Name", + default=lambda self: self.env.company) + currency_id = fields.Many2one('res.currency', string='Currency', + required=True, help="Currency", + default=lambda self: self.env.user.company_id. + currency_id) + loan_type_id = fields.Many2one('loan.type', string='Loan Type', + required=True, help="Can choose different " + "loan types suitable") + loan_amount = fields.Float(string="Loan Amount", + help="Total loan amount", ) + disbursal_amount = fields.Float(string="Disbursal Amount", + help="Total loan amount " + "available to disburse") + tenure = fields.Integer(string="Tenure", default=1, + help="Installment period") + interest_rate = fields.Float(string="Interest Rate", help="Interest " + "percentage") + date = fields.Date(string="Date", default=fields.Date.today(), + readonly=True, help="Date") + partner_id = fields.Many2one('res.partner', string="Partner", + required=True, + help="Partner") + repayment_lines_ids = fields.One2many('repayment.line', + 'loan_id', + string="Loan Line", index=True, + help="Repayment lines") + documents_ids = fields.Many2many('loan.documents', + string="Proofs", + help="Documents as proof") + img_attachment_ids = fields.Many2many('ir.attachment', + relation="m2m_ir_identity_card_rel", + column1="documents_ids", + string="Images", + help="Image proofs") + journal_id = fields.Many2one('account.journal', + string="Journal", + help="Journal types", + domain="[('type', '=', 'purchase')," + "('company_id', '=', company_id)]", + ) + debit_account_id = fields.Many2one('account.account', + string="Debit account", + help="Choose account for " + "disbursement debit") + credit_account_id = fields.Many2one('account.account', + string="Credit account", + help="Choose account for " + "disbursement credit") + reject_reason = fields.Text(string="Reason", help="Displays " + "rejected reason") + request = fields.Boolean(string="Request", + help="For monitoring the record") + state = fields.Selection(string='State', + selection=[('draft', 'Draft'), ('confirmed', 'Confirmed'), + ('waiting', 'Waiting For Approval'), + ('approved', 'Approved'), ('disbursed', 'Disbursed'), + ('rejected', 'Rejected'), ('closed', 'Closed')], + copy=False, tracking=True, default='draft', help="Loan request states") + + @api.model + def create(self, vals): + """create auto sequence for the loan request records""" + loan_count = self.env['loan.request'].search( + [('partner_id', '=', vals['partner_id']), + ('state', 'not in', ('draft', 'rejected', 'closed'))]) + if loan_count: + for rec in loan_count: + if rec.state != 'closed': + raise UserError( + _('The partner has already an ongoing loan.')) + else: + if vals.get('name', 'New') == 'New': + vals['name'] = self.env['ir.sequence'].next_by_code( + 'increment_loan_ref') + res = super().create(vals) + return res + + @api.onchange('loan_type_id') + def _onchange_loan_type_id(self): + """Changing field values based on the chosen loan type""" + type_id = self.loan_type_id + self.loan_amount = type_id.loan_amount + self.disbursal_amount = type_id.disbursal_amount + self.tenure = type_id.tenure + self.interest_rate = type_id.interest_rate + self.documents_ids = type_id.documents_ids + + def action_loan_request(self): + """Changes the state to confirmed and send confirmation mail""" + self.write({'state': "confirmed"}) + partner = self.partner_id + loan_no = self.name + subject = 'Loan Confirmation' + message = (f"Dear {partner.name},
This is a confirmation mail " + f"for your loan{loan_no}. We have submitted your loan " + f"for approval.") + outgoing_mail = self.company_id.email + mail_values = { + 'subject': subject, + 'email_from': outgoing_mail, + 'author_id': self.env.user.partner_id.id, + 'email_to': partner.email, + 'body_html': message, + } + mail = self.env['mail.mail'].sudo().create(mail_values) + mail.send() + + def action_request_for_loan(self): + """Change the state to waiting for approval""" + if self.request: + self.write({'state': "waiting"}) + else: + message_id = self.env['message.popup'].create( + {'message': _("Compute the repayments before requesting")}) + return { + 'name': _('Repayment'), + 'type': 'ir.actions.act_window', + 'view_mode': 'form', + 'res_model': 'message.popup', + 'res_id': message_id.id, + 'target': 'new' + } + + def action_loan_approved(self): + """Change to Approved state""" + self.write({'state': "approved"}) + + def action_disburse_loan(self): + """Disbursing the loan to customer and creating journal + entry for the disbursement""" + self.write({'state': "disbursed"}) + for loan in self: + amount = loan.disbursal_amount + loan_name = loan.partner_id.name + reference = loan.name + journal_id = loan.journal_id.id + debit_account_id = loan.debit_account_id.id + credit_account_id = loan.credit_account_id.id + date_now = loan.date + debit_vals = { + 'name': loan_name, + 'account_id': debit_account_id, + 'journal_id': journal_id, + 'date': date_now, + 'debit': amount > 0.0 and amount or 0.0, + 'credit': amount < 0.0 and -amount or 0.0, + } + credit_vals = { + 'name': loan_name, + 'account_id': credit_account_id, + 'journal_id': journal_id, + 'date': date_now, + 'debit': amount < 0.0 and -amount or 0.0, + 'credit': amount > 0.0 and amount or 0.0, + } + vals = { + 'name': f'DIS / {reference}', + 'narration': reference, + 'ref': reference, + 'journal_id': journal_id, + 'date': date_now, + 'line_ids': [(0, 0, debit_vals), (0, 0, credit_vals)] + } + move = self.env['account.move'].create(vals) + move.action_post() + return True + + def action_close_loan(self): + """Closing the loan""" + demo = [] + for check in self.repayment_lines_ids: + if check.state == 'unpaid': + demo.append(check) + if len(demo) >= 1: + message_id = self.env['message.popup'].create( + {'message': _("Pending Repayments")}) + return { + 'name': _('Repayment'), + 'type': 'ir.actions.act_window', + 'view_mode': 'form', + 'res_model': 'message.popup', + 'res_id': message_id.id, + 'target': 'new' + } + self.write({'state': "closed"}) + + def action_loan_rejected(self): + """You can add reject reasons here""" + return {'type': 'ir.actions.act_window', + 'name': 'Loan Rejection', + 'res_model': 'reject.reason', + 'target': 'new', + 'view_mode': 'form', + 'context': {'default_loan': self.name} + } + + def action_compute_repayment(self): + """This automatically create the installment the employee need to pay to + company based on payment start date and the no of installments. + """ + self.request = True + for loan in self: + loan.repayment_lines_ids.unlink() + date_start = datetime.strptime(str(loan.date),'%Y-%m-%d') + relativedelta(months=1) + amount = loan.loan_amount / loan.tenure + interest = loan.loan_amount * loan.interest_rate + interest_amount = interest / loan.tenure + total_amount = amount + interest_amount + partner = self.partner_id + for rand_num in range(1, loan.tenure + 1): + self.env['repayment.line'].create({ + 'name': f"{loan.name}/{rand_num}", + 'partner_id': partner.id, + 'date': date_start, + 'amount': amount, + 'interest_amount': interest_amount, + 'total_amount': total_amount, + 'interest_account_id': self.env.ref('advanced_loan_management.' + 'loan_management_' + 'inrst_accounts').id, + 'repayment_account_id': self.env.ref('advanced_loan_management.' + 'demo_' + 'loan_accounts').id, + 'loan_id': loan.id}) + date_start += relativedelta(months=1) + return True diff --git a/advanced_loan_management/models/loan_type.py b/advanced_loan_management/models/loan_type.py new file mode 100644 index 0000000..2ce7975 --- /dev/null +++ b/advanced_loan_management/models/loan_type.py @@ -0,0 +1,57 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies(). +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import api, fields, models + + +class LoanTypes(models.Model): + """Create different types of Loans, And can wisely choose while requesting + for loan""" + _name = 'loan.type' + _inherit = ['mail.thread'] + _description = 'Loan Type' + + name = fields.Char(string='Name', help="LoanType Name", required=True) + loan_amount = fields.Integer(string='Loan Amount', help="Loan Amount", required=True) + tenure = fields.Integer(string='Tenure', default='1', + help="Amortization period") + tenure_plan = fields.Char(string="Tenure Plan", default='Monthly', + readonly='True', help="EMI payment plan") + interest_rate = fields.Float(string='Interest Rate', + help="Loan Interest Rate") + disbursal_amount = fields.Float(string='Disbursal Amount', + compute='_compute_disbursal_amount', + help="Total Amount To Be Disbursed") + documents_ids = fields.Many2many('loan.documents', + string="Documents", + help="Personal Proofs") + processing_fee = fields.Integer(string="Processing Fee", + help="Amount For Initializing The Loan") + note = fields.Text(string="Criteria", help="Criteria for approving " + "loan requests") + company_id = fields.Many2one('res.company', string='Company', + readonly=True, help="Company Name", + default=lambda self: self.env.company, ) + + @api.depends('processing_fee', 'loan_amount') + def _compute_disbursal_amount(self): + """Calculating amount for disbursing""" + self.disbursal_amount = self.loan_amount - self.processing_fee diff --git a/advanced_loan_management/models/repayment_lines.py b/advanced_loan_management/models/repayment_lines.py new file mode 100644 index 0000000..f18f4ce --- /dev/null +++ b/advanced_loan_management/models/repayment_lines.py @@ -0,0 +1,149 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies(). +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import fields, models + + +class RepaymentLine(models.Model): + """Loan repayments """ + _name = "repayment.line" + _description = "Repayment Line" + + name = fields.Char(string="Loan ", default="/", readonly=True, + help="Repayment no: of loan") + partner_id = fields.Many2one('res.partner', string="Partner", + required=True, + help="Partner") + company_id = fields.Many2one('res.company', string='Company', + readonly=True, + help="Company", + default=lambda self: self.env.company) + date = fields.Date(string="Payment Date", required=True, + default=fields.Date.today(), + readonly=True, + help="Date of the payment") + amount = fields.Float(string="Amount", required=True, help="Amount", + digits=(16, 2)) + interest_amount = fields.Float(string="Interest Amount", required=True, + help="Interest Amount", digits=(16, 2)) + total_amount = fields.Float(string="Total Amount", required=True, + help="Total Amount", digits=(16, 2)) + loan_id = fields.Many2one('loan.request', string="Loan Ref.", + help="Loan", + readonly=True) + state = fields.Selection(string="State", + selection=[('unpaid', 'Unpaid'), + ('invoiced', 'Invoiced'), + ('paid', 'Paid')], copy=False, + default='unpaid', + help="Includes paid and unpaid states for each " + "repayments", ) + journal_loan_id = fields.Many2one('account.journal', + string="Journal", + store=True, default=lambda self: self. + env['account.journal']. + search([('code', 'like', 'CSH1')]), + help="Journal Record") + interest_account_id = fields.Many2one('account.account', + string="Interest", + store=True, + help="Account For Interest") + repayment_account_id = fields.Many2one('account.account', + string="Repayment", + store=True, + help="Account For Repayment") + invoice = fields.Boolean(string="invoice", default=False, + help="For monitoring the record") + + def action_pay_emi(self): + """Creates invoice for each EMI""" + time_now = self.date + interest_product_id = self.env['ir.config_parameter'].sudo().get_param( + 'advanced_loan_management.interest_product_id') + repayment_product_id = self.env['ir.config_parameter'].sudo().get_param( + 'advanced_loan_management.repayment_product_id') + for rec in self: + loan_lines_ids = self.env['repayment.line'].search( + [('loan_id', '=', rec.loan_id.id)], order='date asc') + for line in loan_lines_ids: + if line.date < rec.date and line.state in \ + ('unpaid', 'invoiced'): + message_id = self.env['message.popup'].create( + {'message': ( + "You have pending amounts")}) + return { + 'name': 'Repayment', + 'type': 'ir.actions.act_window', + 'view_mode': 'form', + 'res_model': 'message.popup', + 'res_id': message_id.id, + 'target': 'new' + } + + invoice = self.env['account.move'].create({ + 'move_type': 'out_invoice', + 'invoice_date': time_now, + 'partner_id': self.partner_id.id, + 'currency_id': self.company_id.currency_id.id, + 'payment_reference': self.name, + 'invoice_line_ids': [ + (0, 0, { + 'price_unit': self.amount, + 'product_id': repayment_product_id, + 'name': 'Repayment', + 'account_id': self.repayment_account_id.id, + 'quantity': 1, + }), + (0, 0, { + 'price_unit': self.interest_amount, + 'product_id': interest_product_id, + 'name': 'Interest amount', + 'account_id': self.interest_account_id.id, + 'quantity': 1, + }), + ], + }) + if invoice: + invoice.action_post() + self.invoice=True + self.write({'state':'invoiced'}) + return { + 'name': 'Invoice', + 'res_model': 'account.move', + 'res_id': invoice.id, + 'type': 'ir.actions.act_window', + 'view_mode': 'form', + } + + def action_view_invoice(self): + """To view the invoices""" + invoice = self.env['account.move'].search([ + ('payment_reference', '=', self.name) + ]) + self.invoice = True + + return { + 'name': 'Invoice', + 'res_model': 'account.move', + 'res_id': invoice.id, + 'type': 'ir.actions.act_window', + 'view_mode': 'form', + } diff --git a/advanced_loan_management/models/res_config_settings.py b/advanced_loan_management/models/res_config_settings.py new file mode 100644 index 0000000..f6499fc --- /dev/null +++ b/advanced_loan_management/models/res_config_settings.py @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies(). +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import fields, models + + +class ResConfigSettings(models.TransientModel): + """Add new fields to display service products""" + _inherit = 'res.config.settings' + + interest_product_id = fields.Many2one('product.product', + string="Interest Product", + config_parameter="advanced_loan_management.interest_product_id", + help="Product For Interest " + "To Create Invoice Lines") + repayment_product_id = fields.Many2one('product.product', + string="Repayment Product", + config_parameter="advanced_loan_management.repayment_product_id", + help="Product For Repayment " + "To Create Invoice Lines") diff --git a/advanced_loan_management/models/res_partner.py b/advanced_loan_management/models/res_partner.py new file mode 100644 index 0000000..7972e2a --- /dev/null +++ b/advanced_loan_management/models/res_partner.py @@ -0,0 +1,49 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies(). +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import fields, models + + +class ResPartner(models.Model): + """Add new tab to display partner's loan count""" + _inherit = "res.partner" + + def _compute_partner_loans(self): + """This compute the loan amount and total loans count of a partner.""" + self.loan_count = self.env['loan.request'].search_count( + [('partner_id', '=', self.id), + ('state', 'in', ('disbursed', 'closed'))]) + + loan_count = fields.Integer(string="Loan Count", + compute='_compute_partner_loans', + help="Displays numbers of loans " + "ongoing and closed by the employee") + + def action_view_loans(self): + """Returns loan records of current employee""" + return { + 'type': 'ir.actions.act_window', + 'name': 'Loans', + 'view_mode': 'tree', + 'res_model': 'loan.request', + 'domain': [('partner_id', '=', self.id)], + 'context': "{'create': False}" + } diff --git a/advanced_loan_management/report/__init__.py b/advanced_loan_management/report/__init__.py new file mode 100644 index 0000000..59d2d24 --- /dev/null +++ b/advanced_loan_management/report/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies(). +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from . import loan_management_reports + diff --git a/advanced_loan_management/report/__pycache__/__init__.cpython-312.pyc b/advanced_loan_management/report/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..f9233d3 Binary files /dev/null and b/advanced_loan_management/report/__pycache__/__init__.cpython-312.pyc differ diff --git a/advanced_loan_management/report/__pycache__/loan_management_reports.cpython-312.pyc b/advanced_loan_management/report/__pycache__/loan_management_reports.cpython-312.pyc new file mode 100644 index 0000000..a56f07d Binary files /dev/null and b/advanced_loan_management/report/__pycache__/loan_management_reports.cpython-312.pyc differ diff --git a/advanced_loan_management/report/loan_management_reports.py b/advanced_loan_management/report/loan_management_reports.py new file mode 100644 index 0000000..3a23e90 --- /dev/null +++ b/advanced_loan_management/report/loan_management_reports.py @@ -0,0 +1,63 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies(). +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import api, models + + +class LoanDetails(models.AbstractModel): + """fetch pdf report values""" + _name = 'report.advanced_loan_management.loan_report_template' + + @api.model + def _get_report_values(self, doc_ids, data=None): + loan_id = self.env['loan.request'].browse(doc_ids) + data = { + 'Loan_id': loan_id.id, + 'Customer': loan_id.partner_id.name, + 'CustomerAddress': f"{loan_id.partner_id.street} " + f"{loan_id.partner_id.city}" if loan_id.partner_id.city + else '', + 'CustomerAddress2': f"{loan_id.partner_id.city}, " + f"{loan_id.partner_id.state_id.name}" if + loan_id.partner_id.city and loan_id.partner_id.state_id.name + else '', + 'CustomerContact': loan_id.partner_id.phone, + 'Loan_Type': loan_id.loan_type_id.name, + 'Tenure': loan_id.tenure, + 'Tenure_type': loan_id.loan_type_id.tenure_plan, + 'Interest_Rate': str(loan_id.interest_rate * 100), + 'Loan_Amount': str(loan_id.loan_amount), + } + """Fetching values for the report using query and returns the value""" + query = """SELECT name as Name, date as Date, amount as Amount, + interest_amount as Interest_amount,state as State, + total_amount as Total_amount FROM repayment_line""" + check = """WHERE""" + condition = """loan_id='{cust}'""".format(cust=loan_id.id) + query = """{} {} {}""".format(query, check, condition) + self.env.cr.execute(query) + record = self.env.cr.dictfetchall() + record_sort = sorted(record, key=lambda x: x['date']) + return { + 'docs': record_sort, + 'doc_ids': doc_ids, + 'data': data, + } diff --git a/advanced_loan_management/report/loan_management_reports.xml b/advanced_loan_management/report/loan_management_reports.xml new file mode 100644 index 0000000..8fcb6ac --- /dev/null +++ b/advanced_loan_management/report/loan_management_reports.xml @@ -0,0 +1,13 @@ + + + + + Loan Request + loan.request + qweb-pdf + advanced_loan_management.loan_report_template + advanced_loan_management.loan_report_template + + report + + \ No newline at end of file diff --git a/advanced_loan_management/report/loan_report_templates.xml b/advanced_loan_management/report/loan_report_templates.xml new file mode 100644 index 0000000..2fa4f22 --- /dev/null +++ b/advanced_loan_management/report/loan_report_templates.xml @@ -0,0 +1,96 @@ + + + + + \ No newline at end of file diff --git a/advanced_loan_management/security/ir.model.access.csv b/advanced_loan_management/security/ir.model.access.csv new file mode 100644 index 0000000..1137668 --- /dev/null +++ b/advanced_loan_management/security/ir.model.access.csv @@ -0,0 +1,8 @@ +id,name,model_id/id,group_id/id,perm_read,perm_write,perm_create,perm_unlink +access_loan_type_base,access.loan.type.base,model_loan_type,base.group_user,1,1,1,1 +access_loan_request_approver,access.loan.request.approver,model_loan_request,advanced_loan_management.loan_management_group_manager,1,1,1,1 +access_loan_request_user,access.loan.request.user,model_loan_request,advanced_loan_management.loan_management_group_user,1,1,1,0 +access_loan_documents_base,access.loan.documents.base,model_loan_documents,base.group_user,1,1,1,1 +access_repayment_line_base,access.repayment.line.base,model_repayment_line,base.group_user,1,1,1,1 +access_reject_reason_wizard_base,access.reject.reason.base,model_reject_reason,base.group_user,1,1,1,1 +access_message_wizard_base,access.message.popup.base,model_message_popup,base.group_user,1,1,1,1 diff --git a/advanced_loan_management/security/loan_management_groups.xml b/advanced_loan_management/security/loan_management_groups.xml new file mode 100644 index 0000000..19ba7ee --- /dev/null +++ b/advanced_loan_management/security/loan_management_groups.xml @@ -0,0 +1,23 @@ + + + + + + Loan Management + User access level for loan_management + model + + 8 + + + User + + + + + Manager + + + + + \ No newline at end of file diff --git a/advanced_loan_management/security/loan_management_security.xml b/advanced_loan_management/security/loan_management_security.xml new file mode 100644 index 0000000..e0a3891 --- /dev/null +++ b/advanced_loan_management/security/loan_management_security.xml @@ -0,0 +1,60 @@ + + + + + + Loan Request Multi Company + + + [('company_id', 'in', company_ids)] + + + + Loan Documents Multi Company + + + [('company_id', 'in', company_ids)] + + + + Loan Type Multi Company + + + [('company_id', 'in', company_ids)] + + + + Repayment Line Multi Company + + + [('company_id', 'in', company_ids)] + + + + + Access All Loan Request Created + + [(1, '=', 1)] + + + + + + + + + + + Access Only Loan Request Created By User + + [('create_uid', '=', user.id)] + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/cybro-icon.png b/advanced_loan_management/static/description/assets/cybro-icon.png new file mode 100644 index 0000000..06e73e1 Binary files /dev/null and b/advanced_loan_management/static/description/assets/cybro-icon.png differ diff --git a/advanced_loan_management/static/description/assets/cybro-odoo.png b/advanced_loan_management/static/description/assets/cybro-odoo.png new file mode 100644 index 0000000..ed02e07 Binary files /dev/null and b/advanced_loan_management/static/description/assets/cybro-odoo.png differ diff --git a/advanced_loan_management/static/description/assets/h2.png b/advanced_loan_management/static/description/assets/h2.png new file mode 100644 index 0000000..0bfc470 Binary files /dev/null and b/advanced_loan_management/static/description/assets/h2.png differ diff --git a/advanced_loan_management/static/description/assets/icons/arrows-repeat.svg b/advanced_loan_management/static/description/assets/icons/arrows-repeat.svg new file mode 100644 index 0000000..1d7efab --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/arrows-repeat.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/icons/banner-1.png b/advanced_loan_management/static/description/assets/icons/banner-1.png new file mode 100644 index 0000000..c180db1 Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/banner-1.png differ diff --git a/advanced_loan_management/static/description/assets/icons/banner-2.svg b/advanced_loan_management/static/description/assets/icons/banner-2.svg new file mode 100644 index 0000000..e606d97 --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/banner-2.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/icons/banner-bg.png b/advanced_loan_management/static/description/assets/icons/banner-bg.png new file mode 100644 index 0000000..a8238d3 Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/banner-bg.png differ diff --git a/advanced_loan_management/static/description/assets/icons/banner-bg.svg b/advanced_loan_management/static/description/assets/icons/banner-bg.svg new file mode 100644 index 0000000..b137810 --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/banner-bg.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/icons/banner-call.svg b/advanced_loan_management/static/description/assets/icons/banner-call.svg new file mode 100644 index 0000000..96c687e --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/banner-call.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/advanced_loan_management/static/description/assets/icons/banner-mail.svg b/advanced_loan_management/static/description/assets/icons/banner-mail.svg new file mode 100644 index 0000000..cbf0d15 --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/banner-mail.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/advanced_loan_management/static/description/assets/icons/banner-pattern.svg b/advanced_loan_management/static/description/assets/icons/banner-pattern.svg new file mode 100644 index 0000000..89da83b --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/banner-pattern.svg @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/icons/banner-promo.svg b/advanced_loan_management/static/description/assets/icons/banner-promo.svg new file mode 100644 index 0000000..d52791b --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/banner-promo.svg @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/icons/brand-pair.svg b/advanced_loan_management/static/description/assets/icons/brand-pair.svg new file mode 100644 index 0000000..d8db7fc --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/brand-pair.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/icons/capture (1).png b/advanced_loan_management/static/description/assets/icons/capture (1).png new file mode 100644 index 0000000..8824dea Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/capture (1).png differ diff --git a/advanced_loan_management/static/description/assets/icons/check.png b/advanced_loan_management/static/description/assets/icons/check.png new file mode 100644 index 0000000..c8e85f5 Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/check.png differ diff --git a/advanced_loan_management/static/description/assets/icons/chevron.png b/advanced_loan_management/static/description/assets/icons/chevron.png new file mode 100644 index 0000000..2089293 Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/chevron.png differ diff --git a/advanced_loan_management/static/description/assets/icons/close-icon.svg b/advanced_loan_management/static/description/assets/icons/close-icon.svg new file mode 100644 index 0000000..df8cce3 --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/close-icon.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/advanced_loan_management/static/description/assets/icons/cogs.png b/advanced_loan_management/static/description/assets/icons/cogs.png new file mode 100644 index 0000000..95d0bad Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/cogs.png differ diff --git a/advanced_loan_management/static/description/assets/icons/collabarate-icon.svg b/advanced_loan_management/static/description/assets/icons/collabarate-icon.svg new file mode 100644 index 0000000..dd4e105 --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/collabarate-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/advanced_loan_management/static/description/assets/icons/consultation.png b/advanced_loan_management/static/description/assets/icons/consultation.png new file mode 100644 index 0000000..8319d4b Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/consultation.png differ diff --git a/advanced_loan_management/static/description/assets/icons/cybro-logo.png b/advanced_loan_management/static/description/assets/icons/cybro-logo.png new file mode 100644 index 0000000..ff4b782 Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/cybro-logo.png differ diff --git a/advanced_loan_management/static/description/assets/icons/down.svg b/advanced_loan_management/static/description/assets/icons/down.svg new file mode 100644 index 0000000..f21c362 --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/advanced_loan_management/static/description/assets/icons/ecom-black.png b/advanced_loan_management/static/description/assets/icons/ecom-black.png new file mode 100644 index 0000000..a9385ff Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/ecom-black.png differ diff --git a/advanced_loan_management/static/description/assets/icons/education-black.png b/advanced_loan_management/static/description/assets/icons/education-black.png new file mode 100644 index 0000000..3eb09b2 Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/education-black.png differ diff --git a/advanced_loan_management/static/description/assets/icons/faq.png b/advanced_loan_management/static/description/assets/icons/faq.png new file mode 100644 index 0000000..4250b5b Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/faq.png differ diff --git a/advanced_loan_management/static/description/assets/icons/feature-icon.svg b/advanced_loan_management/static/description/assets/icons/feature-icon.svg new file mode 100644 index 0000000..fa0ea68 --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/feature-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/icons/feature.png b/advanced_loan_management/static/description/assets/icons/feature.png new file mode 100644 index 0000000..ac7a785 Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/feature.png differ diff --git a/advanced_loan_management/static/description/assets/icons/gear.svg b/advanced_loan_management/static/description/assets/icons/gear.svg new file mode 100644 index 0000000..0cc66b6 --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/gear.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/icons/hero.gif b/advanced_loan_management/static/description/assets/icons/hero.gif new file mode 100644 index 0000000..b489e89 Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/hero.gif differ diff --git a/advanced_loan_management/static/description/assets/icons/hire-odoo.svg b/advanced_loan_management/static/description/assets/icons/hire-odoo.svg new file mode 100644 index 0000000..e1ac089 --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/hire-odoo.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/icons/hotel-black.png b/advanced_loan_management/static/description/assets/icons/hotel-black.png new file mode 100644 index 0000000..130f613 Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/hotel-black.png differ diff --git a/advanced_loan_management/static/description/assets/icons/img.png b/advanced_loan_management/static/description/assets/icons/img.png new file mode 100644 index 0000000..70197f4 Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/img.png differ diff --git a/advanced_loan_management/static/description/assets/icons/license.png b/advanced_loan_management/static/description/assets/icons/license.png new file mode 100644 index 0000000..a586979 Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/license.png differ diff --git a/advanced_loan_management/static/description/assets/icons/life-ring-icon.svg b/advanced_loan_management/static/description/assets/icons/life-ring-icon.svg new file mode 100644 index 0000000..3ae6e1d --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/life-ring-icon.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/icons/lifebuoy.png b/advanced_loan_management/static/description/assets/icons/lifebuoy.png new file mode 100644 index 0000000..658d56c Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/lifebuoy.png differ diff --git a/advanced_loan_management/static/description/assets/icons/mail.svg b/advanced_loan_management/static/description/assets/icons/mail.svg new file mode 100644 index 0000000..1eedde6 --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/mail.svg @@ -0,0 +1,3 @@ + + + diff --git a/advanced_loan_management/static/description/assets/icons/manufacturing-black.png b/advanced_loan_management/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 0000000..697eb0e Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/manufacturing-black.png differ diff --git a/advanced_loan_management/static/description/assets/icons/notes.png b/advanced_loan_management/static/description/assets/icons/notes.png new file mode 100644 index 0000000..ee5e954 Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/notes.png differ diff --git a/advanced_loan_management/static/description/assets/icons/notification icon.svg b/advanced_loan_management/static/description/assets/icons/notification icon.svg new file mode 100644 index 0000000..0531899 --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/notification icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/icons/odoo-consultancy.svg b/advanced_loan_management/static/description/assets/icons/odoo-consultancy.svg new file mode 100644 index 0000000..e05f65b --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/odoo-consultancy.svg @@ -0,0 +1,4 @@ + + + + diff --git a/advanced_loan_management/static/description/assets/icons/odoo-licencing.svg b/advanced_loan_management/static/description/assets/icons/odoo-licencing.svg new file mode 100644 index 0000000..2606c88 --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/odoo-licencing.svg @@ -0,0 +1,3 @@ + + + diff --git a/advanced_loan_management/static/description/assets/icons/odoo-logo.png b/advanced_loan_management/static/description/assets/icons/odoo-logo.png new file mode 100644 index 0000000..0e4d0eb Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/odoo-logo.png differ diff --git a/advanced_loan_management/static/description/assets/icons/patter.svg b/advanced_loan_management/static/description/assets/icons/patter.svg new file mode 100644 index 0000000..25c9c0a --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/patter.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/icons/pattern1.png b/advanced_loan_management/static/description/assets/icons/pattern1.png new file mode 100644 index 0000000..09ab0fb Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/pattern1.png differ diff --git a/advanced_loan_management/static/description/assets/icons/photo-capture.png b/advanced_loan_management/static/description/assets/icons/photo-capture.png new file mode 100644 index 0000000..06c1117 Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/photo-capture.png differ diff --git a/advanced_loan_management/static/description/assets/icons/pos-black.png b/advanced_loan_management/static/description/assets/icons/pos-black.png new file mode 100644 index 0000000..97c0f90 Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/pos-black.png differ diff --git a/advanced_loan_management/static/description/assets/icons/puzzle-piece-icon.svg b/advanced_loan_management/static/description/assets/icons/puzzle-piece-icon.svg new file mode 100644 index 0000000..3e9ad93 --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/puzzle-piece-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/icons/puzzle.png b/advanced_loan_management/static/description/assets/icons/puzzle.png new file mode 100644 index 0000000..65cf854 Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/puzzle.png differ diff --git a/advanced_loan_management/static/description/assets/icons/replace-icon.svg b/advanced_loan_management/static/description/assets/icons/replace-icon.svg new file mode 100644 index 0000000..d0e3a7a --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/replace-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/icons/restaurant-black.png b/advanced_loan_management/static/description/assets/icons/restaurant-black.png new file mode 100644 index 0000000..4a35eb9 Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/restaurant-black.png differ diff --git a/advanced_loan_management/static/description/assets/icons/screenshot-main.png b/advanced_loan_management/static/description/assets/icons/screenshot-main.png new file mode 100644 index 0000000..575f8e6 Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/screenshot-main.png differ diff --git a/advanced_loan_management/static/description/assets/icons/screenshot.png b/advanced_loan_management/static/description/assets/icons/screenshot.png new file mode 100644 index 0000000..cef2725 Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/screenshot.png differ diff --git a/advanced_loan_management/static/description/assets/icons/service-black.png b/advanced_loan_management/static/description/assets/icons/service-black.png new file mode 100644 index 0000000..301ab51 Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/service-black.png differ diff --git a/advanced_loan_management/static/description/assets/icons/skype-fill.svg b/advanced_loan_management/static/description/assets/icons/skype-fill.svg new file mode 100644 index 0000000..c174236 --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/skype-fill.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/icons/skype.png b/advanced_loan_management/static/description/assets/icons/skype.png new file mode 100644 index 0000000..51b409f Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/skype.png differ diff --git a/advanced_loan_management/static/description/assets/icons/skype.svg b/advanced_loan_management/static/description/assets/icons/skype.svg new file mode 100644 index 0000000..df3dad3 --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/skype.svg @@ -0,0 +1,3 @@ + + + diff --git a/advanced_loan_management/static/description/assets/icons/star-1.svg b/advanced_loan_management/static/description/assets/icons/star-1.svg new file mode 100644 index 0000000..7e55ab1 --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/star-1.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/icons/star-2.svg b/advanced_loan_management/static/description/assets/icons/star-2.svg new file mode 100644 index 0000000..5ae9f50 --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/star-2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/icons/support.png b/advanced_loan_management/static/description/assets/icons/support.png new file mode 100644 index 0000000..4f18b8b Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/support.png differ diff --git a/advanced_loan_management/static/description/assets/icons/test-1 - Copy.png b/advanced_loan_management/static/description/assets/icons/test-1 - Copy.png new file mode 100644 index 0000000..f6a9026 Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/test-1 - Copy.png differ diff --git a/advanced_loan_management/static/description/assets/icons/test-1.png b/advanced_loan_management/static/description/assets/icons/test-1.png new file mode 100644 index 0000000..0908add Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/test-1.png differ diff --git a/advanced_loan_management/static/description/assets/icons/test-2.png b/advanced_loan_management/static/description/assets/icons/test-2.png new file mode 100644 index 0000000..4671fe9 Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/test-2.png differ diff --git a/advanced_loan_management/static/description/assets/icons/trading-black.png b/advanced_loan_management/static/description/assets/icons/trading-black.png new file mode 100644 index 0000000..9398ba2 Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/trading-black.png differ diff --git a/advanced_loan_management/static/description/assets/icons/training.png b/advanced_loan_management/static/description/assets/icons/training.png new file mode 100644 index 0000000..884ca02 Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/training.png differ diff --git a/advanced_loan_management/static/description/assets/icons/translate.svg b/advanced_loan_management/static/description/assets/icons/translate.svg new file mode 100644 index 0000000..af9c8a1 --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/translate.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/icons/update.png b/advanced_loan_management/static/description/assets/icons/update.png new file mode 100644 index 0000000..ecbc5a0 Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/update.png differ diff --git a/advanced_loan_management/static/description/assets/icons/user.png b/advanced_loan_management/static/description/assets/icons/user.png new file mode 100644 index 0000000..6ffb23d Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/user.png differ diff --git a/advanced_loan_management/static/description/assets/icons/video.png b/advanced_loan_management/static/description/assets/icons/video.png new file mode 100644 index 0000000..576705b Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/video.png differ diff --git a/advanced_loan_management/static/description/assets/icons/whatsapp.png b/advanced_loan_management/static/description/assets/icons/whatsapp.png new file mode 100644 index 0000000..d513a53 Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/whatsapp.png differ diff --git a/advanced_loan_management/static/description/assets/icons/wrench-icon.svg b/advanced_loan_management/static/description/assets/icons/wrench-icon.svg new file mode 100644 index 0000000..174b5a4 --- /dev/null +++ b/advanced_loan_management/static/description/assets/icons/wrench-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/icons/wrench.png b/advanced_loan_management/static/description/assets/icons/wrench.png new file mode 100644 index 0000000..6c04dea Binary files /dev/null and b/advanced_loan_management/static/description/assets/icons/wrench.png differ diff --git a/advanced_loan_management/static/description/assets/misc/Cybrosys R.png b/advanced_loan_management/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 0000000..da40580 Binary files /dev/null and b/advanced_loan_management/static/description/assets/misc/Cybrosys R.png differ diff --git a/advanced_loan_management/static/description/assets/misc/categories.png b/advanced_loan_management/static/description/assets/misc/categories.png new file mode 100644 index 0000000..bedf1e0 Binary files /dev/null and b/advanced_loan_management/static/description/assets/misc/categories.png differ diff --git a/advanced_loan_management/static/description/assets/misc/check-box.png b/advanced_loan_management/static/description/assets/misc/check-box.png new file mode 100644 index 0000000..42caf24 Binary files /dev/null and b/advanced_loan_management/static/description/assets/misc/check-box.png differ diff --git a/advanced_loan_management/static/description/assets/misc/compass.png b/advanced_loan_management/static/description/assets/misc/compass.png new file mode 100644 index 0000000..d5fed8f Binary files /dev/null and b/advanced_loan_management/static/description/assets/misc/compass.png differ diff --git a/advanced_loan_management/static/description/assets/misc/config.png b/advanced_loan_management/static/description/assets/misc/config.png new file mode 100644 index 0000000..71915e7 Binary files /dev/null and b/advanced_loan_management/static/description/assets/misc/config.png differ diff --git a/advanced_loan_management/static/description/assets/misc/corporate.png b/advanced_loan_management/static/description/assets/misc/corporate.png new file mode 100644 index 0000000..2eb13ed Binary files /dev/null and b/advanced_loan_management/static/description/assets/misc/corporate.png differ diff --git a/advanced_loan_management/static/description/assets/misc/customer-support.png b/advanced_loan_management/static/description/assets/misc/customer-support.png new file mode 100644 index 0000000..79efc72 Binary files /dev/null and b/advanced_loan_management/static/description/assets/misc/customer-support.png differ diff --git a/advanced_loan_management/static/description/assets/misc/cybrosys-logo.png b/advanced_loan_management/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 0000000..cc3cc0c Binary files /dev/null and b/advanced_loan_management/static/description/assets/misc/cybrosys-logo.png differ diff --git a/advanced_loan_management/static/description/assets/misc/e_logo.png b/advanced_loan_management/static/description/assets/misc/e_logo.png new file mode 100644 index 0000000..3013820 Binary files /dev/null and b/advanced_loan_management/static/description/assets/misc/e_logo.png differ diff --git a/advanced_loan_management/static/description/assets/misc/email.svg b/advanced_loan_management/static/description/assets/misc/email.svg new file mode 100644 index 0000000..15291cd --- /dev/null +++ b/advanced_loan_management/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/misc/features.png b/advanced_loan_management/static/description/assets/misc/features.png new file mode 100644 index 0000000..b41769f Binary files /dev/null and b/advanced_loan_management/static/description/assets/misc/features.png differ diff --git a/advanced_loan_management/static/description/assets/misc/logo.png b/advanced_loan_management/static/description/assets/misc/logo.png new file mode 100644 index 0000000..478462d Binary files /dev/null and b/advanced_loan_management/static/description/assets/misc/logo.png differ diff --git a/advanced_loan_management/static/description/assets/misc/phone.svg b/advanced_loan_management/static/description/assets/misc/phone.svg new file mode 100644 index 0000000..b7bd7f2 --- /dev/null +++ b/advanced_loan_management/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/advanced_loan_management/static/description/assets/misc/pictures.png b/advanced_loan_management/static/description/assets/misc/pictures.png new file mode 100644 index 0000000..56d255f Binary files /dev/null and b/advanced_loan_management/static/description/assets/misc/pictures.png differ diff --git a/advanced_loan_management/static/description/assets/misc/pie-chart.png b/advanced_loan_management/static/description/assets/misc/pie-chart.png new file mode 100644 index 0000000..426e052 Binary files /dev/null and b/advanced_loan_management/static/description/assets/misc/pie-chart.png differ diff --git a/advanced_loan_management/static/description/assets/misc/right-arrow.png b/advanced_loan_management/static/description/assets/misc/right-arrow.png new file mode 100644 index 0000000..730984a Binary files /dev/null and b/advanced_loan_management/static/description/assets/misc/right-arrow.png differ diff --git a/advanced_loan_management/static/description/assets/misc/star (1) 2.svg b/advanced_loan_management/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 0000000..5ae9f50 --- /dev/null +++ b/advanced_loan_management/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/misc/star.png b/advanced_loan_management/static/description/assets/misc/star.png new file mode 100644 index 0000000..2eb9ab2 Binary files /dev/null and b/advanced_loan_management/static/description/assets/misc/star.png differ diff --git a/advanced_loan_management/static/description/assets/misc/support (1) 1.svg b/advanced_loan_management/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 0000000..7d37a8f --- /dev/null +++ b/advanced_loan_management/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/misc/support-email.svg b/advanced_loan_management/static/description/assets/misc/support-email.svg new file mode 100644 index 0000000..eb70370 --- /dev/null +++ b/advanced_loan_management/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/advanced_loan_management/static/description/assets/misc/support.png b/advanced_loan_management/static/description/assets/misc/support.png new file mode 100644 index 0000000..4f18b8b Binary files /dev/null and b/advanced_loan_management/static/description/assets/misc/support.png differ diff --git a/advanced_loan_management/static/description/assets/misc/tick-mark.svg b/advanced_loan_management/static/description/assets/misc/tick-mark.svg new file mode 100644 index 0000000..2dbb401 --- /dev/null +++ b/advanced_loan_management/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/misc/whatsapp 1.svg b/advanced_loan_management/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 0000000..0bfaf8f --- /dev/null +++ b/advanced_loan_management/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/misc/whatsapp.png b/advanced_loan_management/static/description/assets/misc/whatsapp.png new file mode 100644 index 0000000..d513a53 Binary files /dev/null and b/advanced_loan_management/static/description/assets/misc/whatsapp.png differ diff --git a/advanced_loan_management/static/description/assets/misc/whatsapp.svg b/advanced_loan_management/static/description/assets/misc/whatsapp.svg new file mode 100644 index 0000000..b618aea --- /dev/null +++ b/advanced_loan_management/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/advanced_loan_management/static/description/assets/modules/1.gif b/advanced_loan_management/static/description/assets/modules/1.gif new file mode 100644 index 0000000..ae3a880 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/1.gif differ diff --git a/advanced_loan_management/static/description/assets/modules/1.jpg b/advanced_loan_management/static/description/assets/modules/1.jpg new file mode 100644 index 0000000..08bbafe Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/1.jpg differ diff --git a/advanced_loan_management/static/description/assets/modules/1.png b/advanced_loan_management/static/description/assets/modules/1.png new file mode 100644 index 0000000..c9d686d Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/1.png differ diff --git a/advanced_loan_management/static/description/assets/modules/2.gif b/advanced_loan_management/static/description/assets/modules/2.gif new file mode 100644 index 0000000..d19e2b3 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/2.gif differ diff --git a/advanced_loan_management/static/description/assets/modules/2.png b/advanced_loan_management/static/description/assets/modules/2.png new file mode 100644 index 0000000..a1209a0 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/2.png differ diff --git a/advanced_loan_management/static/description/assets/modules/3.jpg b/advanced_loan_management/static/description/assets/modules/3.jpg new file mode 100644 index 0000000..3d17122 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/3.jpg differ diff --git a/advanced_loan_management/static/description/assets/modules/3.png b/advanced_loan_management/static/description/assets/modules/3.png new file mode 100644 index 0000000..8513873 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/3.png differ diff --git a/advanced_loan_management/static/description/assets/modules/4.jpg b/advanced_loan_management/static/description/assets/modules/4.jpg new file mode 100644 index 0000000..1f3f2e2 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/4.jpg differ diff --git a/advanced_loan_management/static/description/assets/modules/4.png b/advanced_loan_management/static/description/assets/modules/4.png new file mode 100644 index 0000000..3bedf79 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/4.png differ diff --git a/advanced_loan_management/static/description/assets/modules/5.gif b/advanced_loan_management/static/description/assets/modules/5.gif new file mode 100644 index 0000000..2a5f8e6 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/5.gif differ diff --git a/advanced_loan_management/static/description/assets/modules/5.jpg b/advanced_loan_management/static/description/assets/modules/5.jpg new file mode 100644 index 0000000..0db7175 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/5.jpg differ diff --git a/advanced_loan_management/static/description/assets/modules/5.png b/advanced_loan_management/static/description/assets/modules/5.png new file mode 100644 index 0000000..0e311ca Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/5.png differ diff --git a/advanced_loan_management/static/description/assets/modules/6.jpg b/advanced_loan_management/static/description/assets/modules/6.jpg new file mode 100644 index 0000000..67c7f70 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/6.jpg differ diff --git a/advanced_loan_management/static/description/assets/modules/6.png b/advanced_loan_management/static/description/assets/modules/6.png new file mode 100644 index 0000000..14391fa Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/6.png differ diff --git a/advanced_loan_management/static/description/assets/modules/banner1.gif b/advanced_loan_management/static/description/assets/modules/banner1.gif new file mode 100644 index 0000000..8ac32db Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/banner1.gif differ diff --git a/advanced_loan_management/static/description/assets/modules/banner2.jpg b/advanced_loan_management/static/description/assets/modules/banner2.jpg new file mode 100644 index 0000000..d05b174 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/banner2.jpg differ diff --git a/advanced_loan_management/static/description/assets/modules/banner3.png b/advanced_loan_management/static/description/assets/modules/banner3.png new file mode 100644 index 0000000..87bb832 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/banner3.png differ diff --git a/advanced_loan_management/static/description/assets/modules/banner4.png b/advanced_loan_management/static/description/assets/modules/banner4.png new file mode 100644 index 0000000..8513873 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/banner4.png differ diff --git a/advanced_loan_management/static/description/assets/modules/banner5.jpg b/advanced_loan_management/static/description/assets/modules/banner5.jpg new file mode 100644 index 0000000..67c7f70 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/banner5.jpg differ diff --git a/advanced_loan_management/static/description/assets/modules/banner6.jpg b/advanced_loan_management/static/description/assets/modules/banner6.jpg new file mode 100644 index 0000000..87c2bb2 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/banner6.jpg differ diff --git a/advanced_loan_management/static/description/assets/modules/l2.png b/advanced_loan_management/static/description/assets/modules/l2.png new file mode 100644 index 0000000..f40a075 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/l2.png differ diff --git a/advanced_loan_management/static/description/assets/modules/l3.png b/advanced_loan_management/static/description/assets/modules/l3.png new file mode 100644 index 0000000..5738a48 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/l3.png differ diff --git a/advanced_loan_management/static/description/assets/modules/l4.png b/advanced_loan_management/static/description/assets/modules/l4.png new file mode 100644 index 0000000..8d99e8c Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/l4.png differ diff --git a/advanced_loan_management/static/description/assets/modules/l5.png b/advanced_loan_management/static/description/assets/modules/l5.png new file mode 100644 index 0000000..3415917 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/l5.png differ diff --git a/advanced_loan_management/static/description/assets/modules/l6.png b/advanced_loan_management/static/description/assets/modules/l6.png new file mode 100644 index 0000000..c7ea331 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/l6.png differ diff --git a/advanced_loan_management/static/description/assets/modules/m1.png b/advanced_loan_management/static/description/assets/modules/m1.png new file mode 100644 index 0000000..acb4c76 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/m1.png differ diff --git a/advanced_loan_management/static/description/assets/modules/m2.png b/advanced_loan_management/static/description/assets/modules/m2.png new file mode 100644 index 0000000..3ef91f7 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/m2.png differ diff --git a/advanced_loan_management/static/description/assets/modules/m3.png b/advanced_loan_management/static/description/assets/modules/m3.png new file mode 100644 index 0000000..72febf6 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/m3.png differ diff --git a/advanced_loan_management/static/description/assets/modules/m4.png b/advanced_loan_management/static/description/assets/modules/m4.png new file mode 100644 index 0000000..f7d7f92 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/m4.png differ diff --git a/advanced_loan_management/static/description/assets/modules/m5.png b/advanced_loan_management/static/description/assets/modules/m5.png new file mode 100644 index 0000000..1d3324e Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/m5.png differ diff --git a/advanced_loan_management/static/description/assets/modules/m6.png b/advanced_loan_management/static/description/assets/modules/m6.png new file mode 100644 index 0000000..80938c1 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/m6.png differ diff --git a/advanced_loan_management/static/description/assets/modules/module_image (1).jpeg b/advanced_loan_management/static/description/assets/modules/module_image (1).jpeg new file mode 100644 index 0000000..5ae2484 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/module_image (1).jpeg differ diff --git a/advanced_loan_management/static/description/assets/modules/module_image (1).png b/advanced_loan_management/static/description/assets/modules/module_image (1).png new file mode 100644 index 0000000..0dea4f3 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/module_image (1).png differ diff --git a/advanced_loan_management/static/description/assets/modules/module_image (2).png b/advanced_loan_management/static/description/assets/modules/module_image (2).png new file mode 100644 index 0000000..a5dc796 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/module_image (2).png differ diff --git a/advanced_loan_management/static/description/assets/modules/module_image-1.jpeg b/advanced_loan_management/static/description/assets/modules/module_image-1.jpeg new file mode 100644 index 0000000..31f066e Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/module_image-1.jpeg differ diff --git a/advanced_loan_management/static/description/assets/modules/module_image.jpeg b/advanced_loan_management/static/description/assets/modules/module_image.jpeg new file mode 100644 index 0000000..0cbac31 Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/module_image.jpeg differ diff --git a/advanced_loan_management/static/description/assets/modules/module_image.png b/advanced_loan_management/static/description/assets/modules/module_image.png new file mode 100644 index 0000000..612be4b Binary files /dev/null and b/advanced_loan_management/static/description/assets/modules/module_image.png differ diff --git a/advanced_loan_management/static/description/assets/screenshots/1.png b/advanced_loan_management/static/description/assets/screenshots/1.png new file mode 100644 index 0000000..fb217a4 Binary files /dev/null and b/advanced_loan_management/static/description/assets/screenshots/1.png differ diff --git a/advanced_loan_management/static/description/assets/screenshots/10.png b/advanced_loan_management/static/description/assets/screenshots/10.png new file mode 100644 index 0000000..aad643a Binary files /dev/null and b/advanced_loan_management/static/description/assets/screenshots/10.png differ diff --git a/advanced_loan_management/static/description/assets/screenshots/11.png b/advanced_loan_management/static/description/assets/screenshots/11.png new file mode 100644 index 0000000..3cf3508 Binary files /dev/null and b/advanced_loan_management/static/description/assets/screenshots/11.png differ diff --git a/advanced_loan_management/static/description/assets/screenshots/12.png b/advanced_loan_management/static/description/assets/screenshots/12.png new file mode 100644 index 0000000..b0d7747 Binary files /dev/null and b/advanced_loan_management/static/description/assets/screenshots/12.png differ diff --git a/advanced_loan_management/static/description/assets/screenshots/13.png b/advanced_loan_management/static/description/assets/screenshots/13.png new file mode 100644 index 0000000..d2b942c Binary files /dev/null and b/advanced_loan_management/static/description/assets/screenshots/13.png differ diff --git a/advanced_loan_management/static/description/assets/screenshots/14.png b/advanced_loan_management/static/description/assets/screenshots/14.png new file mode 100644 index 0000000..87713ce Binary files /dev/null and b/advanced_loan_management/static/description/assets/screenshots/14.png differ diff --git a/advanced_loan_management/static/description/assets/screenshots/15.png b/advanced_loan_management/static/description/assets/screenshots/15.png new file mode 100644 index 0000000..71d752f Binary files /dev/null and b/advanced_loan_management/static/description/assets/screenshots/15.png differ diff --git a/advanced_loan_management/static/description/assets/screenshots/16.png b/advanced_loan_management/static/description/assets/screenshots/16.png new file mode 100644 index 0000000..a97f04a Binary files /dev/null and b/advanced_loan_management/static/description/assets/screenshots/16.png differ diff --git a/advanced_loan_management/static/description/assets/screenshots/16_1.png b/advanced_loan_management/static/description/assets/screenshots/16_1.png new file mode 100644 index 0000000..80165b1 Binary files /dev/null and b/advanced_loan_management/static/description/assets/screenshots/16_1.png differ diff --git a/advanced_loan_management/static/description/assets/screenshots/2.png b/advanced_loan_management/static/description/assets/screenshots/2.png new file mode 100644 index 0000000..8f6c63d Binary files /dev/null and b/advanced_loan_management/static/description/assets/screenshots/2.png differ diff --git a/advanced_loan_management/static/description/assets/screenshots/3.png b/advanced_loan_management/static/description/assets/screenshots/3.png new file mode 100644 index 0000000..6e887dc Binary files /dev/null and b/advanced_loan_management/static/description/assets/screenshots/3.png differ diff --git a/advanced_loan_management/static/description/assets/screenshots/4.png b/advanced_loan_management/static/description/assets/screenshots/4.png new file mode 100644 index 0000000..a12af92 Binary files /dev/null and b/advanced_loan_management/static/description/assets/screenshots/4.png differ diff --git a/advanced_loan_management/static/description/assets/screenshots/5.png b/advanced_loan_management/static/description/assets/screenshots/5.png new file mode 100644 index 0000000..4e568ab Binary files /dev/null and b/advanced_loan_management/static/description/assets/screenshots/5.png differ diff --git a/advanced_loan_management/static/description/assets/screenshots/6.png b/advanced_loan_management/static/description/assets/screenshots/6.png new file mode 100644 index 0000000..3add0c8 Binary files /dev/null and b/advanced_loan_management/static/description/assets/screenshots/6.png differ diff --git a/advanced_loan_management/static/description/assets/screenshots/7.png b/advanced_loan_management/static/description/assets/screenshots/7.png new file mode 100644 index 0000000..81095d7 Binary files /dev/null and b/advanced_loan_management/static/description/assets/screenshots/7.png differ diff --git a/advanced_loan_management/static/description/assets/screenshots/7_1.png b/advanced_loan_management/static/description/assets/screenshots/7_1.png new file mode 100644 index 0000000..2583801 Binary files /dev/null and b/advanced_loan_management/static/description/assets/screenshots/7_1.png differ diff --git a/advanced_loan_management/static/description/assets/screenshots/8.png b/advanced_loan_management/static/description/assets/screenshots/8.png new file mode 100644 index 0000000..936f80c Binary files /dev/null and b/advanced_loan_management/static/description/assets/screenshots/8.png differ diff --git a/advanced_loan_management/static/description/assets/screenshots/9.png b/advanced_loan_management/static/description/assets/screenshots/9.png new file mode 100644 index 0000000..6a11403 Binary files /dev/null and b/advanced_loan_management/static/description/assets/screenshots/9.png differ diff --git a/advanced_loan_management/static/description/assets/y18.jpg b/advanced_loan_management/static/description/assets/y18.jpg new file mode 100644 index 0000000..eea1714 Binary files /dev/null and b/advanced_loan_management/static/description/assets/y18.jpg differ diff --git a/advanced_loan_management/static/description/banner.png b/advanced_loan_management/static/description/banner.png new file mode 100644 index 0000000..4b0ee31 Binary files /dev/null and b/advanced_loan_management/static/description/banner.png differ diff --git a/advanced_loan_management/static/description/icon.png b/advanced_loan_management/static/description/icon.png new file mode 100644 index 0000000..a5bb812 Binary files /dev/null and b/advanced_loan_management/static/description/icon.png differ diff --git a/advanced_loan_management/static/description/index.html b/advanced_loan_management/static/description/index.html new file mode 100644 index 0000000..50b9c38 --- /dev/null +++ b/advanced_loan_management/static/description/index.html @@ -0,0 +1,1333 @@ + + + + + + Loan Management + + + + + + + + + + +
+
+ + + +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+
+

Manage Loan Disburse/Amortization Activities. +

Loan Management +

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

Key + Highlights

+
+
+
+
+ +
+
+ Create And Manage Different Loan Types. +
+
+
+
+
+
+ +
+
+ Can Add Documents as Proofs
+
+
+
+
+
+ +
+
+ Manage Requests For Loan
+
+
+
+
+
+ +
+
+ Mail Notification For Confirming Loan + Request.
+
+
+
+
+
+ +
+
+ Quick Repayment Schedule Calculation.
+
+
+
+
+ +
+
+
+ Loan Management +

+ Are you ready to make your business more + organized? +
Improve now! +

+ +
+
+ +
+
+
+ + + + +
+
+ +
+
+
+
+ acc_bg +
+ +
+
+
+
+

+ There are two type of User Access + +

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

+ Different Types Of Loan + +

+

Can create different loan + types

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

+ Add Documents + +

+

Go to Documents -> Loan + Proofs->Create Documents.(For + easy loan approvals)

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

+ Loan Requests + +

+

Can create loan requests for + each customer's

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

+ Computing Repayment Schedule + +

+

Can create repayment schedule + lines

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

+ Request For Approval + +

+

User can send request to manager + for approval and state changes + to 'waiting for approval'

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

+ Approve/Reject + +

+

Manager can approve or reject + the loan request.

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

+ Disburse The Loan + +

+

Can disburse the loan to the + customer by creating journal + entry of disbursal

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

+ Invoicing Products + +

+

Choose invoicing products from + configuration

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

+ Create Invoice + +

+

Create invoices for each + repayment

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

+ Close Loan + +

+

Change the state to closed after + all repayments are paid

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

+ PDF Report + +

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

+ Schedule Exam.

+
+
+
+
+
+
+
+ +
+

+ Reports.

+
+
+
+
+
+
+
+ +
+

+ Exam Types.

+
+
+
+
+
+
+
+ +
+

+ Result Publication .

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

+ While configuring a + backup, selecting + the Zip option will + include the + filestore in the + backup, while + choosing the Dump + option will create a + backup without the + filestore. +

+
+
+ +
+ +
+

+ Enable the "Remove + Old Backups" option + in the backup + creation view to + automatically delete + previous backups + based on the number + of days specified. +

+
+
+ +
+ +
+

+ Enable the "Notify + User" option and + specify a contact to + receive an email + containing a + detailed report with + the failure reason + and backup details. + This option will + also send an email + upon successful + backup. +

+
+
+ +
+ +
+

+ Select the backup + destination as local + storage and specify + a backup path to a + location on the + system to create + backups on your own + system. +

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

+ Latest Release 18.0.1.0.0 +

+ + 15th October, 2025 + +
+
+
+
+
+ Add +
+
+
+
    +
  • + Initial Commit +
  • + +
+
+
+
+
+
+
+
+
+
+ + + + + + +
+

+ Our Services

+ +
+
+ +
+
+ .... +
+
+ +
+ +
+
+ + + + + + diff --git a/advanced_loan_management/views/loan_documents_views.xml b/advanced_loan_management/views/loan_documents_views.xml new file mode 100644 index 0000000..500dcbb --- /dev/null +++ b/advanced_loan_management/views/loan_documents_views.xml @@ -0,0 +1,21 @@ + + + + + Loan Documents + loan.documents + list,form + + + + loan.documents.view.list + loan.documents + + + + + + + + + \ No newline at end of file diff --git a/advanced_loan_management/views/loan_management_menus.xml b/advanced_loan_management/views/loan_management_menus.xml new file mode 100644 index 0000000..4be3803 --- /dev/null +++ b/advanced_loan_management/views/loan_management_menus.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/advanced_loan_management/views/loan_request_views.xml b/advanced_loan_management/views/loan_request_views.xml new file mode 100644 index 0000000..a0813cf --- /dev/null +++ b/advanced_loan_management/views/loan_request_views.xml @@ -0,0 +1,175 @@ + + + + + Loan Request + loan.request + list,form + + + + loan.request.view.list + loan.request + + + + + + + + + + + + + + + + + + loan.request.view.form + loan.request + + +
+
+ + + + + + + + +
+ + +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/advanced_loan_management/wizard/__init__.py b/advanced_loan_management/wizard/__init__.py new file mode 100644 index 0000000..7846c55 --- /dev/null +++ b/advanced_loan_management/wizard/__init__.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies(). +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from .import message_popup, reject_reason + + + diff --git a/advanced_loan_management/wizard/__pycache__/__init__.cpython-312.pyc b/advanced_loan_management/wizard/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..0cb72d3 Binary files /dev/null and b/advanced_loan_management/wizard/__pycache__/__init__.cpython-312.pyc differ diff --git a/advanced_loan_management/wizard/__pycache__/message_popup.cpython-312.pyc b/advanced_loan_management/wizard/__pycache__/message_popup.cpython-312.pyc new file mode 100644 index 0000000..1367d35 Binary files /dev/null and b/advanced_loan_management/wizard/__pycache__/message_popup.cpython-312.pyc differ diff --git a/advanced_loan_management/wizard/__pycache__/reject_reason.cpython-312.pyc b/advanced_loan_management/wizard/__pycache__/reject_reason.cpython-312.pyc new file mode 100644 index 0000000..d9becca Binary files /dev/null and b/advanced_loan_management/wizard/__pycache__/reject_reason.cpython-312.pyc differ diff --git a/advanced_loan_management/wizard/message_popup.py b/advanced_loan_management/wizard/message_popup.py new file mode 100644 index 0000000..77f4c63 --- /dev/null +++ b/advanced_loan_management/wizard/message_popup.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies(). +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import fields, models + + +class MessageWizard(models.TransientModel): + """For creating alert messages""" + _name = 'message.popup' + _description = 'Generate Popup Message' + + message = fields.Text(string='Message', required=True, help="Alert Content") diff --git a/advanced_loan_management/wizard/message_popup_views.xml b/advanced_loan_management/wizard/message_popup_views.xml new file mode 100644 index 0000000..f04660f --- /dev/null +++ b/advanced_loan_management/wizard/message_popup_views.xml @@ -0,0 +1,18 @@ + + + + + message.popup.view.form + message.popup + +
+

+ +

+
+
+
+
+
+
\ No newline at end of file diff --git a/advanced_loan_management/wizard/reject_reason.py b/advanced_loan_management/wizard/reject_reason.py new file mode 100644 index 0000000..2e513b6 --- /dev/null +++ b/advanced_loan_management/wizard/reject_reason.py @@ -0,0 +1,40 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies(). +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import fields, models + + +class RejectReasonWizard(models.TransientModel): + """Reject reasons from the company side""" + _name = 'reject.reason' + _description = 'Reject Reasons From The Company Side' + + reason = fields.Text(string="Reason", help="Reason Content", required=True) + loan = fields.Char(string="Loan", help="Invisible Field") + + def action_reject_reason_txt(self): + """Attach Reject Reason""" + loan_request = self.env['loan.request'].search( + [('name', '=', self.loan)]) + loan_request.write({ + 'state': 'rejected', + 'reject_reason': self.reason + }) diff --git a/advanced_loan_management/wizard/reject_reason_views.xml b/advanced_loan_management/wizard/reject_reason_views.xml new file mode 100644 index 0000000..5553ef7 --- /dev/null +++ b/advanced_loan_management/wizard/reject_reason_views.xml @@ -0,0 +1,23 @@ + + + + + reject.reason.view.form + reject.reason + form + +
+ + + + +
+
+
+
+
+
\ No newline at end of file diff --git a/employee_management/__init__.py b/employee_management/__init__.py new file mode 100644 index 0000000..bbc5580 --- /dev/null +++ b/employee_management/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- + +from . import controllers +from . import models +from . import wizard diff --git a/employee_management/__manifest__.py b/employee_management/__manifest__.py new file mode 100644 index 0000000..72f9109 --- /dev/null +++ b/employee_management/__manifest__.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- +{ + 'name': "employee_management", + + 'summary': "Short (1 phrase/line) summary of the module's purpose", + + 'description': """ +Long description of module's purpose + """, + + 'author': "My Company", + 'website': "https://www.yourcompany.com", + + # Categories can be used to filter modules in modules listing + # Check https://github.com/odoo/odoo/blob/15.0/odoo/addons/base/data/ir_module_category_data.xml + # for the full list + 'category': 'management', + 'version': '0.1', + + # any module necessary for this one to work correctly + 'depends': ['base'], + + # always loaded + 'data': [ + 'security/ir.model.access.csv', + 'security/employee_security.xml', + 'views/employee_profile_view.xml', + 'views/add_employee_wizard_view.xml', + 'views/menu_item.xml', + 'views/employee_report_view.xml', + ], + # only loaded in demonstration mode + 'demo': [ + 'demo/demo.xml', + ], +} + diff --git a/employee_management/__pycache__/__init__.cpython-312.pyc b/employee_management/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..ef3a993 Binary files /dev/null and b/employee_management/__pycache__/__init__.cpython-312.pyc differ diff --git a/employee_management/controllers/__init__.py b/employee_management/controllers/__init__.py new file mode 100644 index 0000000..b0f26a9 --- /dev/null +++ b/employee_management/controllers/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- + +from . import controllers diff --git a/employee_management/controllers/__pycache__/__init__.cpython-312.pyc b/employee_management/controllers/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..df7cac3 Binary files /dev/null and b/employee_management/controllers/__pycache__/__init__.cpython-312.pyc differ diff --git a/employee_management/controllers/__pycache__/controllers.cpython-312.pyc b/employee_management/controllers/__pycache__/controllers.cpython-312.pyc new file mode 100644 index 0000000..f0990c7 Binary files /dev/null and b/employee_management/controllers/__pycache__/controllers.cpython-312.pyc differ diff --git a/employee_management/controllers/controllers.py b/employee_management/controllers/controllers.py new file mode 100644 index 0000000..a2eacb5 --- /dev/null +++ b/employee_management/controllers/controllers.py @@ -0,0 +1,26 @@ +from odoo import http +from odoo.http import request +import json + +class EmployeeController(http.Controller): + + @http.route('/employees', type='http', auth='none', methods=['GET'], csrf=False) + def get_employees(self, **kwargs): + employees = request.env['employee.profile'].sudo().search([]) + + result = [] + for emp in employees: + result.append({ + 'id': emp.id, + 'name': emp.name, + 'email': emp.email, + 'phone': emp.phone, + 'position': emp.position, + }) + + # Trả về JSON response + return http.Response( + json.dumps({'status': 'success', 'employees': result}), + content_type='application/json', + status=200 + ) diff --git a/employee_management/demo/demo.xml b/employee_management/demo/demo.xml new file mode 100644 index 0000000..9add682 --- /dev/null +++ b/employee_management/demo/demo.xml @@ -0,0 +1,30 @@ + + + + + diff --git a/employee_management/models/__init__.py b/employee_management/models/__init__.py new file mode 100644 index 0000000..64aaf6f --- /dev/null +++ b/employee_management/models/__init__.py @@ -0,0 +1 @@ +from . import add_employee_wizard,models,employee_report \ No newline at end of file diff --git a/employee_management/models/__pycache__/__init__.cpython-312.pyc b/employee_management/models/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..eb44f2e Binary files /dev/null and b/employee_management/models/__pycache__/__init__.cpython-312.pyc differ diff --git a/employee_management/models/__pycache__/add_employee_wizard.cpython-312.pyc b/employee_management/models/__pycache__/add_employee_wizard.cpython-312.pyc new file mode 100644 index 0000000..58c5fbc Binary files /dev/null and b/employee_management/models/__pycache__/add_employee_wizard.cpython-312.pyc differ diff --git a/employee_management/models/__pycache__/employee_report.cpython-312.pyc b/employee_management/models/__pycache__/employee_report.cpython-312.pyc new file mode 100644 index 0000000..6d21def Binary files /dev/null and b/employee_management/models/__pycache__/employee_report.cpython-312.pyc differ diff --git a/employee_management/models/__pycache__/models.cpython-312.pyc b/employee_management/models/__pycache__/models.cpython-312.pyc new file mode 100644 index 0000000..0d44daf Binary files /dev/null and b/employee_management/models/__pycache__/models.cpython-312.pyc differ diff --git a/employee_management/models/add_employee_wizard.py b/employee_management/models/add_employee_wizard.py new file mode 100644 index 0000000..d38b586 --- /dev/null +++ b/employee_management/models/add_employee_wizard.py @@ -0,0 +1,44 @@ +from odoo import models, fields + +class AddEmployeeWizard(models.TransientModel): + _name = 'add.employee.wizard' + _description = 'Add Employee Wizard' + + # Thông tin từ res.partner + name = fields.Char(string='Name', required=True) + email = fields.Char(string='Email') + phone = fields.Char(string='Phone') + image_1920 = fields.Image(string="Avatar") + + # Thông tin riêng của employee + employee_code = fields.Char(string='Employee Code', required=True) + department = fields.Char(string='Department') + position = fields.Char(string='Position') + + def action_add_employee(self): + + self.ensure_one() + + # Tạo partner + partner = self.env['res.partner'].create({ + 'name': self.name, + 'email': self.email, + 'phone': self.phone, + 'image_1920': self.image_1920, + }) + + # Tạo employee.profile gắn với partner_id + employee = self.env['employee.profile'].create({ + 'partner_id': partner.id, + 'employee_code': self.employee_code, + 'department': self.department, + 'position': self.position, + }) + + return { + 'type': 'ir.actions.act_window', + 'res_model': 'employee.profile', + 'res_id': employee.id, + 'view_mode': 'form', + 'target': 'current', + } diff --git a/employee_management/models/employee_report.py b/employee_management/models/employee_report.py new file mode 100644 index 0000000..dddd539 --- /dev/null +++ b/employee_management/models/employee_report.py @@ -0,0 +1,14 @@ +from odoo import models + +class MyReport(models.AbstractModel): + _name = 'report.employee_management.my_report_template' # module.template + _description = 'Employee Profile Report' + + def _get_report_values(self, docids, data=None): + # Lấy tất cả bản ghi employee.profile + docs = self.env['employee.profile'].browse(docids) + + return { + 'doc_model': 'employee.profile', + 'docs': docs, + } \ No newline at end of file diff --git a/employee_management/models/models.py b/employee_management/models/models.py new file mode 100644 index 0000000..10aa37e --- /dev/null +++ b/employee_management/models/models.py @@ -0,0 +1,11 @@ +from odoo import models, fields + +class EmployeeProfile(models.Model): + _name = 'employee.profile' + _inherits = {'res.partner': 'partner_id'} + _description = 'Employee Profile' + + partner_id = fields.Many2one('res.partner', string='Partner', required=True, ondelete='cascade') + employee_code = fields.Char(string='Employee Code', required=True, unique=True) + department = fields.Char(string='Department') + position = fields.Char(string='Position') diff --git a/employee_management/security/employee_security.xml b/employee_management/security/employee_security.xml new file mode 100644 index 0000000..a06a7b7 --- /dev/null +++ b/employee_management/security/employee_security.xml @@ -0,0 +1,24 @@ + + + + + + Employee Management + Access rights for employee management + 10 + + + + + Employee Admin + + + + + + Employee User + + + + + diff --git a/employee_management/security/ir.model.access.csv b/employee_management/security/ir.model.access.csv new file mode 100644 index 0000000..ff36f61 --- /dev/null +++ b/employee_management/security/ir.model.access.csv @@ -0,0 +1,5 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_employee_profile_user,employee.profile,model_employee_profile,employee_management.group_employee_user,1,0,0,0 +access_employee_profile_admin,employee.profile,model_employee_profile,employee_management.group_employee_admin,1,1,1,1 +access_add_employee_wizard_user,add.employee.wizard,model_add_employee_wizard,employee_management.group_employee_user,0,0,0,0 +access_add_employee_wizard_admin,add.employee.wizard,model_add_employee_wizard,employee_management.group_employee_admin,1,1,1,1 diff --git a/employee_management/views/add_employee_wizard_view.xml b/employee_management/views/add_employee_wizard_view.xml new file mode 100644 index 0000000..052b6f3 --- /dev/null +++ b/employee_management/views/add_employee_wizard_view.xml @@ -0,0 +1,38 @@ + + + + + add.employee.wizard.form + add.employee.wizard + +
+ + + + + + + + + +
+
+
+
+
+ + + + Add Employee + add.employee.wizard + form + new + + + +
diff --git a/employee_management/views/employee_profile_view.xml b/employee_management/views/employee_profile_view.xml new file mode 100644 index 0000000..ce586b8 --- /dev/null +++ b/employee_management/views/employee_profile_view.xml @@ -0,0 +1,97 @@ + + + + employee.profile.kanban + employee.profile + + + + +
+ +
+ +
+ + +
+ + + +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ +
+
+
+
+
+ + employee.profile.list + employee.profile + + + + + + + + + + + + + + employee.profile.form + employee.profile + +
+
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + Employee Profiles + employee.profile + kanban,list,form + + +
diff --git a/employee_management/views/employee_report_view.xml b/employee_management/views/employee_report_view.xml new file mode 100644 index 0000000..cb02379 --- /dev/null +++ b/employee_management/views/employee_report_view.xml @@ -0,0 +1,61 @@ + + + + + + + Employee Profile Report + employee.profile + qweb-pdf + employee_management.report_employee_profile_template + employee_management.report_employee_profile_template + 'EmployeeProfile_' + (object.name or '') + + diff --git a/employee_management/views/menu_item.xml b/employee_management/views/menu_item.xml new file mode 100644 index 0000000..4025611 --- /dev/null +++ b/employee_management/views/menu_item.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/employee_management/wizard/__pycache__/__init__.cpython-312.pyc b/employee_management/wizard/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..aa7b668 Binary files /dev/null and b/employee_management/wizard/__pycache__/__init__.cpython-312.pyc differ diff --git a/employee_management/wizard/__pycache__/add_employee_wizard.cpython-312.pyc b/employee_management/wizard/__pycache__/add_employee_wizard.cpython-312.pyc new file mode 100644 index 0000000..da94098 Binary files /dev/null and b/employee_management/wizard/__pycache__/add_employee_wizard.cpython-312.pyc differ