diff --git a/account_interest_on_overdue_invoice/README.rst b/account_interest_on_overdue_invoice/README.rst new file mode 100644 index 000000000..b9f7fff4b --- /dev/null +++ b/account_interest_on_overdue_invoice/README.rst @@ -0,0 +1,54 @@ +.. image:: https://img.shields.io/badge/license-LGPL--3-blue.svg + :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 + +Interest for Overdue Invoice +============================ +* Easy to calculate Interest for Overdue invoices. +* It will manage journal items while you calculate amount in invoice. +* you can use different accounts for interest journal entries from payment terms menu +* Interest can be calculated for different period ratios (daily, weekly and monthly) + +Configuration +============ +No additional configurations needed + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) + +Configuration +============= +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +Developers: (V15) Naveen Krishna T, + (V16) Ayana KP, +Contact: odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.co + +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/account_interest_on_overdue_invoice/__init__.py b/account_interest_on_overdue_invoice/__init__.py new file mode 100644 index 000000000..555bddcff --- /dev/null +++ b/account_interest_on_overdue_invoice/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Ayana KP(odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import models diff --git a/account_interest_on_overdue_invoice/__manifest__.py b/account_interest_on_overdue_invoice/__manifest__.py new file mode 100644 index 000000000..5750eabba --- /dev/null +++ b/account_interest_on_overdue_invoice/__manifest__.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Ayana KP(odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +{ + 'name': 'Interest for Overdue Invoice', + 'version': '16.0.1.0.0', + 'category': 'Accounting', + 'summary': """This module helps to manage Interest on Overdue Invoices.""", + 'description': """This module helps to calculate daily, weekly or monthly + Interest for Overdue Invoices based on payment term configuration. """, + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['sale', 'account'], + 'data': [ + 'views/account_payment_term_views.xml', + 'views/account_move_views.xml', + 'data/ir_cron_data.xml', + 'views/report_invoice.xml' + ], + 'images': ['static/description/banner.png'], + 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/account_interest_on_overdue_invoice/data/ir_cron_data.xml b/account_interest_on_overdue_invoice/data/ir_cron_data.xml new file mode 100644 index 000000000..65cd2cba2 --- /dev/null +++ b/account_interest_on_overdue_invoice/data/ir_cron_data.xml @@ -0,0 +1,18 @@ + + + + + + Account:Daily Invoice Interest check + + code + model._get_interest_check() + + + 1 + days + -1 + + + + \ No newline at end of file diff --git a/account_interest_on_overdue_invoice/doc/RELEASE_NOTES.md b/account_interest_on_overdue_invoice/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..3bc712718 --- /dev/null +++ b/account_interest_on_overdue_invoice/doc/RELEASE_NOTES.md @@ -0,0 +1,8 @@ +## Module +#### 04.03.2024 +#### Version 16.0.1.0.0 +#### ADD +- Initial commit for Interest for Overdue Invoice. + + + diff --git a/account_interest_on_overdue_invoice/models/__init__.py b/account_interest_on_overdue_invoice/models/__init__.py new file mode 100644 index 000000000..3432451e8 --- /dev/null +++ b/account_interest_on_overdue_invoice/models/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Ayana KP(odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import account_move +from . import account_payment_term diff --git a/account_interest_on_overdue_invoice/models/account_move.py b/account_interest_on_overdue_invoice/models/account_move.py new file mode 100644 index 000000000..067ab0ef3 --- /dev/null +++ b/account_interest_on_overdue_invoice/models/account_move.py @@ -0,0 +1,195 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Ayana KP(odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +import math + +from dateutil import relativedelta + +from odoo import api, fields, models, _ +from odoo.exceptions import ValidationError + + +class AccountMoves(models.Model): + """ Extending model Invoice model to compute the interest amount for + overdue invoices based on the chosen payment term configurations.""" + + _inherit = "account.move" + + interest_amount = fields.Monetary(string='Interest Amount', readonly=True, + help='The amount of interest accrued.') + interest_overdue_act = fields.Boolean(related="invoice_payment_term_id" + ".interest_overdue_act", + help='Flag indicating whether overdue interest is active.') + interest_calculated_period = fields.Char(string="Interest calculated date", + help='The date when interest was calculated.') + interest_type = fields.Selection(related="invoice_payment_term_id" + ".interest_type", + help='The type of interest applied.') + interest_percentage = fields.Float(related="invoice_payment_term_id" + ".interest_percentage", + help='The percentage rate of interest applied.') + + def get_period_time(self, today_date): + """ Compute period duration based on Interest duration type. """ + self.ensure_one() + r_obj = relativedelta. \ + relativedelta(today_date, self.invoice_date_due) + if self.invoice_payment_term_id.interest_type == 'monthly': + period = (r_obj.years * 12) + r_obj.months + if r_obj and r_obj.days > 0: + period = period + 1 + elif self.invoice_payment_term_id.interest_type == 'weekly': + period = math.ceil( + (today_date - self.invoice_date_due).days / 7) + else: + period = (today_date - self.invoice_date_due).days + return period + + def action_interest_compute(self): + """ Action for computing Interest amount based on the chosen payment + term configurations""" + today_date = fields.Date.today() + for rec in self: + if rec.invoice_date_due \ + and rec.invoice_date_due < fields.Date.today() \ + and rec.state == 'draft' \ + and rec.move_type == 'out_invoice' \ + and rec.interest_overdue_act \ + and rec.invoice_payment_term_id.interest_percentage > 0: + period = rec.get_period_time(today_date) + if rec.invoice_payment_term_id.interest_type == 'monthly': + if rec.interest_calculated_period \ + and rec.interest_calculated_period == str(period) \ + + "-m": + raise ValidationError(_('Your payment term is ' + 'monthly, and you can update ' + 'it only once in a month.')) + rec.interest_calculated_period = str(period) + "-m" + elif rec.invoice_payment_term_id.interest_type == 'weekly': + if rec.interest_calculated_period \ + and rec.interest_calculated_period == str(period) \ + + "-w": + raise ValidationError(_('Your payment term is weekly, ' + 'and you can update it only ' + 'once in a week.')) + rec.interest_calculated_period = str(period) + "-w" + else: + if rec.interest_calculated_period \ + and rec.interest_calculated_period == str(period) \ + + "-d": + raise ValidationError(_('Your payment term is daily, ' + 'and you can update it only ' + 'once in a day.')) + rec.interest_calculated_period = str(period) + "-d" + interest_line = rec.invoice_line_ids.search( + [('name', '=', 'Interest Amount for Overdue'), + ('move_id', '=', rec.id)], + limit=1) + if interest_line: + rec.invoice_line_ids = ([(2, interest_line.id, 0)]) + rec.interest_amount = rec.amount_total * rec \ + .invoice_payment_term_id.interest_percentage * period / 100 + vals = {'name': 'Interest Amount for Overdue', + 'price_unit': rec.interest_amount, + 'quantity': 1, + } + if rec.invoice_payment_term_id.interest_account_id: + vals.update({ + 'account_id': rec.invoice_payment_term_id + .interest_account_id.id}) + if rec.interest_amount > 0: + rec.invoice_line_ids = ([(0, 0, vals)]) + elif rec.interest_amount > 0: + rec.action_interest_reset() + + def _get_interest_check(self): + """ Method for Interest computation via scheduled action """ + + today_date = fields.Date.today() + for rec in self.sudo().search([('state', '=', 'draft')]): + if rec.invoice_date_due and rec.invoice_date_due < today_date \ + and rec.state == 'draft' \ + and rec.move_type == 'out_invoice' \ + and rec.interest_overdue_act \ + and rec.invoice_payment_term_id.interest_percentage > 0: + period = rec.get_period_time(today_date) + if rec.invoice_payment_term_id.interest_type == 'monthly': + if rec.interest_calculated_period \ + and rec.interest_calculated_period == str(period) \ + + "-m": + continue + rec.interest_calculated_period = str(period) + "-m" + elif rec.invoice_payment_term_id.interest_type == 'weekly': + if rec.interest_calculated_period \ + and rec.interest_calculated_period == str(period) \ + + "-w": + continue + rec.interest_calculated_period = str(period) + "-w" + else: + if rec.interest_calculated_period \ + and rec.interest_calculated_period == str(period) \ + + "-d": + continue + rec.interest_calculated_period = str(period) + "-d" + interest_line = rec.invoice_line_ids.search( + [('name', '=', 'Interest Amount for Overdue'), + ('move_id', '=', rec.id)], limit=1) + if interest_line: + rec.invoice_line_ids = ([(2, interest_line.id, 0)]) + rec.interest_amount = rec.amount_total * rec \ + .invoice_payment_term_id.interest_percentage * period / 100 + vals = {'name': 'Interest Amount for Overdue', + 'price_unit': rec.interest_amount, + 'quantity': 1, + } + if rec.invoice_payment_term_id.interest_account_id: + vals.update({ + 'account_id': rec.invoice_payment_term_id. + interest_account_id.id}) + if rec.interest_amount > 0: + rec.invoice_line_ids = ([(0, 0, vals)]) + elif rec.interest_amount > 0: + rec.action_interest_reset() + + def action_interest_reset(self): + """Method for resetting the interest lines and Interest amount in + Invoice""" + self.interest_amount = 0 + interest_line = self.invoice_line_ids.search( + [('name', '=', 'Interest Amount for Overdue'), + ('move_id', '=', self.id)], limit=1) + if interest_line: + self.invoice_line_ids = ([(2, interest_line.id, 0)]) + self.interest_calculated_period = False + + @api.onchange('invoice_payment_term_id', 'invoice_line_ids', + 'invoice_date_due') + def _onchange_invoice_payment_term_id(self): + """Method for removing interest from Invoice when user changes dependent + values of interest.""" + for rec in self: + if rec.move_type == 'out_invoice': + rec.interest_amount = 0 + interest_line = rec.invoice_line_ids.search( + [('name', '=', 'Interest Amount for Overdue')], limit=1) + if interest_line: + rec.invoice_line_ids = ([(2, interest_line.id, 0)]) + rec.interest_calculated_period = False + return diff --git a/account_interest_on_overdue_invoice/models/account_payment_term.py b/account_interest_on_overdue_invoice/models/account_payment_term.py new file mode 100644 index 000000000..88e4fbb21 --- /dev/null +++ b/account_interest_on_overdue_invoice/models/account_payment_term.py @@ -0,0 +1,65 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Ayana KP(odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import api, fields, models, _ +from odoo.exceptions import ValidationError + + +class AccountPaymentTerms(models.Model): + """ Module for extending account.payment.term model to add interest + computation configuration features for computation of Interest in overdue + invoices.""" + + _inherit = "account.payment.term" + + interest_overdue_act = fields.Boolean(default=False, string="Interest on " + "Overdue " + "Invoices", + help="Activate Interest computation " + "for this Payment term.") + interest_type = fields.Selection( + string='Interest Type', help="Base duration for interest calculation", + selection=[('daily', 'Daily'), + ('weekly', 'Weekly'), + ('monthly', 'Monthly')], + default='daily', copy=False) + interest_percentage = fields\ + .Float(string="Interest Percentage", default="0", digits=(12, 6), + help="Interest percentage ratio per selected Interest type " + "duration.") + interest_account_id = fields.Many2one('account.account', + string='Account for Interest', + company_dependent=True, + domain="[('deprecated', '=', " + "False),('internal_group'," + "'=','income'), " + "('is_off_balance', '=', " + "False)]", + help="Account used for creating " + "accounting entries.") + + @api.constrains('interest_percentage') + def _check_interest_percentage(self): + """ check constrains for validating the interest rate in percentage + is not negative""" + for rec in self: + if rec.interest_overdue_act and rec.interest_percentage <= 0: + raise ValidationError(_('Enter Positive value as Interest ' + 'percentage')) diff --git a/account_interest_on_overdue_invoice/static/description/assets/icons/check.png b/account_interest_on_overdue_invoice/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/icons/check.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/icons/chevron.png b/account_interest_on_overdue_invoice/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/icons/chevron.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/icons/cogs.png b/account_interest_on_overdue_invoice/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/icons/cogs.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/icons/consultation.png b/account_interest_on_overdue_invoice/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/icons/consultation.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/icons/ecom-black.png b/account_interest_on_overdue_invoice/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/icons/ecom-black.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/icons/education-black.png b/account_interest_on_overdue_invoice/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/icons/education-black.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/icons/hotel-black.png b/account_interest_on_overdue_invoice/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/icons/hotel-black.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/icons/license.png b/account_interest_on_overdue_invoice/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/icons/license.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/icons/lifebuoy.png b/account_interest_on_overdue_invoice/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/icons/lifebuoy.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/icons/logo.png b/account_interest_on_overdue_invoice/static/description/assets/icons/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/icons/logo.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/icons/manufacturing-black.png b/account_interest_on_overdue_invoice/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/icons/manufacturing-black.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/icons/pos-black.png b/account_interest_on_overdue_invoice/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/icons/pos-black.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/icons/puzzle.png b/account_interest_on_overdue_invoice/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/icons/puzzle.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/icons/restaurant-black.png b/account_interest_on_overdue_invoice/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/icons/restaurant-black.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/icons/service-black.png b/account_interest_on_overdue_invoice/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/icons/service-black.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/icons/trading-black.png b/account_interest_on_overdue_invoice/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/icons/trading-black.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/icons/training.png b/account_interest_on_overdue_invoice/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/icons/training.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/icons/update.png b/account_interest_on_overdue_invoice/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/icons/update.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/icons/user.png b/account_interest_on_overdue_invoice/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/icons/user.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/icons/wrench.png b/account_interest_on_overdue_invoice/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/icons/wrench.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/modules/1.png b/account_interest_on_overdue_invoice/static/description/assets/modules/1.png new file mode 100644 index 000000000..624ef69b7 Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/modules/1.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/modules/2.png b/account_interest_on_overdue_invoice/static/description/assets/modules/2.png new file mode 100644 index 000000000..b8ea6b411 Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/modules/2.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/modules/3.png b/account_interest_on_overdue_invoice/static/description/assets/modules/3.png new file mode 100644 index 000000000..3add135c3 Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/modules/3.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/modules/4.png b/account_interest_on_overdue_invoice/static/description/assets/modules/4.png new file mode 100644 index 000000000..c1f30354a Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/modules/4.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/modules/5.gif b/account_interest_on_overdue_invoice/static/description/assets/modules/5.gif new file mode 100644 index 000000000..8f40aab85 Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/modules/5.gif differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/modules/6.png b/account_interest_on_overdue_invoice/static/description/assets/modules/6.png new file mode 100644 index 000000000..31ed46762 Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/modules/6.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/screenshots/1.png b/account_interest_on_overdue_invoice/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..08b0d3d1e Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/screenshots/1.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/screenshots/2.png b/account_interest_on_overdue_invoice/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..4d0e72ec2 Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/screenshots/2.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/screenshots/3.png b/account_interest_on_overdue_invoice/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..c5ddaf143 Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/screenshots/3.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/screenshots/4.png b/account_interest_on_overdue_invoice/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..f83521343 Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/screenshots/4.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/screenshots/5.png b/account_interest_on_overdue_invoice/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..daab5c208 Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/screenshots/5.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/screenshots/6.png b/account_interest_on_overdue_invoice/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..c742249f0 Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/screenshots/6.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/screenshots/7.png b/account_interest_on_overdue_invoice/static/description/assets/screenshots/7.png new file mode 100644 index 000000000..8d00dce53 Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/screenshots/7.png differ diff --git a/account_interest_on_overdue_invoice/static/description/assets/screenshots/v16-hero.gif b/account_interest_on_overdue_invoice/static/description/assets/screenshots/v16-hero.gif new file mode 100644 index 000000000..30107bb96 Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/assets/screenshots/v16-hero.gif differ diff --git a/account_interest_on_overdue_invoice/static/description/banner.png b/account_interest_on_overdue_invoice/static/description/banner.png new file mode 100644 index 000000000..bb4e99d88 Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/banner.png differ diff --git a/account_interest_on_overdue_invoice/static/description/icon.png b/account_interest_on_overdue_invoice/static/description/icon.png new file mode 100644 index 000000000..06797a7e0 Binary files /dev/null and b/account_interest_on_overdue_invoice/static/description/icon.png differ diff --git a/account_interest_on_overdue_invoice/static/description/index.html b/account_interest_on_overdue_invoice/static/description/index.html new file mode 100644 index 000000000..706347e4c --- /dev/null +++ b/account_interest_on_overdue_invoice/static/description/index.html @@ -0,0 +1,654 @@ +
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+ +
+
+
+
+
+
+
+

+ Interest for Overdue Invoice

+

+ A Module For Interest for Overdue Invoice Calculation while Creating Invoice +

+ +
+
+ +
+
+

+ Overview +

+
+
+

+ This Odoo apps is helps to calculate daily,weekly or monthly + Interest Penalty on Overdue Invoices based on payment term + configuration.Payment term is something that accountant emphasis + on most , delay payment can cost as late payment fee , so when + payment get overdue , interest needs to be charges in order to + get payment sooner, this odoo module does perfect job by helping + you to calculate interest on overdue invoices. Calculation of + interest will be done based on invoice due date and payment + term. +

+
+
+
+
+

+ Features +

+
+
+
+ +
+
+

+ Easy to Calculate Interest for Overdue Invoices.

+
+
+
+
+ +
+
+

+ This module will manage journal items while you calculate + Interest in overdue invoice.

+
+
+
+
+ +
+
+

+ You can use different accounts for interest journal entries + from payment terms menu

+
+
+
+
+ +
+
+

+ Also, Interest can be calculated for different period ratios + (daily, weekly and monthly)

+
+
+
+
+
+

+ Screenshots +

+
+
+

+ Set Payment Term

+

+ Enable the checkbox in payment term configuration to get the + Interest calculation in Overdue invoices for the selected + payment term. And set the values required for interest calculation, and the + account for interest jornal entries can be changed from here. + This is the details example for immediate payment term with + daily period based interest.

+ +
+
+

+ Selecting Payment Term in Invoice

+

+ After the payment configuration we can use that payment term in + invoice creation. Also set the + invoice details ,use the update interest button to calculate + interest +

+ +
+ +
+

+ Interest for Overdue

+

+ Here you can get updated value of interest and amount. +

+ +
+
+

+ Scheduled Action

+

+ You can also enable this automatic script for automatic interest update. +

+ +
+
+

+ Warnings

+

+ Warning on updating invoice twice or more in a selected interest + period. +

+ +
+
+

+ Invoice PDF

+

+ The interest details are included in new invoices +

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

Our Services

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

Our Industries

+
+
+
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

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

+ Mobile + friendly, + awe-inspiring product pages

+
+
+
+
+ +
+ Service Management +
+

+ Keep track of + services and invoice

+
+
+
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

+
+
+
+
+ +
+ Hotel Management +
+

+ An + all-inclusive + hotel management application

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

Need Help?

+
+
+
+ +
+ + + +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ +
diff --git a/account_interest_on_overdue_invoice/views/account_move_views.xml b/account_interest_on_overdue_invoice/views/account_move_views.xml new file mode 100644 index 000000000..efa00f6a3 --- /dev/null +++ b/account_interest_on_overdue_invoice/views/account_move_views.xml @@ -0,0 +1,26 @@ + + + + + account.move.view.form.inherit.account.interest.on.overdue.invoice + account.move + + + + +