diff --git a/account_payment_instalment/README.rst b/account_payment_instalment/README.rst new file mode 100644 index 000000000..2a371d868 --- /dev/null +++ b/account_payment_instalment/README.rst @@ -0,0 +1,50 @@ +.. 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 + +Instalment in Payment Terms +=========================== +This module will help you to manage the payment terms with instalments. + +Configuration +============= +- Additional configuration not required + +Installation +============ +- Install our custom addon + +License +------- +GNU AFFERO GENERAL PUBLIC LICENSE v3.0 (AGPL-3) +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +Developer: (V16) Nivedhya T, 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/account_payment_instalment/__init__.py b/account_payment_instalment/__init__.py new file mode 100644 index 000000000..5e0da1bc1 --- /dev/null +++ b/account_payment_instalment/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions() +# +# 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 diff --git a/account_payment_instalment/__manifest__.py b/account_payment_instalment/__manifest__.py new file mode 100644 index 000000000..5fcf86b40 --- /dev/null +++ b/account_payment_instalment/__manifest__.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions() +# +# 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': "Instalment in Payment Terms", + 'version': '16.0.1.0.0', + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'category': 'Accounting', + 'summary': 'Instalment in Payment Terms"', + 'description': """New type 'Instalment' in Odoo payment terms, Instalment + in Payment Terms,Installment""", + 'depends': ['account'], + 'data': [ + 'views/account_payment_term_view.xml', + ], + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, +} diff --git a/account_payment_instalment/doc/RELEASE_NOTES.md b/account_payment_instalment/doc/RELEASE_NOTES.md new file mode 100755 index 000000000..2682d2b0c --- /dev/null +++ b/account_payment_instalment/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 30.09.2024 +#### Version 16.0.1.0.0 +##### ADD +- Initial commit for Instalment in Payment Terms diff --git a/account_payment_instalment/models/__init__.py b/account_payment_instalment/models/__init__.py new file mode 100644 index 000000000..b6c484019 --- /dev/null +++ b/account_payment_instalment/models/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import account_payment_term + + diff --git a/account_payment_instalment/models/account_payment_term.py b/account_payment_instalment/models/account_payment_term.py new file mode 100644 index 000000000..e743a45e6 --- /dev/null +++ b/account_payment_instalment/models/account_payment_term.py @@ -0,0 +1,209 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions() +# +# 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,_ +from odoo.exceptions import ValidationError +from dateutil.relativedelta import relativedelta + + +class AccountPaymentTermLine(models.Model): + """Inherits the AccountPaymentTermLine class for adding fields""" + _inherit = "account.payment.term.line" + + value = fields.Selection([ + ('balance', 'Balance'), + ('percent', 'Percent'), + ('fixed', 'Fixed Amount'), + ('instalment', 'Instalment') + ], string='Type', required=True, default='Percent', + help="Select here the kind of valuation related to this payment term line.") + period_type = fields.Selection([ + ('daily', 'Day(s)'), + ('weekly', 'Week(s)'), + ('monthly', 'Month(s)'), + ('yearly', 'Year(s)'), + ], string='Period Type', default='monthly',help="Select the instalment type") + period_count = fields.Integer('Number of instalments', default=1, help="Number of instalment") + + +class AccountPaymentTerm(models.Model): + """Inherits the AccountPaymentTerm class for adding fields and methods""" + _inherit = "account.payment.term" + + @api.constrains('line_ids') + def _check_lines(self): + """Checking the validations of payment term lines""" + payment_term_lines = self.line_ids.sorted() + if payment_term_lines and payment_term_lines[-1].value not in ['balance', 'instalment']: + raise ValidationError(_('A Payment Term should have its last line of type Balance/Instalment.')) + lines = self.line_ids.filtered(lambda r: r.value == 'balance') or [] + if len(lines) > 1: + raise ValidationError(_('A Payment Term should have only one line of type Balance.')) + lines = self.line_ids.filtered(lambda r: r.value == 'instalment') or [] + if len(lines) > 1: + raise ValidationError(_('A Payment Term should have only one line of type Instalment.')) + lines = self.line_ids.filtered(lambda r: r.value in ['balance', 'instalment']) or [] + if len(lines) > 1: + raise ValidationError(_('A Payment Term should have only one of type Balance and Instalment.')) + lines = self.line_ids.filtered(lambda r: r.value == 'instalment') or [] + for line in lines: + if line.period_count == 0: + raise ValidationError(_('A Payment Term of type Instalment should have number of instalments more than 0.')) + def _compute_terms(self, date_ref, currency, company, tax_amount, tax_amount_currency, sign, untaxed_amount, untaxed_amount_currency, cash_rounding=None): + """Get the distribution of this payment term. + :param date_ref: The move date to take into account + :param currency: the move's currency + :param company: the company issuing the move + :param tax_amount: the signed tax amount for the move + :param tax_amount_currency: the signed tax amount for the move in the move's currency + :param untaxed_amount: the signed untaxed amount for the move + :param untaxed_amount_currency: the signed untaxed amount for the move in the move's currency + :param sign: the sign of the move + :param cash_rounding: the cash rounding that should be applied (or None). + We assume that the input total in move currency (tax_amount_currency + untaxed_amount_currency) is already cash rounded. + The cash rounding does not change the totals: Consider the sum of all the computed payment term amounts in move / company currency. + It is the same as the input total in move / company currency. + :return (list>>): the amount in the company's currency and + the document's currency, respectively for each required payment date + """ + self.ensure_one() + company_currency = company.currency_id + tax_amount_left = tax_amount + tax_amount_currency_left = tax_amount_currency + untaxed_amount_left = untaxed_amount + untaxed_amount_currency_left = untaxed_amount_currency + total_amount = tax_amount + untaxed_amount + total_amount_currency = tax_amount_currency + untaxed_amount_currency + foreign_rounding_amount = 0 + company_rounding_amount = 0 + result = [] + + for line in self.line_ids.sorted(lambda line: line.value == 'balance'): + term_vals = { + 'date': line._get_due_date(date_ref), + 'has_discount': line.discount_percentage, + 'discount_date': None, + 'discount_amount_currency': 0.0, + 'discount_balance': 0.0, + 'discount_percentage': line.discount_percentage, + } + + if line.value == 'fixed': + term_vals['company_amount'] = sign * company_currency.round(line.value_amount) + term_vals['foreign_amount'] = sign * currency.round(line.value_amount) + company_proportion = tax_amount/untaxed_amount if untaxed_amount else 1 + foreign_proportion = tax_amount_currency/untaxed_amount_currency if untaxed_amount_currency else 1 + line_tax_amount = company_currency.round(line.value_amount * company_proportion) * sign + line_tax_amount_currency = currency.round(line.value_amount * foreign_proportion) * sign + line_untaxed_amount = term_vals['company_amount'] - line_tax_amount + line_untaxed_amount_currency = term_vals['foreign_amount'] - line_tax_amount_currency + result.append(term_vals) + elif line.value == 'percent': + term_vals['company_amount'] = company_currency.round(total_amount * (line.value_amount / 100.0)) + term_vals['foreign_amount'] = currency.round(total_amount_currency * (line.value_amount / 100.0)) + line_tax_amount = company_currency.round(tax_amount * (line.value_amount / 100.0)) + line_tax_amount_currency = currency.round(tax_amount_currency * (line.value_amount / 100.0)) + line_untaxed_amount = term_vals['company_amount'] - line_tax_amount + line_untaxed_amount_currency = term_vals['foreign_amount'] - line_tax_amount_currency + result.append(term_vals) + else: + line_tax_amount = line_tax_amount_currency = line_untaxed_amount = line_untaxed_amount_currency = 0.0 + + # The following values do not account for any potential cash rounding + tax_amount_left -= line_tax_amount + tax_amount_currency_left -= line_tax_amount_currency + untaxed_amount_left -= line_untaxed_amount + untaxed_amount_currency_left -= line_untaxed_amount_currency + + if cash_rounding and line.value in ['fixed', 'percent']: + cash_rounding_difference_currency = cash_rounding.compute_difference(currency, term_vals['foreign_amount']) + if not currency.is_zero(cash_rounding_difference_currency): + rate = abs(term_vals['foreign_amount'] / term_vals['company_amount']) if term_vals['company_amount'] else 1.0 + + foreign_rounding_amount += cash_rounding_difference_currency + term_vals['foreign_amount'] += cash_rounding_difference_currency + + company_amount = company_currency.round(term_vals['foreign_amount'] / rate) + cash_rounding_difference = company_amount - term_vals['company_amount'] + if not currency.is_zero(cash_rounding_difference): + company_rounding_amount += cash_rounding_difference + term_vals['company_amount'] = company_amount + + if line.value == 'balance': + # The `*_amount_left` variables do not account for cash rounding. + # Here we remove the total amount added by the cash rounding from the amount left. + # This way the totals in company and move currency remain unchanged (compared to the input). + # We assume the foreign total (`tax_amount_currency + untaxed_amount_currency`) is cash rounded. + # The following right side is the same as subtracting all the (cash rounded) foreign payment term amounts from the foreign total. + # Thus it is the remaining foreign amount and also cash rounded. + term_vals['foreign_amount'] = tax_amount_currency_left + untaxed_amount_currency_left - foreign_rounding_amount + term_vals['company_amount'] = tax_amount_left + untaxed_amount_left - company_rounding_amount + + line_untaxed_amount = untaxed_amount_left + line_untaxed_amount_currency = untaxed_amount_currency_left + result.append(term_vals) + if line.value == 'instalment': + total_instalment_count = line.period_count + + for count in range(total_instalment_count): + # Calculate the due date for each installment + if line.period_type == 'daily': + line_date = line._get_due_date(date_ref) + relativedelta(days=count) + elif line.period_type == 'weekly': + line_date = line._get_due_date(date_ref) + relativedelta(weeks=count) + elif line.period_type == 'monthly': + line_date = line._get_due_date(date_ref) + relativedelta(months=count) + elif line.period_type == 'yearly': + line_date = line._get_due_date(date_ref) + relativedelta(years=count) + else: + line_date = line._get_due_date(date_ref) + + term_vals['date'] = line_date + term_vals['company_amount'] = sign * company_currency.round(total_amount / total_instalment_count) + term_vals['foreign_amount'] = sign * currency.round(total_amount_currency / total_instalment_count) + result.append(term_vals.copy()) + + + if line.discount_percentage: + if company.early_pay_discount_computation in ('excluded', 'mixed'): + term_vals['discount_balance'] = company_currency.round(term_vals['company_amount'] - line_untaxed_amount * line.discount_percentage / 100.0) + term_vals['discount_amount_currency'] = currency.round(term_vals['foreign_amount'] - line_untaxed_amount_currency * line.discount_percentage / 100.0) + else: + term_vals['discount_balance'] = company_currency.round(term_vals['company_amount'] * (1 - (line.discount_percentage / 100.0))) + term_vals['discount_amount_currency'] = currency.round(term_vals['foreign_amount'] * (1 - (line.discount_percentage / 100.0))) + term_vals['discount_date'] = date_ref + relativedelta(days=line.discount_days) + + if cash_rounding and line.discount_percentage: + cash_rounding_difference_currency = cash_rounding.compute_difference(currency, term_vals['discount_amount_currency']) + if not currency.is_zero(cash_rounding_difference_currency): + rate = abs(term_vals['discount_amount_currency'] / term_vals['discount_balance']) if term_vals['discount_balance'] else 1.0 + term_vals['discount_amount_currency'] += cash_rounding_difference_currency + term_vals['discount_balance'] = company_currency.round(term_vals['discount_amount_currency'] / rate) + + result.append(term_vals) + amount = sum(entry['company_amount'] for entry in result) + amount_currency = sum(val['foreign_amount'] for val in result) + dist = company_currency.round(amount-total_amount) + value = currency.round(amount_currency - total_amount_currency) + if dist and value : + result[0]['company_amount'] -= dist + result[0]['foreign_amount'] -= value + return result diff --git a/account_payment_instalment/static/description/assets/icons/check.png b/account_payment_instalment/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/account_payment_instalment/static/description/assets/icons/check.png differ diff --git a/account_payment_instalment/static/description/assets/icons/chevron.png b/account_payment_instalment/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/account_payment_instalment/static/description/assets/icons/chevron.png differ diff --git a/account_payment_instalment/static/description/assets/icons/cogs.png b/account_payment_instalment/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/account_payment_instalment/static/description/assets/icons/cogs.png differ diff --git a/account_payment_instalment/static/description/assets/icons/consultation.png b/account_payment_instalment/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/account_payment_instalment/static/description/assets/icons/consultation.png differ diff --git a/account_payment_instalment/static/description/assets/icons/ecom-black.png b/account_payment_instalment/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/account_payment_instalment/static/description/assets/icons/ecom-black.png differ diff --git a/account_payment_instalment/static/description/assets/icons/education-black.png b/account_payment_instalment/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/account_payment_instalment/static/description/assets/icons/education-black.png differ diff --git a/account_payment_instalment/static/description/assets/icons/hotel-black.png b/account_payment_instalment/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/account_payment_instalment/static/description/assets/icons/hotel-black.png differ diff --git a/account_payment_instalment/static/description/assets/icons/license.png b/account_payment_instalment/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/account_payment_instalment/static/description/assets/icons/license.png differ diff --git a/account_payment_instalment/static/description/assets/icons/lifebuoy.png b/account_payment_instalment/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/account_payment_instalment/static/description/assets/icons/lifebuoy.png differ diff --git a/account_payment_instalment/static/description/assets/icons/logo.png b/account_payment_instalment/static/description/assets/icons/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/account_payment_instalment/static/description/assets/icons/logo.png differ diff --git a/account_payment_instalment/static/description/assets/icons/manufacturing-black.png b/account_payment_instalment/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/account_payment_instalment/static/description/assets/icons/manufacturing-black.png differ diff --git a/account_payment_instalment/static/description/assets/icons/pos-black.png b/account_payment_instalment/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/account_payment_instalment/static/description/assets/icons/pos-black.png differ diff --git a/account_payment_instalment/static/description/assets/icons/puzzle.png b/account_payment_instalment/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/account_payment_instalment/static/description/assets/icons/puzzle.png differ diff --git a/account_payment_instalment/static/description/assets/icons/restaurant-black.png b/account_payment_instalment/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/account_payment_instalment/static/description/assets/icons/restaurant-black.png differ diff --git a/account_payment_instalment/static/description/assets/icons/service-black.png b/account_payment_instalment/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/account_payment_instalment/static/description/assets/icons/service-black.png differ diff --git a/account_payment_instalment/static/description/assets/icons/trading-black.png b/account_payment_instalment/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/account_payment_instalment/static/description/assets/icons/trading-black.png differ diff --git a/account_payment_instalment/static/description/assets/icons/training.png b/account_payment_instalment/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/account_payment_instalment/static/description/assets/icons/training.png differ diff --git a/account_payment_instalment/static/description/assets/icons/update.png b/account_payment_instalment/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/account_payment_instalment/static/description/assets/icons/update.png differ diff --git a/account_payment_instalment/static/description/assets/icons/user.png b/account_payment_instalment/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/account_payment_instalment/static/description/assets/icons/user.png differ diff --git a/account_payment_instalment/static/description/assets/icons/wrench.png b/account_payment_instalment/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/account_payment_instalment/static/description/assets/icons/wrench.png differ diff --git a/account_payment_instalment/static/description/assets/misc/categories.png b/account_payment_instalment/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/account_payment_instalment/static/description/assets/misc/categories.png differ diff --git a/account_payment_instalment/static/description/assets/misc/check-box.png b/account_payment_instalment/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/account_payment_instalment/static/description/assets/misc/check-box.png differ diff --git a/account_payment_instalment/static/description/assets/misc/compass.png b/account_payment_instalment/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/account_payment_instalment/static/description/assets/misc/compass.png differ diff --git a/account_payment_instalment/static/description/assets/misc/corporate.png b/account_payment_instalment/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/account_payment_instalment/static/description/assets/misc/corporate.png differ diff --git a/account_payment_instalment/static/description/assets/misc/customer-support.png b/account_payment_instalment/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/account_payment_instalment/static/description/assets/misc/customer-support.png differ diff --git a/account_payment_instalment/static/description/assets/misc/cybrosys-logo.png b/account_payment_instalment/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/account_payment_instalment/static/description/assets/misc/cybrosys-logo.png differ diff --git a/account_payment_instalment/static/description/assets/misc/features.png b/account_payment_instalment/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/account_payment_instalment/static/description/assets/misc/features.png differ diff --git a/account_payment_instalment/static/description/assets/misc/logo.png b/account_payment_instalment/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/account_payment_instalment/static/description/assets/misc/logo.png differ diff --git a/account_payment_instalment/static/description/assets/misc/pictures.png b/account_payment_instalment/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/account_payment_instalment/static/description/assets/misc/pictures.png differ diff --git a/account_payment_instalment/static/description/assets/misc/pie-chart.png b/account_payment_instalment/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/account_payment_instalment/static/description/assets/misc/pie-chart.png differ diff --git a/account_payment_instalment/static/description/assets/misc/right-arrow.png b/account_payment_instalment/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/account_payment_instalment/static/description/assets/misc/right-arrow.png differ diff --git a/account_payment_instalment/static/description/assets/misc/star.png b/account_payment_instalment/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/account_payment_instalment/static/description/assets/misc/star.png differ diff --git a/account_payment_instalment/static/description/assets/misc/support.png b/account_payment_instalment/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/account_payment_instalment/static/description/assets/misc/support.png differ diff --git a/account_payment_instalment/static/description/assets/misc/whatsapp.png b/account_payment_instalment/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/account_payment_instalment/static/description/assets/misc/whatsapp.png differ diff --git a/account_payment_instalment/static/description/assets/modules/1.png b/account_payment_instalment/static/description/assets/modules/1.png new file mode 100644 index 000000000..6d637752d Binary files /dev/null and b/account_payment_instalment/static/description/assets/modules/1.png differ diff --git a/account_payment_instalment/static/description/assets/modules/2.png b/account_payment_instalment/static/description/assets/modules/2.png new file mode 100644 index 000000000..812c3ac1f Binary files /dev/null and b/account_payment_instalment/static/description/assets/modules/2.png differ diff --git a/account_payment_instalment/static/description/assets/modules/3.png b/account_payment_instalment/static/description/assets/modules/3.png new file mode 100644 index 000000000..15b141248 Binary files /dev/null and b/account_payment_instalment/static/description/assets/modules/3.png differ diff --git a/account_payment_instalment/static/description/assets/modules/4.png b/account_payment_instalment/static/description/assets/modules/4.png new file mode 100644 index 000000000..29bcb6544 Binary files /dev/null and b/account_payment_instalment/static/description/assets/modules/4.png differ diff --git a/account_payment_instalment/static/description/assets/modules/5.png b/account_payment_instalment/static/description/assets/modules/5.png new file mode 100644 index 000000000..216c130e0 Binary files /dev/null and b/account_payment_instalment/static/description/assets/modules/5.png differ diff --git a/account_payment_instalment/static/description/assets/modules/6.png b/account_payment_instalment/static/description/assets/modules/6.png new file mode 100644 index 000000000..7a17f2667 Binary files /dev/null and b/account_payment_instalment/static/description/assets/modules/6.png differ diff --git a/account_payment_instalment/static/description/assets/screenshots/hero.gif b/account_payment_instalment/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..c23982ed8 Binary files /dev/null and b/account_payment_instalment/static/description/assets/screenshots/hero.gif differ diff --git a/account_payment_instalment/static/description/assets/screenshots/s1.png b/account_payment_instalment/static/description/assets/screenshots/s1.png new file mode 100644 index 000000000..82ce461c8 Binary files /dev/null and b/account_payment_instalment/static/description/assets/screenshots/s1.png differ diff --git a/account_payment_instalment/static/description/assets/screenshots/s2.png b/account_payment_instalment/static/description/assets/screenshots/s2.png new file mode 100644 index 000000000..81b39343c Binary files /dev/null and b/account_payment_instalment/static/description/assets/screenshots/s2.png differ diff --git a/account_payment_instalment/static/description/assets/screenshots/s3.png b/account_payment_instalment/static/description/assets/screenshots/s3.png new file mode 100644 index 000000000..d92203d9d Binary files /dev/null and b/account_payment_instalment/static/description/assets/screenshots/s3.png differ diff --git a/account_payment_instalment/static/description/banner.png b/account_payment_instalment/static/description/banner.png new file mode 100644 index 000000000..1e844636e Binary files /dev/null and b/account_payment_instalment/static/description/banner.png differ diff --git a/account_payment_instalment/static/description/icon.png b/account_payment_instalment/static/description/icon.png new file mode 100644 index 000000000..b5051e08d Binary files /dev/null and b/account_payment_instalment/static/description/icon.png differ diff --git a/account_payment_instalment/static/description/index.html b/account_payment_instalment/static/description/index.html new file mode 100644 index 000000000..03f947faa --- /dev/null +++ b/account_payment_instalment/static/description/index.html @@ -0,0 +1,626 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+
+ +
+
+
+ +

+ Instalment in Payment Terms

+

Instalment feature in the payment terms of invoice

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

+ Explore This + Module

+
+ + + + +
+
+ +
+

+ Overview +

+
+
+
+ Did you ever search for the provision to make the customer payment as instalments? Here is the solution. + You can configure a new payment term with the feature of instalment. +
+
+ + + +
+
+ +
+

+ Features +

+
+
+
+
+ + Community and Enterprise Support. +
+
+ + Provision for instalment in the payment terms. +
+
+ + Instalment by days, months and years. +
+
+ + Period type and number of instalments in the payment lines. +
+
+ + + +
+
+ +
+

+ Screenshots +

+
+
+
+
+

+ Payment term form view. You can see the period and number of instalments in the payment lines.

+ +
+
+

+ You choose the created payment term while creating the invoice.

+ +
+
+

+ Now you can check the journal entries of that particular invoice. + You can see the debit amount and the due dates.

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

+ Related + Products +

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

+ Our Services +

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

+ Our + Industries +

+
+ +
+
+
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+ +
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+ +
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+ +
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

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

+ Mobile + friendly, + awe-inspiring product pages

+
+
+ +
+
+ +
+ Service Management +
+

+ Keep track of + services and invoice

+
+
+ +
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

+
+
+ +
+
+ +
+ Hotel Management +
+

+ An + all-inclusive + hotel management application

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

+ Support +

+
+
+
+
+
+
+ +
+
+

Need Help?

+

Got questions or need + help? Get in touch.

+ +

+ odoo@cybrosys.com

+
+
+
+
+
+
+
+ +
+
+

WhatsApp

+

Say hi to us on + WhatsApp!

+ +

+ +91 86068 + 27707

+
+
+
+
+
+
+
+ +
+
+
+
+ diff --git a/account_payment_instalment/views/account_payment_term_view.xml b/account_payment_instalment/views/account_payment_term_view.xml new file mode 100644 index 000000000..0d7b02ef9 --- /dev/null +++ b/account_payment_instalment/views/account_payment_term_view.xml @@ -0,0 +1,18 @@ + + + + + account.payment.term.form + account.payment.term + + + + + + + + {'invisible':[('value','in',['balance','instalment'])]} + + + +