diff --git a/double_validation_invoice/README.rst b/double_validation_invoice/README.rst new file mode 100755 index 000000000..6e1a2b687 --- /dev/null +++ b/double_validation_invoice/README.rst @@ -0,0 +1,46 @@ +.. 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 + +Double Validation for Invoice and Bill +====================================== +Invoice and bill need to be approved by Manager and Finance Manager if total amount exceeds a limit'.* + +Installation +============ +- www.odoo.com/documentation/16.0/setup/install.html +- Install our custom addon + +License +------- +GNU AFFERO GENERAL PUBLIC LICENSE v3.0 (AGPL-3) +(http://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developer:(V17) YadhuKrishnan K, 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 https://www.cybrosys.com + +Further information +=================== +HTML Description: ``__ diff --git a/double_validation_invoice/__init__.py b/double_validation_invoice/__init__.py new file mode 100755 index 000000000..6d64202b2 --- /dev/null +++ b/double_validation_invoice/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: YadhuKrishnan k (Contact : odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import models diff --git a/double_validation_invoice/__manifest__.py b/double_validation_invoice/__manifest__.py new file mode 100755 index 000000000..e85aade9a --- /dev/null +++ b/double_validation_invoice/__manifest__.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: YadhuKrishnan k (Contact : odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# +{ + 'name': 'Double Validation of Invoice and Bill', + 'version': '17.0.1.0.0', + 'category': 'Accounting', + 'summary': "Double Validation of Invoice and Bill that exceeds an amount " + "limit", + 'description': "Invoice and bill need to be approved by Manager and Finance" + " Manager if total amount exceeds a limit", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['sale_management', 'purchase' , 'account'], + 'data': [ + 'security/double_validation_invoice_groups.xml', + 'views/account_move_views.xml', + 'views/res_config_settings_views.xml', + ], + 'images': [ + 'static/description/banner.jpg', + ], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/double_validation_invoice/doc/RELEASE_NOTES.md b/double_validation_invoice/doc/RELEASE_NOTES.md new file mode 100755 index 000000000..48a639d5a --- /dev/null +++ b/double_validation_invoice/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 11.09.2024 +#### Version 17.0.1.0.0 +#### ADD +- Initial commit for Double Validation of Invoice and Bill diff --git a/double_validation_invoice/models/__init__.py b/double_validation_invoice/models/__init__.py new file mode 100755 index 000000000..3bcae3056 --- /dev/null +++ b/double_validation_invoice/models/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: YadhuKrishnan k (Contact : odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import account_move +from . import res_config_settings diff --git a/double_validation_invoice/models/account_move.py b/double_validation_invoice/models/account_move.py new file mode 100755 index 000000000..a52229760 --- /dev/null +++ b/double_validation_invoice/models/account_move.py @@ -0,0 +1,63 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: YadhuKrishnan k (Contact : odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import fields, models + + +class AccountMove(models.Model): + """Inherits 'account.move' to add new states""" + _inherit = 'account.move' + + state = fields.Selection(selection_add=[ + ('first_approval', 'First Approval'), + ('second_approval', 'Second Approval'), ('posted',)], + help="First Approval is the state when the invoice required the first " + "approval, Second Approval is the state after confirmation of the " + "First Approval if the amount greater than second amount limit, " + "Posted : invoice is posted after the confirmation of the aprovals", + ondelete={'first_approval': 'cascade', 'second_approval': 'cascade'}) + + def action_post(self): + """Method for validating invoices, checks if total amount is greater + than first validation amount""" + double_valid = self.env['ir.config_parameter'].sudo().get_param( + 'double_validation_invoice.double_validation') + first_valid_amt = self.env['ir.config_parameter'].sudo().get_param( + 'double_validation_invoice.first_valid_limit') + if double_valid and self.state == 'draft' and self.amount_total > float( + first_valid_amt): + self.state = 'first_approval' + else: + return super(AccountMove, self).action_post() + + def action_first_approval(self): + """Method for first validation of invoice""" + second_valid_amount = float( + self.env['ir.config_parameter'].sudo().get_param + ('double_validation_invoice.second_valid_limit')) + if self.amount_total > second_valid_amount: + self.state = 'second_approval' + else: + self.action_post() + + def action_second_approval(self): + """Method for second validation of invoice""" + self.action_post() diff --git a/double_validation_invoice/models/res_config_settings.py b/double_validation_invoice/models/res_config_settings.py new file mode 100755 index 000000000..aef1be10f --- /dev/null +++ b/double_validation_invoice/models/res_config_settings.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: YadhuKrishnan k (Contact : odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import fields, models + + +class ResConfigSettings(models.TransientModel): + """Inherits model 'res.config.settings' to add new fields""" + _inherit = 'res.config.settings' + + double_validation = fields.Boolean(string='Double Validation', + config_parameter='double_validation_invoice.' + 'double_validation', + help='Enable or disable double ' + 'validation for invoices. If ' + 'enabled, invoices will go through' + ' two validation stages.') + first_valid_limit = fields.Integer(string='First Validation Limit', + config_parameter='double_validation_invoice.' + 'first_valid_limit', + help='The monetary limit for the first' + ' validation stage. Invoices with ' + 'amounts up to this limit will ' + 'require the first validation.') + second_valid_limit = fields.Integer(string='Second Validation Limit', + config_parameter='double_validation_invoice.' + 'second_valid_limit', + help='The monetary limit for the ' + 'second validation stage.Invoices' + ' with amounts above the first ' + 'validation limit and up to this ' + 'limit will require the second ' + 'validation.') diff --git a/double_validation_invoice/security/double_validation_invoice_groups.xml b/double_validation_invoice/security/double_validation_invoice_groups.xml new file mode 100755 index 000000000..98b273f28 --- /dev/null +++ b/double_validation_invoice/security/double_validation_invoice_groups.xml @@ -0,0 +1,21 @@ + + + + Double Validation Invoice + User access levels for Double Validation + of Invoice and Bill + + 10 + + + Manager + + + + Finance Manager + + + + diff --git a/double_validation_invoice/static/description/assets/icons/capture (1).png b/double_validation_invoice/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/double_validation_invoice/static/description/assets/icons/capture (1).png differ diff --git a/double_validation_invoice/static/description/assets/icons/check.png b/double_validation_invoice/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/double_validation_invoice/static/description/assets/icons/check.png differ diff --git a/double_validation_invoice/static/description/assets/icons/chevron.png b/double_validation_invoice/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/double_validation_invoice/static/description/assets/icons/chevron.png differ diff --git a/double_validation_invoice/static/description/assets/icons/cogs.png b/double_validation_invoice/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/double_validation_invoice/static/description/assets/icons/cogs.png differ diff --git a/double_validation_invoice/static/description/assets/icons/consultation.png b/double_validation_invoice/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/double_validation_invoice/static/description/assets/icons/consultation.png differ diff --git a/double_validation_invoice/static/description/assets/icons/ecom-black.png b/double_validation_invoice/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/double_validation_invoice/static/description/assets/icons/ecom-black.png differ diff --git a/double_validation_invoice/static/description/assets/icons/education-black.png b/double_validation_invoice/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/double_validation_invoice/static/description/assets/icons/education-black.png differ diff --git a/double_validation_invoice/static/description/assets/icons/hotel-black.png b/double_validation_invoice/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/double_validation_invoice/static/description/assets/icons/hotel-black.png differ diff --git a/double_validation_invoice/static/description/assets/icons/img.png b/double_validation_invoice/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/double_validation_invoice/static/description/assets/icons/img.png differ diff --git a/double_validation_invoice/static/description/assets/icons/license.png b/double_validation_invoice/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/double_validation_invoice/static/description/assets/icons/license.png differ diff --git a/double_validation_invoice/static/description/assets/icons/lifebuoy.png b/double_validation_invoice/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/double_validation_invoice/static/description/assets/icons/lifebuoy.png differ diff --git a/double_validation_invoice/static/description/assets/icons/manufacturing-black.png b/double_validation_invoice/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/double_validation_invoice/static/description/assets/icons/manufacturing-black.png differ diff --git a/double_validation_invoice/static/description/assets/icons/photo-capture.png b/double_validation_invoice/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/double_validation_invoice/static/description/assets/icons/photo-capture.png differ diff --git a/double_validation_invoice/static/description/assets/icons/pos-black.png b/double_validation_invoice/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/double_validation_invoice/static/description/assets/icons/pos-black.png differ diff --git a/double_validation_invoice/static/description/assets/icons/puzzle.png b/double_validation_invoice/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/double_validation_invoice/static/description/assets/icons/puzzle.png differ diff --git a/double_validation_invoice/static/description/assets/icons/restaurant-black.png b/double_validation_invoice/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/double_validation_invoice/static/description/assets/icons/restaurant-black.png differ diff --git a/double_validation_invoice/static/description/assets/icons/service-black.png b/double_validation_invoice/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/double_validation_invoice/static/description/assets/icons/service-black.png differ diff --git a/double_validation_invoice/static/description/assets/icons/trading-black.png b/double_validation_invoice/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/double_validation_invoice/static/description/assets/icons/trading-black.png differ diff --git a/double_validation_invoice/static/description/assets/icons/training.png b/double_validation_invoice/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/double_validation_invoice/static/description/assets/icons/training.png differ diff --git a/double_validation_invoice/static/description/assets/icons/update.png b/double_validation_invoice/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/double_validation_invoice/static/description/assets/icons/update.png differ diff --git a/double_validation_invoice/static/description/assets/icons/user.png b/double_validation_invoice/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/double_validation_invoice/static/description/assets/icons/user.png differ diff --git a/double_validation_invoice/static/description/assets/icons/wrench.png b/double_validation_invoice/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/double_validation_invoice/static/description/assets/icons/wrench.png differ diff --git a/double_validation_invoice/static/description/assets/misc/Cybrosys R.png b/double_validation_invoice/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/double_validation_invoice/static/description/assets/misc/Cybrosys R.png differ diff --git a/double_validation_invoice/static/description/assets/misc/email.svg b/double_validation_invoice/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/double_validation_invoice/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/double_validation_invoice/static/description/assets/misc/phone.svg b/double_validation_invoice/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/double_validation_invoice/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/double_validation_invoice/static/description/assets/misc/star (1) 2.svg b/double_validation_invoice/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/double_validation_invoice/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/double_validation_invoice/static/description/assets/misc/support (1) 1.svg b/double_validation_invoice/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/double_validation_invoice/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/double_validation_invoice/static/description/assets/misc/support-email.svg b/double_validation_invoice/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/double_validation_invoice/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/double_validation_invoice/static/description/assets/misc/tick-mark.svg b/double_validation_invoice/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/double_validation_invoice/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/double_validation_invoice/static/description/assets/misc/whatsapp 1.svg b/double_validation_invoice/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/double_validation_invoice/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/double_validation_invoice/static/description/assets/misc/whatsapp.svg b/double_validation_invoice/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/double_validation_invoice/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/double_validation_invoice/static/description/assets/modules/1.jpg b/double_validation_invoice/static/description/assets/modules/1.jpg new file mode 100644 index 000000000..08bbafeb6 Binary files /dev/null and b/double_validation_invoice/static/description/assets/modules/1.jpg differ diff --git a/double_validation_invoice/static/description/assets/modules/2.png b/double_validation_invoice/static/description/assets/modules/2.png new file mode 100644 index 000000000..66730082c Binary files /dev/null and b/double_validation_invoice/static/description/assets/modules/2.png differ diff --git a/double_validation_invoice/static/description/assets/modules/3.jpg b/double_validation_invoice/static/description/assets/modules/3.jpg new file mode 100644 index 000000000..3d171226b Binary files /dev/null and b/double_validation_invoice/static/description/assets/modules/3.jpg differ diff --git a/double_validation_invoice/static/description/assets/modules/4.jpg b/double_validation_invoice/static/description/assets/modules/4.jpg new file mode 100644 index 000000000..1f3f2e27f Binary files /dev/null and b/double_validation_invoice/static/description/assets/modules/4.jpg differ diff --git a/double_validation_invoice/static/description/assets/modules/5.jpg b/double_validation_invoice/static/description/assets/modules/5.jpg new file mode 100644 index 000000000..0db717519 Binary files /dev/null and b/double_validation_invoice/static/description/assets/modules/5.jpg differ diff --git a/double_validation_invoice/static/description/assets/modules/6.jpg b/double_validation_invoice/static/description/assets/modules/6.jpg new file mode 100644 index 000000000..cd62a577c Binary files /dev/null and b/double_validation_invoice/static/description/assets/modules/6.jpg differ diff --git a/double_validation_invoice/static/description/assets/screenshots/hero.gif b/double_validation_invoice/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..40028cc0c Binary files /dev/null and b/double_validation_invoice/static/description/assets/screenshots/hero.gif differ diff --git a/double_validation_invoice/static/description/assets/screenshots/s1.png b/double_validation_invoice/static/description/assets/screenshots/s1.png new file mode 100644 index 000000000..1cc5a5aac Binary files /dev/null and b/double_validation_invoice/static/description/assets/screenshots/s1.png differ diff --git a/double_validation_invoice/static/description/assets/screenshots/s2.png b/double_validation_invoice/static/description/assets/screenshots/s2.png new file mode 100644 index 000000000..f21868378 Binary files /dev/null and b/double_validation_invoice/static/description/assets/screenshots/s2.png differ diff --git a/double_validation_invoice/static/description/assets/screenshots/s3.png b/double_validation_invoice/static/description/assets/screenshots/s3.png new file mode 100644 index 000000000..6fda61f53 Binary files /dev/null and b/double_validation_invoice/static/description/assets/screenshots/s3.png differ diff --git a/double_validation_invoice/static/description/assets/screenshots/s4.png b/double_validation_invoice/static/description/assets/screenshots/s4.png new file mode 100644 index 000000000..361694376 Binary files /dev/null and b/double_validation_invoice/static/description/assets/screenshots/s4.png differ diff --git a/double_validation_invoice/static/description/assets/screenshots/s5.png b/double_validation_invoice/static/description/assets/screenshots/s5.png new file mode 100644 index 000000000..bb084fc11 Binary files /dev/null and b/double_validation_invoice/static/description/assets/screenshots/s5.png differ diff --git a/double_validation_invoice/static/description/assets/screenshots/s6.png b/double_validation_invoice/static/description/assets/screenshots/s6.png new file mode 100644 index 000000000..a67577736 Binary files /dev/null and b/double_validation_invoice/static/description/assets/screenshots/s6.png differ diff --git a/double_validation_invoice/static/description/banner.jpg b/double_validation_invoice/static/description/banner.jpg new file mode 100644 index 000000000..a6f4cd29c Binary files /dev/null and b/double_validation_invoice/static/description/banner.jpg differ diff --git a/double_validation_invoice/static/description/icon.png b/double_validation_invoice/static/description/icon.png new file mode 100644 index 000000000..974286775 Binary files /dev/null and b/double_validation_invoice/static/description/icon.png differ diff --git a/double_validation_invoice/static/description/index.html b/double_validation_invoice/static/description/index.html new file mode 100644 index 000000000..92f6b429a --- /dev/null +++ b/double_validation_invoice/static/description/index.html @@ -0,0 +1,699 @@ + + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ Double Validation of Invoice and Bills

+

+ A Module for Double Validation of Invoice and Bills

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Two level approval for invoice.

+
+
+
+
+
+
+ +
+
+

Available in Odoo 17.0 Enterprise and Community.

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

+ 'Double Validation' Option in Configuration Settings.

+

Go to Invoicing > Configuration settings > Enable 'Double Validation' and set 'First Validation Limit' and 'Second Validation Limit'.

+
+
+ +
+
+
+
+
+
+

Access Rights for Double Validation

+

Set access rights for double validation. Manager have the right to approve invoice that exceeded first validation limit. Finance Manager have the right to approve invoice that exceeded second validation limit. Finance Manager have the access rights that Manager has.

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

Create Invoice

+

Create an invoice and confirm it. +

+
+
+ +
+
+
+
+
+
+

If total amount exceeds first validation limit, invoice will be moved to 'First Approval' state which need to be approved by 'Manager'. +

+
+
+ +
+
+
+
+
+
+

If total amount exceeds second validation limit, invoice will be moved to 'Second Approval' state which need to be approved by 'Finance Manager' +

+
+
+ +
+
+
+
+
+
+

After approval of Finance Manager, invoice will be moved to 'Posted' stage. +

+
+
+ +
+
+
+
+
+
+
    +
  • + Available in Odoo 16.0 Enterprise and Community. +
  • +
  • + Two level approval for invoice. +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:20 Jun 2024 +
+

+ Initial Commit for Double Validation of Invoice and Bills

+
+
+
+
+
+
+
+

+ 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/double_validation_invoice/views/account_move_views.xml b/double_validation_invoice/views/account_move_views.xml new file mode 100755 index 000000000..521f9b9e2 --- /dev/null +++ b/double_validation_invoice/views/account_move_views.xml @@ -0,0 +1,22 @@ + + + + + account.move.view.form.inherit.double.validation.invoice + + account.move + + +