diff --git a/payment_status_in_sale/README.rst b/payment_status_in_sale/README.rst new file mode 100644 index 000000000..ce0ba6341 --- /dev/null +++ b/payment_status_in_sale/README.rst @@ -0,0 +1,46 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Sale Order Payment Status +========================= +* This module provides sale order payment details such as invoice status, amount due, date of payment and amount etc. + +Configuration +============= +* No additional configuration is needed to use this module. + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +======= +GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) +(http://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +* Developer: (V16) Shyamgeeth PP, 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/payment_status_in_sale/__init__.py b/payment_status_in_sale/__init__.py new file mode 100644 index 000000000..2fa6ac2de --- /dev/null +++ b/payment_status_in_sale/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Shyamgeeth P.P () +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################ +from . import models diff --git a/payment_status_in_sale/__manifest__.py b/payment_status_in_sale/__manifest__.py new file mode 100644 index 000000000..d6217f65d --- /dev/null +++ b/payment_status_in_sale/__manifest__.py @@ -0,0 +1,42 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Shyamgeeth P.P () +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################ +{ + 'name': 'Sale Order Payment Status', + 'version': '16.0.1.0.0', + 'category': 'Sales', + 'summary': 'Sale order payment status,payment details and amount due', + 'description': """This module used to get the information regarding invoice + of the corresponding sale order in the sale order page. It includes sale + order payment status, payment details and amount due.""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['sale_management', 'account'], + 'data': ['views/sale_order_views.xml'], + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/payment_status_in_sale/doc/RELEASE_NOTES.md b/payment_status_in_sale/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..a42465bd2 --- /dev/null +++ b/payment_status_in_sale/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 16.03.2024 +#### Version 16.0.1.0.0 +##### ADD +- Initial commit for Sale Order Payment Status. diff --git a/payment_status_in_sale/models/__init__.py b/payment_status_in_sale/models/__init__.py new file mode 100644 index 000000000..6e33fdc33 --- /dev/null +++ b/payment_status_in_sale/models/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Shyamgeeth P.P () +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################### +from . import sale_order diff --git a/payment_status_in_sale/models/sale_order.py b/payment_status_in_sale/models/sale_order.py new file mode 100644 index 000000000..2dbf35181 --- /dev/null +++ b/payment_status_in_sale/models/sale_order.py @@ -0,0 +1,169 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Shyamgeeth P.P () +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################### +from odoo import api, fields, models, _ + + +class SaleOrder(models.Model): + """Extend the base Sale Order model to add custom fields and behaviors + for Sale Order Payment Status.""" + + _inherit = "sale.order" + _description = 'Sale order' + + payment_status = fields.Char(string="Payment Status", + compute="_compute_payment_status", + help="Field to check the payment status of the" + " sale order") + payment_details = fields.Binary(string="Payment Details", + compute="_compute_payment_details", + help="Shows the payment done details " + "including date and amount") + amount_due = fields.Float(string="Amount Due", + compute='_compute_invoice_state_and_amount_due', + help="Shows the amount that in due for the " + "corresponding sale order") + invoice_state = fields.Char(string="Invoice State", + compute="_compute_invoice_state_and_amount_due", + help="Field to check the invoice state of " + "sale order") + + @api.depends('invoice_ids') + def _compute_payment_status(self): + """ The function will compute the payment status of the sale order, if + an invoice is created for the corresponding sale order.Payment status + will be either in paid,not paid,partially paid, reversed etc.""" + for order in self: + order.payment_status = 'No invoice' + payment_states = order.invoice_ids.mapped('payment_state') + status_length = len(payment_states) + if 'partial' in payment_states: + order.payment_status = 'Partially Paid' + elif 'not_paid' in payment_states and any( + (True for x in ['paid', 'in_payment', 'partial'] if + x in payment_states)): + order.payment_status = 'Partially Paid' + elif 'not_paid' in payment_states and status_length == \ + payment_states.count('not_paid'): + order.payment_status = 'Not Paid' + elif 'paid' in payment_states and status_length == \ + payment_states.count('paid') and order.amount_due == 0: + order.payment_status = 'Paid' + elif 'paid' in payment_states and status_length == \ + payment_states.count('paid') and order.amount_due != 0: + order.payment_status = 'Partially Paid' + elif 'in_payment' in payment_states and status_length == \ + payment_states.count('in_payment'): + order.payment_status = 'In Payment' + elif 'reversed' in payment_states and status_length == \ + payment_states.count('reversed'): + order.payment_status = 'Reversed' + else: + order.payment_status = 'No invoice' + + @api.depends('invoice_ids') + def _compute_invoice_state_and_amount_due(self): + """ The function will compute the state of the invoice , Once an invoice + is existing in a sale order. """ + for rec in self: + amount_due = 0 + rec.invoice_state = 'No invoice' + for order in rec.invoice_ids: + amount_due = amount_due + (order.amount_total - + order.amount_residual) + if order.state == 'posted': + rec.invoice_state = 'posted' + elif order.state != 'posted': + rec.invoice_state = 'draft' + else: + rec.invoice_state = 'No invoice' + rec.amount_due = rec.amount_total - amount_due + + def action_open_business_doc(self): + """ This method is intended to be used in the context of an + account.move record. + It retrieves the associated payment record and opens it in a new window. + + :return: A dictionary describing the action to be performed. + :rtype: dict """ + name = _("Journal Entry") + move = self.env['account.move'].browse(self.id) + res_model = 'account.payment' + res_id = move.payment_id.id + return { + 'name': name, + 'type': 'ir.actions.act_window', + 'view_mode': 'form', + 'views': [(False, 'form')], + 'res_model': res_model, + 'res_id': res_id, + 'target': 'current', + } + + def js_remove_outstanding_partial(self, partial_id): + """ Called by the 'payment' widget to remove a reconciled entry to the + present invoice. + + :param partial_id: The id of an existing partial reconciled with the + current invoice. + """ + self.ensure_one() + partial = self.env['account.partial.reconcile'].browse(partial_id) + return partial.unlink() + + @api.depends('invoice_ids') + def _compute_payment_details(self): + """ Compute the payment details from invoices and added into the sale + order form view. """ + for rec in self: + payment = [] + rec.payment_details = False + if rec.invoice_ids: + for line in rec.invoice_ids: + if line.invoice_payments_widget: + for pay in line.invoice_payments_widget['content']: + payment.append(pay) + for line in rec.invoice_ids: + if line.invoice_payments_widget: + payment_line = line.invoice_payments_widget + payment_line['content'] = payment + rec.payment_details = payment_line + break + rec.payment_details = False + + def action_register_payment(self): + """ Open the account.payment.register wizard to pay the selected journal + entries. + :return: An action opening the account.payment.register wizard. + """ + self.ensure_one() + return { + 'name': _('Register Payment'), + 'res_model': 'account.payment.register', + 'view_mode': 'form', + 'context': { + 'active_model': 'account.move', + 'active_ids': self.invoice_ids.ids, + }, + 'target': 'new', + 'type': 'ir.actions.act_window', + } diff --git a/payment_status_in_sale/static/description/assets/icons/check.png b/payment_status_in_sale/static/description/assets/icons/check.png new file mode 100755 index 000000000..c8e85f51d Binary files /dev/null and b/payment_status_in_sale/static/description/assets/icons/check.png differ diff --git a/payment_status_in_sale/static/description/assets/icons/chevron.png b/payment_status_in_sale/static/description/assets/icons/chevron.png new file mode 100755 index 000000000..2089293d6 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/icons/chevron.png differ diff --git a/payment_status_in_sale/static/description/assets/icons/cogs.png b/payment_status_in_sale/static/description/assets/icons/cogs.png new file mode 100755 index 000000000..95d0bad62 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/icons/cogs.png differ diff --git a/payment_status_in_sale/static/description/assets/icons/consultation.png b/payment_status_in_sale/static/description/assets/icons/consultation.png new file mode 100755 index 000000000..8319d4baa Binary files /dev/null and b/payment_status_in_sale/static/description/assets/icons/consultation.png differ diff --git a/payment_status_in_sale/static/description/assets/icons/ecom-black.png b/payment_status_in_sale/static/description/assets/icons/ecom-black.png new file mode 100755 index 000000000..a9385ff13 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/icons/ecom-black.png differ diff --git a/payment_status_in_sale/static/description/assets/icons/education-black.png b/payment_status_in_sale/static/description/assets/icons/education-black.png new file mode 100755 index 000000000..3eb09b27b Binary files /dev/null and b/payment_status_in_sale/static/description/assets/icons/education-black.png differ diff --git a/payment_status_in_sale/static/description/assets/icons/hotel-black.png b/payment_status_in_sale/static/description/assets/icons/hotel-black.png new file mode 100755 index 000000000..130f613be Binary files /dev/null and b/payment_status_in_sale/static/description/assets/icons/hotel-black.png differ diff --git a/payment_status_in_sale/static/description/assets/icons/license.png b/payment_status_in_sale/static/description/assets/icons/license.png new file mode 100755 index 000000000..a5869797e Binary files /dev/null and b/payment_status_in_sale/static/description/assets/icons/license.png differ diff --git a/payment_status_in_sale/static/description/assets/icons/lifebuoy.png b/payment_status_in_sale/static/description/assets/icons/lifebuoy.png new file mode 100755 index 000000000..658d56ccc Binary files /dev/null and b/payment_status_in_sale/static/description/assets/icons/lifebuoy.png differ diff --git a/payment_status_in_sale/static/description/assets/icons/manufacturing-black.png b/payment_status_in_sale/static/description/assets/icons/manufacturing-black.png new file mode 100755 index 000000000..697eb0e9f Binary files /dev/null and b/payment_status_in_sale/static/description/assets/icons/manufacturing-black.png differ diff --git a/payment_status_in_sale/static/description/assets/icons/pos-black.png b/payment_status_in_sale/static/description/assets/icons/pos-black.png new file mode 100755 index 000000000..97c0f90c1 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/icons/pos-black.png differ diff --git a/payment_status_in_sale/static/description/assets/icons/puzzle.png b/payment_status_in_sale/static/description/assets/icons/puzzle.png new file mode 100755 index 000000000..65cf854e7 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/icons/puzzle.png differ diff --git a/payment_status_in_sale/static/description/assets/icons/restaurant-black.png b/payment_status_in_sale/static/description/assets/icons/restaurant-black.png new file mode 100755 index 000000000..4a35eb939 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/icons/restaurant-black.png differ diff --git a/payment_status_in_sale/static/description/assets/icons/service-black.png b/payment_status_in_sale/static/description/assets/icons/service-black.png new file mode 100755 index 000000000..301ab51cb Binary files /dev/null and b/payment_status_in_sale/static/description/assets/icons/service-black.png differ diff --git a/payment_status_in_sale/static/description/assets/icons/trading-black.png b/payment_status_in_sale/static/description/assets/icons/trading-black.png new file mode 100755 index 000000000..9398ba2f1 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/icons/trading-black.png differ diff --git a/payment_status_in_sale/static/description/assets/icons/training.png b/payment_status_in_sale/static/description/assets/icons/training.png new file mode 100755 index 000000000..884ca024d Binary files /dev/null and b/payment_status_in_sale/static/description/assets/icons/training.png differ diff --git a/payment_status_in_sale/static/description/assets/icons/update.png b/payment_status_in_sale/static/description/assets/icons/update.png new file mode 100755 index 000000000..ecbc5a01a Binary files /dev/null and b/payment_status_in_sale/static/description/assets/icons/update.png differ diff --git a/payment_status_in_sale/static/description/assets/icons/user.png b/payment_status_in_sale/static/description/assets/icons/user.png new file mode 100755 index 000000000..6ffb23d9f Binary files /dev/null and b/payment_status_in_sale/static/description/assets/icons/user.png differ diff --git a/payment_status_in_sale/static/description/assets/icons/wrench.png b/payment_status_in_sale/static/description/assets/icons/wrench.png new file mode 100755 index 000000000..6c04dea0f Binary files /dev/null and b/payment_status_in_sale/static/description/assets/icons/wrench.png differ diff --git a/payment_status_in_sale/static/description/assets/misc/categories.png b/payment_status_in_sale/static/description/assets/misc/categories.png new file mode 100755 index 000000000..bedf1e0b1 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/misc/categories.png differ diff --git a/payment_status_in_sale/static/description/assets/misc/check-box.png b/payment_status_in_sale/static/description/assets/misc/check-box.png new file mode 100755 index 000000000..42caf24b9 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/misc/check-box.png differ diff --git a/payment_status_in_sale/static/description/assets/misc/compass.png b/payment_status_in_sale/static/description/assets/misc/compass.png new file mode 100755 index 000000000..d5fed8faa Binary files /dev/null and b/payment_status_in_sale/static/description/assets/misc/compass.png differ diff --git a/payment_status_in_sale/static/description/assets/misc/corporate.png b/payment_status_in_sale/static/description/assets/misc/corporate.png new file mode 100755 index 000000000..2eb13edbf Binary files /dev/null and b/payment_status_in_sale/static/description/assets/misc/corporate.png differ diff --git a/payment_status_in_sale/static/description/assets/misc/customer-support.png b/payment_status_in_sale/static/description/assets/misc/customer-support.png new file mode 100755 index 000000000..79efc72ed Binary files /dev/null and b/payment_status_in_sale/static/description/assets/misc/customer-support.png differ diff --git a/payment_status_in_sale/static/description/assets/misc/cybrosys-logo.png b/payment_status_in_sale/static/description/assets/misc/cybrosys-logo.png new file mode 100755 index 000000000..cc3cc0ccf Binary files /dev/null and b/payment_status_in_sale/static/description/assets/misc/cybrosys-logo.png differ diff --git a/payment_status_in_sale/static/description/assets/misc/features.png b/payment_status_in_sale/static/description/assets/misc/features.png new file mode 100755 index 000000000..b41769f77 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/misc/features.png differ diff --git a/payment_status_in_sale/static/description/assets/misc/logo.png b/payment_status_in_sale/static/description/assets/misc/logo.png new file mode 100755 index 000000000..478462d3e Binary files /dev/null and b/payment_status_in_sale/static/description/assets/misc/logo.png differ diff --git a/payment_status_in_sale/static/description/assets/misc/pictures.png b/payment_status_in_sale/static/description/assets/misc/pictures.png new file mode 100755 index 000000000..56d255fe9 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/misc/pictures.png differ diff --git a/payment_status_in_sale/static/description/assets/misc/pie-chart.png b/payment_status_in_sale/static/description/assets/misc/pie-chart.png new file mode 100755 index 000000000..426e05244 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/misc/pie-chart.png differ diff --git a/payment_status_in_sale/static/description/assets/misc/right-arrow.png b/payment_status_in_sale/static/description/assets/misc/right-arrow.png new file mode 100755 index 000000000..730984a06 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/misc/right-arrow.png differ diff --git a/payment_status_in_sale/static/description/assets/misc/star.png b/payment_status_in_sale/static/description/assets/misc/star.png new file mode 100755 index 000000000..2eb9ab29f Binary files /dev/null and b/payment_status_in_sale/static/description/assets/misc/star.png differ diff --git a/payment_status_in_sale/static/description/assets/misc/support.png b/payment_status_in_sale/static/description/assets/misc/support.png new file mode 100755 index 000000000..4f18b8b82 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/misc/support.png differ diff --git a/payment_status_in_sale/static/description/assets/misc/whatsapp.png b/payment_status_in_sale/static/description/assets/misc/whatsapp.png new file mode 100755 index 000000000..d513a5356 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/misc/whatsapp.png differ diff --git a/payment_status_in_sale/static/description/assets/modules/1.png b/payment_status_in_sale/static/description/assets/modules/1.png new file mode 100644 index 000000000..e571015b1 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/modules/1.png differ diff --git a/payment_status_in_sale/static/description/assets/modules/2.png b/payment_status_in_sale/static/description/assets/modules/2.png new file mode 100644 index 000000000..3add135c3 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/modules/2.png differ diff --git a/payment_status_in_sale/static/description/assets/modules/3.png b/payment_status_in_sale/static/description/assets/modules/3.png new file mode 100644 index 000000000..f6020a481 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/modules/3.png differ diff --git a/payment_status_in_sale/static/description/assets/modules/4.png b/payment_status_in_sale/static/description/assets/modules/4.png new file mode 100644 index 000000000..c00686e77 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/modules/4.png differ diff --git a/payment_status_in_sale/static/description/assets/modules/5.png b/payment_status_in_sale/static/description/assets/modules/5.png new file mode 100644 index 000000000..370d5aa83 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/modules/5.png differ diff --git a/payment_status_in_sale/static/description/assets/modules/6.png b/payment_status_in_sale/static/description/assets/modules/6.png new file mode 100644 index 000000000..8dfaf8c9b Binary files /dev/null and b/payment_status_in_sale/static/description/assets/modules/6.png differ diff --git a/payment_status_in_sale/static/description/assets/screenshots/1.png b/payment_status_in_sale/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..131445d57 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/screenshots/1.png differ diff --git a/payment_status_in_sale/static/description/assets/screenshots/amount_due.png b/payment_status_in_sale/static/description/assets/screenshots/amount_due.png new file mode 100644 index 000000000..6ee8d5516 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/screenshots/amount_due.png differ diff --git a/payment_status_in_sale/static/description/assets/screenshots/hero.gif b/payment_status_in_sale/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..63a7f4779 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/screenshots/hero.gif differ diff --git a/payment_status_in_sale/static/description/assets/screenshots/not_paid.png b/payment_status_in_sale/static/description/assets/screenshots/not_paid.png new file mode 100644 index 000000000..feb58379c Binary files /dev/null and b/payment_status_in_sale/static/description/assets/screenshots/not_paid.png differ diff --git a/payment_status_in_sale/static/description/assets/screenshots/paid.png b/payment_status_in_sale/static/description/assets/screenshots/paid.png new file mode 100644 index 000000000..1753523a2 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/screenshots/paid.png differ diff --git a/payment_status_in_sale/static/description/assets/screenshots/partial.png b/payment_status_in_sale/static/description/assets/screenshots/partial.png new file mode 100644 index 000000000..586a3a2fb Binary files /dev/null and b/payment_status_in_sale/static/description/assets/screenshots/partial.png differ diff --git a/payment_status_in_sale/static/description/assets/screenshots/pay_details.png b/payment_status_in_sale/static/description/assets/screenshots/pay_details.png new file mode 100644 index 000000000..219a48242 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/screenshots/pay_details.png differ diff --git a/payment_status_in_sale/static/description/assets/screenshots/register.png b/payment_status_in_sale/static/description/assets/screenshots/register.png new file mode 100644 index 000000000..c822acc8c Binary files /dev/null and b/payment_status_in_sale/static/description/assets/screenshots/register.png differ diff --git a/payment_status_in_sale/static/description/assets/screenshots/tree.png b/payment_status_in_sale/static/description/assets/screenshots/tree.png new file mode 100644 index 000000000..7345220a9 Binary files /dev/null and b/payment_status_in_sale/static/description/assets/screenshots/tree.png differ diff --git a/payment_status_in_sale/static/description/banner.png b/payment_status_in_sale/static/description/banner.png new file mode 100644 index 000000000..1a0d01697 Binary files /dev/null and b/payment_status_in_sale/static/description/banner.png differ diff --git a/payment_status_in_sale/static/description/icon.png b/payment_status_in_sale/static/description/icon.png new file mode 100644 index 000000000..216b144d3 Binary files /dev/null and b/payment_status_in_sale/static/description/icon.png differ diff --git a/payment_status_in_sale/static/description/index.html b/payment_status_in_sale/static/description/index.html new file mode 100755 index 000000000..ae3c2c265 --- /dev/null +++ b/payment_status_in_sale/static/description/index.html @@ -0,0 +1,661 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+
+ +
+
+
+ +

+ Sale Order Payment Status

+

Shows the payment status of the sale order

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

+ Explore This + Module

+
+ + + + +
+
+ +
+

+ Overview +

+
+
+
This module will help you to know the payment + status in the sales page. +
+
+ + + +
+
+ +
+

+ Features +

+
+
+
+
+ + Available in Odoo 16.0 + Community and Enterprise. +
+
+ + Shows Payment Status in Sale Order tree view. +
+
+ + Shows Amount Due in Sale Order form. +
+
+
+ +
+ + Shows Payment Details in the Sale Order form. +
+ +
+ + Payment can do from Sale Order form. +
+
+ + Shows Payment Status in the Sale Order form view. +
+
+
+ + + +
+
+ +
+

+ Screenshots +

+
+
+
+ +
+

+ Shows Payment Status in Sale Order tree view. +

+

+ It will show the status of payment in the tree view of Sales + module.

+ +
+ +
+

+ Shows Amount Due in Sale Order form.

+

+ Once an invoice is created, the payment status is changed + to "Not Paid" and Amount due was + showed on the form.

+ +
+ +
+

+ Shows Payment Details in the Sale Order form.

+

+ Upon creating an invoice and registering the payment using "REGISTER PAYMENT" Button.The status will be + changed to either "PAID" or "PARTIALLY PAID" state and Payment details will showed on the form.

+ +
+ +
+

+ Payment can do from Sale Order form.

+

+ Once an invoice is created and confirmed.Then the "REGISTER PAYMENT" + button enable on the Sale Order form view and user can register the payment from the + Sale Order form.

+ +
+ +
+

+ Shows Payment status in the Sale Order form view.

+

+ Once an invoice is created and confirmed, + it will shows the Payment status on the Sale Order form view.

+

+ 1.PAID

+ +

+ 2.NOT PAID

+ +

+ 3.PARTIALLY PAID

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

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

+
+
+
+
+
+
+
+ +
+
+
+ \ No newline at end of file diff --git a/payment_status_in_sale/views/sale_order_views.xml b/payment_status_in_sale/views/sale_order_views.xml new file mode 100644 index 000000000..20ca6d2c2 --- /dev/null +++ b/payment_status_in_sale/views/sale_order_views.xml @@ -0,0 +1,86 @@ + + + + + sales.order.view.form.inherit.payment.status.in + .sale + + sale.order + + + + + + + + + + + + + + + + +