diff --git a/odoo_bulk_order_manager/README.rst b/odoo_bulk_order_manager/README.rst new file mode 100644 index 000000000..a560b7528 --- /dev/null +++ b/odoo_bulk_order_manager/README.rst @@ -0,0 +1,44 @@ +.. 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 + +Sales & Purchase Bulk Order Manager +=================================== +This module helps to confirm multiple sale orders and purchase orders at a time from the list view itself. + +Configuration +============= +* No additional configuration needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +======= +Affero General Public License v3.0 (AGPL v3) +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +Developer : (V16) Arjun S, Contact:odoo@cybrosys.com + +Contacts +________ +* Mail Contact : odoo@cybrosys.com +* Website : http://www.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/odoo_bulk_order_manager/__init__.py b/odoo_bulk_order_manager/__init__.py new file mode 100644 index 000000000..8cedfe95b --- /dev/null +++ b/odoo_bulk_order_manager/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Arjun S(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 +from . import wizards diff --git a/odoo_bulk_order_manager/__manifest__.py b/odoo_bulk_order_manager/__manifest__.py new file mode 100644 index 000000000..9f55aea29 --- /dev/null +++ b/odoo_bulk_order_manager/__manifest__.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Arjun S(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': 'Sales & Purchase Bulk Order Manager', + 'version': '16.0.1.0.0', + 'category': 'Sales, Purchases', + 'summary': 'Confirm multiple sale orders and purchase orders at a time', + 'description': """ With this module user can confirm multiple sale orders + and purchase orders which are coming under the state Quotation and RFQ.""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'http://www.cybrosys.com', + 'depends': [ + 'sale_management', 'purchase' + ], + 'data': [ + 'security/ir.model.access.csv', + 'data/ir_actions_server_data.xml', + 'wizards/mass_order_confirmation_views.xml', + ], + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'application': False, + 'auto-install': False, +} diff --git a/odoo_bulk_order_manager/data/ir_actions_server_data.xml b/odoo_bulk_order_manager/data/ir_actions_server_data.xml new file mode 100644 index 000000000..0a1f2d087 --- /dev/null +++ b/odoo_bulk_order_manager/data/ir_actions_server_data.xml @@ -0,0 +1,21 @@ + + + + + + Confirm Sale Orders + + + code + action=records.action_confirm_sale_orders() + + + + Confirm Purchase Orders + + + code + action=records.action_confirm_purchase_orders() + + + diff --git a/odoo_bulk_order_manager/doc/RELEASE_NOTES.md b/odoo_bulk_order_manager/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..5d6c45e8c --- /dev/null +++ b/odoo_bulk_order_manager/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 05.03.2024 +#### Version 16.0.1.0.0 +#### ADD + +- Initial Commit for Sales & Purchase Bulk Order Manager diff --git a/odoo_bulk_order_manager/models/__init__.py b/odoo_bulk_order_manager/models/__init__.py new file mode 100644 index 000000000..7172be998 --- /dev/null +++ b/odoo_bulk_order_manager/models/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Arjun S(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 purchase_order +from . import sale_order diff --git a/odoo_bulk_order_manager/models/purchase_order.py b/odoo_bulk_order_manager/models/purchase_order.py new file mode 100644 index 000000000..ce9bd6aa5 --- /dev/null +++ b/odoo_bulk_order_manager/models/purchase_order.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Arjun S(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 models, _ +from odoo.exceptions import ValidationError + + +class PurchaseOrder(models.Model): + """ + Inherits the model Purchase Order and extends to add the extra + functionalities for the working of the app. + """ + _inherit = 'purchase.order' + + def action_confirm_purchase_orders(self): + """ + Method action_confirm_purchase_orders to confirm the purchase orders in + the RFQ state from list view itself. + """ + if all(item in ("draft", "sent") for item in self.mapped('state')): + return { + 'name': 'Confirm Purchase Orders', + 'type': 'ir.actions.act_window', + 'view_mode': 'form', + 'res_model': 'mass.order.confirmation', + 'target': 'new', + 'context': { + 'default_purchase_order_ids': self.mapped('id'), + 'default_is_purchase_order': True + } + } + raise ValidationError(_( + "Every Purchase Order needs to be in RFQ State or RFQ Sent State")) diff --git a/odoo_bulk_order_manager/models/sale_order.py b/odoo_bulk_order_manager/models/sale_order.py new file mode 100644 index 000000000..b892f98f1 --- /dev/null +++ b/odoo_bulk_order_manager/models/sale_order.py @@ -0,0 +1,52 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Arjun S(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 models, _ +from odoo.exceptions import ValidationError + + +class SaleOrder(models.Model): + """ + Inherits the model Sale Order to extend and add extra functionalities to the + model. + """ + _inherit = 'sale.order' + + def action_confirm_sale_orders(self): + """ + Method action_confirm_sale_orders to confirm the sale orders in the + Quotation state from list view itself. + """ + if all(item in ("draft", "sent") for item in self.mapped('state')): + return { + 'name': 'Confirm Sale Orders', + 'type': 'ir.actions.act_window', + 'view_mode': 'form', + 'res_model': 'mass.order.confirmation', + 'target': 'new', + 'context': { + 'default_sale_order_ids': self.mapped('id'), + 'default_is_sale_order': True + } + } + raise ValidationError( + _("Every Sale Order needs to be in Quotation State or " + "Quotation Sent State")) diff --git a/odoo_bulk_order_manager/security/ir.model.access.csv b/odoo_bulk_order_manager/security/ir.model.access.csv new file mode 100644 index 000000000..afdaf6824 --- /dev/null +++ b/odoo_bulk_order_manager/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_mass_order_confirmation_user,access.mass.order.confirmation.user,model_mass_order_confirmation,base.group_user,1,1,1,1 diff --git a/odoo_bulk_order_manager/static/description/assets/icons/check.png b/odoo_bulk_order_manager/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/icons/check.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/icons/chevron.png b/odoo_bulk_order_manager/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/icons/chevron.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/icons/cogs.png b/odoo_bulk_order_manager/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/icons/cogs.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/icons/consultation.png b/odoo_bulk_order_manager/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/icons/consultation.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/icons/ecom-black.png b/odoo_bulk_order_manager/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/icons/ecom-black.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/icons/education-black.png b/odoo_bulk_order_manager/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/icons/education-black.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/icons/hotel-black.png b/odoo_bulk_order_manager/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/icons/hotel-black.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/icons/license.png b/odoo_bulk_order_manager/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/icons/license.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/icons/lifebuoy.png b/odoo_bulk_order_manager/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/icons/lifebuoy.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/icons/manufacturing-black.png b/odoo_bulk_order_manager/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/icons/manufacturing-black.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/icons/pos-black.png b/odoo_bulk_order_manager/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/icons/pos-black.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/icons/puzzle.png b/odoo_bulk_order_manager/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/icons/puzzle.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/icons/restaurant-black.png b/odoo_bulk_order_manager/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/icons/restaurant-black.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/icons/service-black.png b/odoo_bulk_order_manager/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/icons/service-black.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/icons/trading-black.png b/odoo_bulk_order_manager/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/icons/trading-black.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/icons/training.png b/odoo_bulk_order_manager/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/icons/training.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/icons/update.png b/odoo_bulk_order_manager/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/icons/update.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/icons/user.png b/odoo_bulk_order_manager/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/icons/user.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/icons/wrench.png b/odoo_bulk_order_manager/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/icons/wrench.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/misc/categories.png b/odoo_bulk_order_manager/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/misc/categories.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/misc/check-box.png b/odoo_bulk_order_manager/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/misc/check-box.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/misc/compass.png b/odoo_bulk_order_manager/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/misc/compass.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/misc/corporate.png b/odoo_bulk_order_manager/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/misc/corporate.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/misc/customer-support.png b/odoo_bulk_order_manager/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/misc/customer-support.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/misc/cybrosys-logo.png b/odoo_bulk_order_manager/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/misc/cybrosys-logo.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/misc/features.png b/odoo_bulk_order_manager/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/misc/features.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/misc/logo.png b/odoo_bulk_order_manager/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/misc/logo.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/misc/pictures.png b/odoo_bulk_order_manager/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/misc/pictures.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/misc/pie-chart.png b/odoo_bulk_order_manager/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/misc/pie-chart.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/misc/right-arrow.png b/odoo_bulk_order_manager/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/misc/right-arrow.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/misc/star.png b/odoo_bulk_order_manager/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/misc/star.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/misc/support.png b/odoo_bulk_order_manager/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/misc/support.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/misc/whatsapp.png b/odoo_bulk_order_manager/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/misc/whatsapp.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/modules/1.png b/odoo_bulk_order_manager/static/description/assets/modules/1.png new file mode 100755 index 000000000..19de058d1 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/modules/1.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/modules/2.png b/odoo_bulk_order_manager/static/description/assets/modules/2.png new file mode 100644 index 000000000..4f9e87f6e Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/modules/2.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/modules/3.jpg b/odoo_bulk_order_manager/static/description/assets/modules/3.jpg new file mode 100644 index 000000000..b64e82a7a Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/modules/3.jpg differ diff --git a/odoo_bulk_order_manager/static/description/assets/modules/4.png b/odoo_bulk_order_manager/static/description/assets/modules/4.png new file mode 100644 index 000000000..3add135c3 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/modules/4.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/modules/5.png b/odoo_bulk_order_manager/static/description/assets/modules/5.png new file mode 100644 index 000000000..25ed3e0b6 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/modules/5.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/modules/6.png b/odoo_bulk_order_manager/static/description/assets/modules/6.png new file mode 100644 index 000000000..8658f1826 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/modules/6.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/screenshots/1.png b/odoo_bulk_order_manager/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..c287ff8a1 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/screenshots/1.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/screenshots/10.png b/odoo_bulk_order_manager/static/description/assets/screenshots/10.png new file mode 100644 index 000000000..f79efad54 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/screenshots/10.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/screenshots/2.png b/odoo_bulk_order_manager/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..c788ff5b6 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/screenshots/2.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/screenshots/3.png b/odoo_bulk_order_manager/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..c8abcc75c Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/screenshots/3.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/screenshots/4.png b/odoo_bulk_order_manager/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..fb10fd45f Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/screenshots/4.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/screenshots/5.png b/odoo_bulk_order_manager/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..15adfce50 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/screenshots/5.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/screenshots/6.png b/odoo_bulk_order_manager/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..5513e65af Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/screenshots/6.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/screenshots/7.png b/odoo_bulk_order_manager/static/description/assets/screenshots/7.png new file mode 100644 index 000000000..8275f9f57 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/screenshots/7.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/screenshots/8.png b/odoo_bulk_order_manager/static/description/assets/screenshots/8.png new file mode 100644 index 000000000..093be8798 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/screenshots/8.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/screenshots/9.png b/odoo_bulk_order_manager/static/description/assets/screenshots/9.png new file mode 100644 index 000000000..880dce750 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/screenshots/9.png differ diff --git a/odoo_bulk_order_manager/static/description/assets/screenshots/hero.gif b/odoo_bulk_order_manager/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..faf7c468c Binary files /dev/null and b/odoo_bulk_order_manager/static/description/assets/screenshots/hero.gif differ diff --git a/odoo_bulk_order_manager/static/description/banner.png b/odoo_bulk_order_manager/static/description/banner.png new file mode 100644 index 000000000..0238a2e63 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/banner.png differ diff --git a/odoo_bulk_order_manager/static/description/icon.png b/odoo_bulk_order_manager/static/description/icon.png new file mode 100644 index 000000000..24ee94125 Binary files /dev/null and b/odoo_bulk_order_manager/static/description/icon.png differ diff --git a/odoo_bulk_order_manager/static/description/index.html b/odoo_bulk_order_manager/static/description/index.html new file mode 100644 index 000000000..22f4b7026 --- /dev/null +++ b/odoo_bulk_order_manager/static/description/index.html @@ -0,0 +1,611 @@ +
+ +
+ +
+
+ Odoo.sh +
+
+ Community +
+
+ Enterprise +
+
+
+ +
+
+
+ +

+ Sales & Purchase Bulk Order Manager

+

+ Can Confirm Multiple Sale Orders and Purchase Orders

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

+ Explore This Module

+
+ + + + + +
+
+ +
+

+ Overview

+
+ +
+
This module helps to confirm the multiple Sale + Orders which are coming under the Quotation State and multiple Purchase + Orders coming under the RFQ State. +
+
+ + + +
+
+ +
+

+ Features

+
+ +
+
+
+ + Can confirm multiple number of Sale Orders +
+
+ + Can confirm multiple number of Purchase Orders +
+
+ + Available in Odoo Community +
+
+ + Available in Odoo Enterprise +
+
+ + Available in Odoo Community +
+
+
+ + + +
+
+ +
+

+ Screenshots

+
+ +
+
+
+

+ Select the Sale Orders in the 'Quotation' state. Upon clicking the action button, you will find an option labeled 'Confirm Sale Orders'; click on it. +

+ +
+
+

+ A wizard will appear, showing the Purchase Orders that need confirmation. Click on the 'CONFIRM ORDERS' button to confirm the sale orders. +

+ +
+
+

+ As you can see, the selected Sale Orders have been confirmed. +

+ +
+
+

+ Select the Purchase Orders in the 'RFQ' state. Upon clicking the action button, you will find an option labeled 'Confirm Purchase Orders'; click on it. +

+ +
+
+

+ A wizard will appear, showing the Purchase Orders that need confirmation. Click on the 'CONFIRM ORDERS' button to confirm the Purchase Orders. +

+ +
+
+

+ As you can see, the selected Purchase Orders have been confirmed. +

+ +
+
+

+ When you select Purchase Orders in a state other than 'RFQ' and click on the 'Confirm Purchase Orders' button. +

+ +
+
+

+ As you can see, a ValidationError will pop up. +

+ +
+
+

+ When you select Sale Orders in a state other than 'Quotation' and click on the 'Confirm Sale Orders' button. +

+ +
+
+

+ As you can see, a ValidationError will pop up. +

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

+ Related Products

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

+ Our Services

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

+ Our Industries

+
+ +
+
+
+
+ +
+ Trading
+

+ Easily Procure And Sell Your Products

+
+
+
+
+ +
+ POS
+

+ Easy Configuration and Convivial Experience

+
+
+
+
+ +
+ Education
+

+ A Platform for Educational Management

+
+
+
+
+ +
+ Manufacturing
+

+ Plan, Track and Schedule Your Operations

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

+ Mobile friendly, awe-inspiring product pages

+
+
+
+
+ +
+ Service Management
+

+ Keep track of services and invoice

+
+
+
+
+ +
+ Restaurant
+

+ Run your bar or restaurant methodically

+
+
+
+
+ +
+ Hotel Management
+

+ An all-inclusive hotel management application

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

+ Support

+
+ +
+
+
+
+
+ +
+
+

Need Help?

+

Got questions or need help? + Get in touch.

+ +

+ odoo@cybrosys.com

+
+
+
+
+
+
+
+ +
+
+

WhatsApp

+

Say hi to us on WhatsApp!

+ +

+ +91 86068 27707

+
+
+
+
+
+
+
+ +
+
+
+ diff --git a/odoo_bulk_order_manager/wizards/__init__.py b/odoo_bulk_order_manager/wizards/__init__.py new file mode 100644 index 000000000..83b2918b8 --- /dev/null +++ b/odoo_bulk_order_manager/wizards/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Arjun S(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 mass_order_confirmation diff --git a/odoo_bulk_order_manager/wizards/mass_order_confirmation.py b/odoo_bulk_order_manager/wizards/mass_order_confirmation.py new file mode 100644 index 000000000..74e17d265 --- /dev/null +++ b/odoo_bulk_order_manager/wizards/mass_order_confirmation.py @@ -0,0 +1,58 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Arjun S(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 MassOrderConfirmation(models.TransientModel): + """ + Creates the model mass.order.confirmation for the wizard to confirm the + sale order and the purchase order + """ + _name = 'mass.order.confirmation' + _description = 'Mass Order Confirmation' + + is_sale_order = fields.Boolean(string="Is Sale Order", + help="True if confirming is sale order") + is_purchase_order = fields.Boolean(string="Is Purchase Order", + help="True if confirming the purchase " + "order") + sale_order_ids = fields.Many2many('sale.order', string="Sale Orders", + help="Sale Orders to confirm", domain=[ + ('state', 'in', ('draft', 'sent'))]) + purchase_order_ids = fields.Many2many('purchase.order', + string="Purchase Orders", + help="Purchase Orders to confirm", + domain=[ + ('state', 'in', + ('draft', 'sent'))]) + + def action_confirm_orders(self): + """ + Method action_confirm_orders to confirm multiple Sale Orders or Purchase + Orders from the list view itself. + """ + if self.is_sale_order: + for order in self.sale_order_ids: + order.action_confirm() + else: + for order in self.purchase_order_ids: + order.button_confirm() diff --git a/odoo_bulk_order_manager/wizards/mass_order_confirmation_views.xml b/odoo_bulk_order_manager/wizards/mass_order_confirmation_views.xml new file mode 100644 index 000000000..868ac4972 --- /dev/null +++ b/odoo_bulk_order_manager/wizards/mass_order_confirmation_views.xml @@ -0,0 +1,35 @@ + + + + + mass.order.confirmation.view.form + mass.order.confirmation + +
+ + + + + + + + + + +
+
+
+
+
+ + + Mass Order Confirmation + mass.order.confirmation + form + new + +