diff --git a/account_payment_approval/README.rst b/account_payment_approval/README.rst new file mode 100644 index 000000000..7cf07baa5 --- /dev/null +++ b/account_payment_approval/README.rst @@ -0,0 +1,52 @@ +.. image:: https://img.shields.io/badge/license-LGPL--3-green.svg + :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 + +Payment Approvals +================= +Enables to use the approval feature in customer and vendor payments. + +Configuration +============= +- No additional configuration required + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.odoo.com/documentation/user/16.0/legal/licenses/licenses.html) + +Credits +======= +Developer: + (v13) Mashood K U, + (v14) Minhaj T @ cybrosys, + (v15) Mohammed Shahil M P T, + (v16) Neenu Merlin Jose, + (v17) Jumana Haseen +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_approval/__init__.py b/account_payment_approval/__init__.py new file mode 100644 index 000000000..2316012ac --- /dev/null +++ b/account_payment_approval/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Jumana Haseen (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_payment_approval/__manifest__.py b/account_payment_approval/__manifest__.py new file mode 100644 index 000000000..2326a97d1 --- /dev/null +++ b/account_payment_approval/__manifest__.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Jumana Haseen (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': 'Payment Approvals', + 'version': '17.0.1.0.0', + 'category': 'Accounting', + 'summary': """ This modules Enables to use the approval feature in + customer and vendor payments.""", + 'description': """This modules enables approval feature in the payment. + as Approval stage .Approval feature can be applied based on the given + amount. """, + 'author': ' Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['account'], + 'data': [ + 'views/res_config_settings_views.xml', + 'views/account_payment_views.xml', + ], + 'license': 'LGPL-3', + 'images': ['static/description/banner.png'], + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/account_payment_approval/doc/RELEASE_NOTES.md b/account_payment_approval/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..0218c3874 --- /dev/null +++ b/account_payment_approval/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 28.12.2023 +#### Version 17.0.1.0.0 +##### ADD + +- Initial commit for Payment Approvals diff --git a/account_payment_approval/models/__init__.py b/account_payment_approval/models/__init__.py new file mode 100644 index 000000000..adb1a48ec --- /dev/null +++ b/account_payment_approval/models/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Jumana Haseen (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 +from . import res_config_settings diff --git a/account_payment_approval/models/account_move.py b/account_payment_approval/models/account_move.py new file mode 100644 index 000000000..e5b78f127 --- /dev/null +++ b/account_payment_approval/models/account_move.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Jumana Haseen (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 fields, models + + +class AccountMove(models.Model): + """This class inherits "account.move" and add state for approval """ + _inherit = "account.move" + + state = fields.Selection( + selection_add=[('waiting_approval', 'Waiting For Approval'), + ('approved', 'Approved'), + ('rejected', 'Rejected')], + ondelete={'waiting_approval': 'set default', 'approved': 'set default', + 'rejected': 'set default'}, help="States of approval.") diff --git a/account_payment_approval/models/account_payment.py b/account_payment_approval/models/account_payment.py new file mode 100644 index 000000000..1a817a188 --- /dev/null +++ b/account_payment_approval/models/account_payment.py @@ -0,0 +1,109 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Jumana Haseen (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 fields, models, _ +from odoo.exceptions import ValidationError, UserError + + +class AccountPayment(models.Model): + """This class inherits model "account.payment" and adds required fields """ + _inherit = "account.payment" + _inherits = {'account.move': 'move_id'} + + def _compute_is_approve_person(self): + """This function fetches the value of the + 'account_payment_approval.payment_approval' parameter using the + get_param method and converts to integer, it checks if the current + user's ID matches the ID stored in the 'approval_user_id' + parameter. If both conditions are met, it sets the is_approve_person + field to True""" + approval = self.env['ir.config_parameter'].sudo().get_param( + 'account_payment_approval.payment_approval') + approver_id = int(self.env['ir.config_parameter'].sudo().get_param( + 'account_payment_approval.approval_user_id')) + self.is_approve_person = True if (self.env.user.id == approver_id and + approval) else False + + is_approve_person = fields.Boolean(string='Approving Person', + compute=_compute_is_approve_person, + readonly=True, + help="Enable/disable if approving" + " person.") + + def action_post(self): + """Overwrites the _post() to validate the payment in the 'approved' + stage too. + currently Odoo allows payment posting only in draft stage.""" + validation = self._check_payment_approval() + if validation: + if self.state == ( + 'posted', 'cancel', 'waiting_approval', 'rejected'): + raise UserError( + _("Only a draft or approved payment can be posted.")) + if any(inv.state != 'posted' for inv in + self.reconciled_invoice_ids): + raise ValidationError(_("The payment cannot be processed " + "because the invoice is not open!")) + self.move_id._post(soft=False) + + def _check_payment_approval(self): + """This function checks the payment approval if payment_amount grater + than amount,then state changed to waiting_approval """ + self.ensure_one() + if self.state == "draft": + first_approval = self.env['ir.config_parameter'].sudo().get_param( + 'account_payment_approval.payment_approval') + if first_approval: + amount = float(self.env['ir.config_parameter'].sudo().get_param( + 'account_payment_approval.approval_amount')) + payment_currency_id = int( + self.env['ir.config_parameter'].sudo().get_param( + 'account_payment_approval.approval_currency_id')) + payment_amount = self.amount + if payment_currency_id: + if (self.currency_id and + self.currency_id.id != payment_currency_id): + currency_id = self.env['res.currency'].browse( + payment_currency_id) + payment_amount = (self.currency_id._convert( + self.amount, currency_id, self.company_id, + self.date or fields.Date.today(), round=True)) + if payment_amount > amount: + self.write({ + 'state': 'waiting_approval' + }) + return False + return True + + def approve_transfer(self): + """This function changes state to approved state if approving person + approves payment""" + if self.is_approve_person: + self.write({ + 'state': 'approved' + }) + + def reject_transfer(self): + """This function changes state to rejected state if approving person + reject approval""" + self.write({ + 'state': 'rejected' + }) diff --git a/account_payment_approval/models/res_config_settings.py b/account_payment_approval/models/res_config_settings.py new file mode 100644 index 000000000..609867c78 --- /dev/null +++ b/account_payment_approval/models/res_config_settings.py @@ -0,0 +1,64 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Jumana Haseen (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 fields, models + + +class ResConfigSettings(models.TransientModel): + """This class inherits the model 'res.config.settings' and adds + required fields""" + _inherit = 'res.config.settings' + + def _get_account_manager_ids(self): + """This function gets all the records of 'res.users' and + it filters the 'res.users' records to select only those users + who belong to the 'account.group_account_manager' group.""" + user_ids = self.env['res.users'].search([]) + account_manager_ids = user_ids.filtered( + lambda x: x.has_group('account.group_account_manager')) + return [('id', 'in', account_manager_ids.ids)] + payment_approval = fields.Boolean(string='Payment Approval', + config_parameter='account_payment_' + 'approval.payment_' + 'approval', + help="Enable/disable payment" + " approval to approve for payment " + "if needed.") + approval_user_id = fields.Many2one('res.users', + string="Payment Approving person", + required=False, + domain=_get_account_manager_ids, + config_parameter='account_payment_' + 'approval.approval_' + 'user_id', + help="Select the payment approving " + "person.") + approval_amount = fields.Float( + string='Minimum Approval Amount', + config_parameter='account_payment_approval.approval_amount', + help="If amount is 0.00, All the payments go through approval.") + approval_currency_id = fields.Many2one('res.currency', + string='Approval Currency', + config_parameter='account_payment_' + 'approval.approval_' + 'currency_id', + help="Converts the payment amount" + " to this currency if chosen.") diff --git a/account_payment_approval/static/description/assets/icons/capture (1).png b/account_payment_approval/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/account_payment_approval/static/description/assets/icons/capture (1).png differ diff --git a/account_payment_approval/static/description/assets/icons/check.png b/account_payment_approval/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/account_payment_approval/static/description/assets/icons/check.png differ diff --git a/account_payment_approval/static/description/assets/icons/chevron.png b/account_payment_approval/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/account_payment_approval/static/description/assets/icons/chevron.png differ diff --git a/account_payment_approval/static/description/assets/icons/cogs.png b/account_payment_approval/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/account_payment_approval/static/description/assets/icons/cogs.png differ diff --git a/account_payment_approval/static/description/assets/icons/consultation.png b/account_payment_approval/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/account_payment_approval/static/description/assets/icons/consultation.png differ diff --git a/account_payment_approval/static/description/assets/icons/ecom-black.png b/account_payment_approval/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/account_payment_approval/static/description/assets/icons/ecom-black.png differ diff --git a/account_payment_approval/static/description/assets/icons/education-black.png b/account_payment_approval/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/account_payment_approval/static/description/assets/icons/education-black.png differ diff --git a/account_payment_approval/static/description/assets/icons/hotel-black.png b/account_payment_approval/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/account_payment_approval/static/description/assets/icons/hotel-black.png differ diff --git a/account_payment_approval/static/description/assets/icons/img.png b/account_payment_approval/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/account_payment_approval/static/description/assets/icons/img.png differ diff --git a/account_payment_approval/static/description/assets/icons/license.png b/account_payment_approval/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/account_payment_approval/static/description/assets/icons/license.png differ diff --git a/account_payment_approval/static/description/assets/icons/lifebuoy.png b/account_payment_approval/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/account_payment_approval/static/description/assets/icons/lifebuoy.png differ diff --git a/account_payment_approval/static/description/assets/icons/manufacturing-black.png b/account_payment_approval/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/account_payment_approval/static/description/assets/icons/manufacturing-black.png differ diff --git a/account_payment_approval/static/description/assets/icons/photo-capture.png b/account_payment_approval/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/account_payment_approval/static/description/assets/icons/photo-capture.png differ diff --git a/account_payment_approval/static/description/assets/icons/pos-black.png b/account_payment_approval/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/account_payment_approval/static/description/assets/icons/pos-black.png differ diff --git a/account_payment_approval/static/description/assets/icons/puzzle.png b/account_payment_approval/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/account_payment_approval/static/description/assets/icons/puzzle.png differ diff --git a/account_payment_approval/static/description/assets/icons/restaurant-black.png b/account_payment_approval/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/account_payment_approval/static/description/assets/icons/restaurant-black.png differ diff --git a/account_payment_approval/static/description/assets/icons/service-black.png b/account_payment_approval/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/account_payment_approval/static/description/assets/icons/service-black.png differ diff --git a/account_payment_approval/static/description/assets/icons/trading-black.png b/account_payment_approval/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/account_payment_approval/static/description/assets/icons/trading-black.png differ diff --git a/account_payment_approval/static/description/assets/icons/training.png b/account_payment_approval/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/account_payment_approval/static/description/assets/icons/training.png differ diff --git a/account_payment_approval/static/description/assets/icons/update.png b/account_payment_approval/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/account_payment_approval/static/description/assets/icons/update.png differ diff --git a/account_payment_approval/static/description/assets/icons/user.png b/account_payment_approval/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/account_payment_approval/static/description/assets/icons/user.png differ diff --git a/account_payment_approval/static/description/assets/icons/wrench.png b/account_payment_approval/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/account_payment_approval/static/description/assets/icons/wrench.png differ diff --git a/account_payment_approval/static/description/assets/misc/Cybrosys R.png b/account_payment_approval/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/account_payment_approval/static/description/assets/misc/Cybrosys R.png differ diff --git a/account_payment_approval/static/description/assets/misc/email.svg b/account_payment_approval/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/account_payment_approval/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/account_payment_approval/static/description/assets/misc/phone.svg b/account_payment_approval/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/account_payment_approval/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/account_payment_approval/static/description/assets/misc/star (1) 2.svg b/account_payment_approval/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/account_payment_approval/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/account_payment_approval/static/description/assets/misc/support (1) 1.svg b/account_payment_approval/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/account_payment_approval/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/account_payment_approval/static/description/assets/misc/support-email.svg b/account_payment_approval/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/account_payment_approval/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/account_payment_approval/static/description/assets/misc/tick-mark.svg b/account_payment_approval/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/account_payment_approval/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/account_payment_approval/static/description/assets/misc/whatsapp 1.svg b/account_payment_approval/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/account_payment_approval/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/account_payment_approval/static/description/assets/misc/whatsapp.svg b/account_payment_approval/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/account_payment_approval/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/account_payment_approval/static/description/assets/modules/1.png b/account_payment_approval/static/description/assets/modules/1.png new file mode 100644 index 000000000..5238bdeab Binary files /dev/null and b/account_payment_approval/static/description/assets/modules/1.png differ diff --git a/account_payment_approval/static/description/assets/modules/2.png b/account_payment_approval/static/description/assets/modules/2.png new file mode 100644 index 000000000..a594b139c Binary files /dev/null and b/account_payment_approval/static/description/assets/modules/2.png differ diff --git a/account_payment_approval/static/description/assets/modules/3.png b/account_payment_approval/static/description/assets/modules/3.png new file mode 100644 index 000000000..f26b6f333 Binary files /dev/null and b/account_payment_approval/static/description/assets/modules/3.png differ diff --git a/account_payment_approval/static/description/assets/modules/4.png b/account_payment_approval/static/description/assets/modules/4.png new file mode 100644 index 000000000..3fae4631e Binary files /dev/null and b/account_payment_approval/static/description/assets/modules/4.png differ diff --git a/account_payment_approval/static/description/assets/modules/5.png b/account_payment_approval/static/description/assets/modules/5.png new file mode 100644 index 000000000..2a5f8e659 Binary files /dev/null and b/account_payment_approval/static/description/assets/modules/5.png differ diff --git a/account_payment_approval/static/description/assets/modules/6.png b/account_payment_approval/static/description/assets/modules/6.png new file mode 100644 index 000000000..8a2871ea0 Binary files /dev/null and b/account_payment_approval/static/description/assets/modules/6.png differ diff --git a/account_payment_approval/static/description/assets/screenshots/1.png b/account_payment_approval/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..c4ac74813 Binary files /dev/null and b/account_payment_approval/static/description/assets/screenshots/1.png differ diff --git a/account_payment_approval/static/description/assets/screenshots/2.png b/account_payment_approval/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..8be5c3de8 Binary files /dev/null and b/account_payment_approval/static/description/assets/screenshots/2.png differ diff --git a/account_payment_approval/static/description/assets/screenshots/3.png b/account_payment_approval/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..5539e733e Binary files /dev/null and b/account_payment_approval/static/description/assets/screenshots/3.png differ diff --git a/account_payment_approval/static/description/assets/screenshots/4.png b/account_payment_approval/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..27534e2c4 Binary files /dev/null and b/account_payment_approval/static/description/assets/screenshots/4.png differ diff --git a/account_payment_approval/static/description/assets/screenshots/5.png b/account_payment_approval/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..978747fe7 Binary files /dev/null and b/account_payment_approval/static/description/assets/screenshots/5.png differ diff --git a/account_payment_approval/static/description/assets/screenshots/hero.gif b/account_payment_approval/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..187a6759d Binary files /dev/null and b/account_payment_approval/static/description/assets/screenshots/hero.gif differ diff --git a/account_payment_approval/static/description/banner.png b/account_payment_approval/static/description/banner.png new file mode 100644 index 000000000..469963f22 Binary files /dev/null and b/account_payment_approval/static/description/banner.png differ diff --git a/account_payment_approval/static/description/icon.png b/account_payment_approval/static/description/icon.png new file mode 100644 index 000000000..db4e29391 Binary files /dev/null and b/account_payment_approval/static/description/icon.png differ diff --git a/account_payment_approval/static/description/index.html b/account_payment_approval/static/description/index.html new file mode 100644 index 000000000..e54b873b6 --- /dev/null +++ b/account_payment_approval/static/description/index.html @@ -0,0 +1,726 @@ + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ Payment Approvals

+

+ Enables to use the approval feature in + customer and vendor payments. +

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Approval stage in payment.Approval feature can + be applied based on the given amount.

+
+
+
+
+
+
+ +
+
+

+ Currency wise amount specification.

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

+ Go to Settings and click on Invoicing + > Payment Approval

+
+
+
+
+
+
+ +
+
+

+ Enable Payment Approval,Fill the + fields.

+
+
+
+
+
+
+ +
+
+

+ Once the user tries to create a payment, + it goes through payment approvals.

+
+
+
+
+
+
+ +
+
+

+ Approver can Approve or Reject request.

+
+
+
+
+
+
+ +
+
+

+ User will be able to filter the payment + records with 'Waiting For Approval', + 'Approved' and 'Rejected'.

+
+
+
+
+
+
+
    +
  • + Approval stage + in payment. + Enable/disable payment approval from the + settings. +
  • +
  • + Approval feature + can be applied based on the given amount. +
  • +
  • + Currency wise + amount specification. +
  • +
  • + Payment + Approvals +
      +
    • This module helps the + accounting department to have a control + over the payments. + It enables payment approval feature in + the + payment transaction. +
    • +
    +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:27th November 2023 +
+

+ Initial Commit for Payment Approvals +

+
+
+
+
+
+
+
+

+ Related Products

+
+
+ +
+
+

+ Our Services

+
+
+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Customization

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Support

+
+
+
+
+
+
+ service-icon +
+
+

Hire + Odoo Developer

+
+
+
+
+ +
+
+ service-icon +
+
+

Odoo + Integration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Migration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Consultancy

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

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 + 99456767686 +
+
+
+
+
+
+
+
+
+ + + + + + diff --git a/account_payment_approval/views/account_payment_views.xml b/account_payment_approval/views/account_payment_views.xml new file mode 100644 index 000000000..125956d27 --- /dev/null +++ b/account_payment_approval/views/account_payment_views.xml @@ -0,0 +1,44 @@ + + + + + account.payment.view.form.inherit.account.payment.approval + account.payment + + + +