diff --git a/merge_picking_orders/README.rst b/merge_picking_orders/README.rst new file mode 100644 index 000000000..72ccb49f6 --- /dev/null +++ b/merge_picking_orders/README.rst @@ -0,0 +1,47 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Merge Picking Orders +==================== +This module will help you to merge similar picking orders. + +Configuration +============= +* No additional configuration needed. + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +Affero General Public License v3.0 (AGPL v3) +(http://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +Developers : (V14) Sreerag PM, (V15) Vishnuraj P + 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/merge_picking_orders/__init__.py b/merge_picking_orders/__init__.py new file mode 100644 index 000000000..56ccd53b1 --- /dev/null +++ b/merge_picking_orders/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Sreerag PM (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 wizard diff --git a/merge_picking_orders/__manifest__.py b/merge_picking_orders/__manifest__.py new file mode 100644 index 000000000..b3d02379c --- /dev/null +++ b/merge_picking_orders/__manifest__.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Sreerag PM (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': 'Merge Picking Orders', + 'version': '14.0.1.0.0', + 'category': 'Warehouse', + 'summary': 'This module will helps to merge different types of pickings', + 'description': """This module helps to manage delivery orders and incoming + shipments by merge pickings""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['base', 'stock'], + 'data': [ + 'security/ir.model.access.csv', + 'data/merge_picking_action_data.xml', + 'wizard/merge_picking_views.xml', + ], + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False +} diff --git a/merge_picking_orders/data/merge_picking_action_data.xml b/merge_picking_orders/data/merge_picking_action_data.xml new file mode 100644 index 000000000..8e00a681b --- /dev/null +++ b/merge_picking_orders/data/merge_picking_action_data.xml @@ -0,0 +1,14 @@ + + + + + Merge Records + + + list + code + + action = records.action_merge_picking() + + + diff --git a/merge_picking_orders/doc/RELEASE_NOTES.md b/merge_picking_orders/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..f75bba54a --- /dev/null +++ b/merge_picking_orders/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 08.01.2024 +#### Version 14.0.1.0.0 +##### ADD + +- Initial Commit for Merge Picking Orders diff --git a/merge_picking_orders/models/__init__.py b/merge_picking_orders/models/__init__.py new file mode 100644 index 000000000..f09647d7a --- /dev/null +++ b/merge_picking_orders/models/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Sreerag PM (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 stock_picking diff --git a/merge_picking_orders/models/stock_picking.py b/merge_picking_orders/models/stock_picking.py new file mode 100644 index 000000000..0bc508348 --- /dev/null +++ b/merge_picking_orders/models/stock_picking.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Sreerag PM (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, _ + + +class StockPicking(models.Model): + """ + Inherit Pickings class for add merge orders action function, + Method: + action_merge_picking(self): + Create new wizard with selected records + """ + _inherit = 'stock.picking' + + def action_merge_picking(self): + """ Method create wizard for select pickings """ + merge_picking = self.env['merge.picking'].create({ + 'merge_picking_ids': [(6, 0, self.ids)], + }) + return { + 'name': _('Merge Picking Orders'), + 'type': 'ir.actions.act_window', + 'res_model': 'merge.picking', + 'view_mode': 'form', + 'res_id': merge_picking.id, + 'target': 'new' + } diff --git a/merge_picking_orders/security/ir.model.access.csv b/merge_picking_orders/security/ir.model.access.csv new file mode 100644 index 000000000..2c76cf630 --- /dev/null +++ b/merge_picking_orders/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_merge_picking_user,access.merge.picking.user,model_merge_picking,base.group_user,1,1,1,1 diff --git a/merge_picking_orders/static/description/assets/icons/check.png b/merge_picking_orders/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/merge_picking_orders/static/description/assets/icons/check.png differ diff --git a/merge_picking_orders/static/description/assets/icons/chevron.png b/merge_picking_orders/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/merge_picking_orders/static/description/assets/icons/chevron.png differ diff --git a/merge_picking_orders/static/description/assets/icons/cogs.png b/merge_picking_orders/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/merge_picking_orders/static/description/assets/icons/cogs.png differ diff --git a/merge_picking_orders/static/description/assets/icons/consultation.png b/merge_picking_orders/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/merge_picking_orders/static/description/assets/icons/consultation.png differ diff --git a/merge_picking_orders/static/description/assets/icons/ecom-black.png b/merge_picking_orders/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/merge_picking_orders/static/description/assets/icons/ecom-black.png differ diff --git a/merge_picking_orders/static/description/assets/icons/education-black.png b/merge_picking_orders/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/merge_picking_orders/static/description/assets/icons/education-black.png differ diff --git a/merge_picking_orders/static/description/assets/icons/hotel-black.png b/merge_picking_orders/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/merge_picking_orders/static/description/assets/icons/hotel-black.png differ diff --git a/merge_picking_orders/static/description/assets/icons/license.png b/merge_picking_orders/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/merge_picking_orders/static/description/assets/icons/license.png differ diff --git a/merge_picking_orders/static/description/assets/icons/lifebuoy.png b/merge_picking_orders/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/merge_picking_orders/static/description/assets/icons/lifebuoy.png differ diff --git a/merge_picking_orders/static/description/assets/icons/manufacturing-black.png b/merge_picking_orders/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/merge_picking_orders/static/description/assets/icons/manufacturing-black.png differ diff --git a/merge_picking_orders/static/description/assets/icons/pos-black.png b/merge_picking_orders/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/merge_picking_orders/static/description/assets/icons/pos-black.png differ diff --git a/merge_picking_orders/static/description/assets/icons/puzzle.png b/merge_picking_orders/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/merge_picking_orders/static/description/assets/icons/puzzle.png differ diff --git a/merge_picking_orders/static/description/assets/icons/restaurant-black.png b/merge_picking_orders/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/merge_picking_orders/static/description/assets/icons/restaurant-black.png differ diff --git a/merge_picking_orders/static/description/assets/icons/service-black.png b/merge_picking_orders/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/merge_picking_orders/static/description/assets/icons/service-black.png differ diff --git a/merge_picking_orders/static/description/assets/icons/trading-black.png b/merge_picking_orders/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/merge_picking_orders/static/description/assets/icons/trading-black.png differ diff --git a/merge_picking_orders/static/description/assets/icons/training.png b/merge_picking_orders/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/merge_picking_orders/static/description/assets/icons/training.png differ diff --git a/merge_picking_orders/static/description/assets/icons/update.png b/merge_picking_orders/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/merge_picking_orders/static/description/assets/icons/update.png differ diff --git a/merge_picking_orders/static/description/assets/icons/user.png b/merge_picking_orders/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/merge_picking_orders/static/description/assets/icons/user.png differ diff --git a/merge_picking_orders/static/description/assets/icons/wrench.png b/merge_picking_orders/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/merge_picking_orders/static/description/assets/icons/wrench.png differ diff --git a/merge_picking_orders/static/description/assets/misc/categories.png b/merge_picking_orders/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/merge_picking_orders/static/description/assets/misc/categories.png differ diff --git a/merge_picking_orders/static/description/assets/misc/check-box.png b/merge_picking_orders/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/merge_picking_orders/static/description/assets/misc/check-box.png differ diff --git a/merge_picking_orders/static/description/assets/misc/compass.png b/merge_picking_orders/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/merge_picking_orders/static/description/assets/misc/compass.png differ diff --git a/merge_picking_orders/static/description/assets/misc/corporate.png b/merge_picking_orders/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/merge_picking_orders/static/description/assets/misc/corporate.png differ diff --git a/merge_picking_orders/static/description/assets/misc/customer-support.png b/merge_picking_orders/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/merge_picking_orders/static/description/assets/misc/customer-support.png differ diff --git a/merge_picking_orders/static/description/assets/misc/cybrosys-logo.png b/merge_picking_orders/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/merge_picking_orders/static/description/assets/misc/cybrosys-logo.png differ diff --git a/merge_picking_orders/static/description/assets/misc/features.png b/merge_picking_orders/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/merge_picking_orders/static/description/assets/misc/features.png differ diff --git a/merge_picking_orders/static/description/assets/misc/logo.png b/merge_picking_orders/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/merge_picking_orders/static/description/assets/misc/logo.png differ diff --git a/merge_picking_orders/static/description/assets/misc/pictures.png b/merge_picking_orders/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/merge_picking_orders/static/description/assets/misc/pictures.png differ diff --git a/merge_picking_orders/static/description/assets/misc/pie-chart.png b/merge_picking_orders/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/merge_picking_orders/static/description/assets/misc/pie-chart.png differ diff --git a/merge_picking_orders/static/description/assets/misc/right-arrow.png b/merge_picking_orders/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/merge_picking_orders/static/description/assets/misc/right-arrow.png differ diff --git a/merge_picking_orders/static/description/assets/misc/star.png b/merge_picking_orders/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/merge_picking_orders/static/description/assets/misc/star.png differ diff --git a/merge_picking_orders/static/description/assets/misc/support.png b/merge_picking_orders/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/merge_picking_orders/static/description/assets/misc/support.png differ diff --git a/merge_picking_orders/static/description/assets/misc/whatsapp.png b/merge_picking_orders/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/merge_picking_orders/static/description/assets/misc/whatsapp.png differ diff --git a/merge_picking_orders/static/description/assets/modules/1.png b/merge_picking_orders/static/description/assets/modules/1.png new file mode 100644 index 000000000..4e4ea0e51 Binary files /dev/null and b/merge_picking_orders/static/description/assets/modules/1.png differ diff --git a/merge_picking_orders/static/description/assets/modules/2.png b/merge_picking_orders/static/description/assets/modules/2.png new file mode 100644 index 000000000..5365b9593 Binary files /dev/null and b/merge_picking_orders/static/description/assets/modules/2.png differ diff --git a/merge_picking_orders/static/description/assets/modules/3.png b/merge_picking_orders/static/description/assets/modules/3.png new file mode 100644 index 000000000..87a76bd25 Binary files /dev/null and b/merge_picking_orders/static/description/assets/modules/3.png differ diff --git a/merge_picking_orders/static/description/assets/modules/4.png b/merge_picking_orders/static/description/assets/modules/4.png new file mode 100644 index 000000000..156043839 Binary files /dev/null and b/merge_picking_orders/static/description/assets/modules/4.png differ diff --git a/merge_picking_orders/static/description/assets/modules/5.png b/merge_picking_orders/static/description/assets/modules/5.png new file mode 100644 index 000000000..844b870eb Binary files /dev/null and b/merge_picking_orders/static/description/assets/modules/5.png differ diff --git a/merge_picking_orders/static/description/assets/modules/6.png b/merge_picking_orders/static/description/assets/modules/6.png new file mode 100644 index 000000000..c026d6afe Binary files /dev/null and b/merge_picking_orders/static/description/assets/modules/6.png differ diff --git a/merge_picking_orders/static/description/assets/screenshots/1.png b/merge_picking_orders/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..ccb3a661a Binary files /dev/null and b/merge_picking_orders/static/description/assets/screenshots/1.png differ diff --git a/merge_picking_orders/static/description/assets/screenshots/10.png b/merge_picking_orders/static/description/assets/screenshots/10.png new file mode 100644 index 000000000..cef6122a8 Binary files /dev/null and b/merge_picking_orders/static/description/assets/screenshots/10.png differ diff --git a/merge_picking_orders/static/description/assets/screenshots/11.png b/merge_picking_orders/static/description/assets/screenshots/11.png new file mode 100644 index 000000000..f1ce05faa Binary files /dev/null and b/merge_picking_orders/static/description/assets/screenshots/11.png differ diff --git a/merge_picking_orders/static/description/assets/screenshots/12.png b/merge_picking_orders/static/description/assets/screenshots/12.png new file mode 100644 index 000000000..4058a3456 Binary files /dev/null and b/merge_picking_orders/static/description/assets/screenshots/12.png differ diff --git a/merge_picking_orders/static/description/assets/screenshots/13.png b/merge_picking_orders/static/description/assets/screenshots/13.png new file mode 100644 index 000000000..a66e8e2ae Binary files /dev/null and b/merge_picking_orders/static/description/assets/screenshots/13.png differ diff --git a/merge_picking_orders/static/description/assets/screenshots/14.png b/merge_picking_orders/static/description/assets/screenshots/14.png new file mode 100644 index 000000000..01efd6794 Binary files /dev/null and b/merge_picking_orders/static/description/assets/screenshots/14.png differ diff --git a/merge_picking_orders/static/description/assets/screenshots/2.png b/merge_picking_orders/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..809d92c77 Binary files /dev/null and b/merge_picking_orders/static/description/assets/screenshots/2.png differ diff --git a/merge_picking_orders/static/description/assets/screenshots/3.png b/merge_picking_orders/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..50d9690c8 Binary files /dev/null and b/merge_picking_orders/static/description/assets/screenshots/3.png differ diff --git a/merge_picking_orders/static/description/assets/screenshots/4.png b/merge_picking_orders/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..4078d1208 Binary files /dev/null and b/merge_picking_orders/static/description/assets/screenshots/4.png differ diff --git a/merge_picking_orders/static/description/assets/screenshots/5.png b/merge_picking_orders/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..f3b28c72a Binary files /dev/null and b/merge_picking_orders/static/description/assets/screenshots/5.png differ diff --git a/merge_picking_orders/static/description/assets/screenshots/6.png b/merge_picking_orders/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..30cd92179 Binary files /dev/null and b/merge_picking_orders/static/description/assets/screenshots/6.png differ diff --git a/merge_picking_orders/static/description/assets/screenshots/7.png b/merge_picking_orders/static/description/assets/screenshots/7.png new file mode 100644 index 000000000..fe0a32b16 Binary files /dev/null and b/merge_picking_orders/static/description/assets/screenshots/7.png differ diff --git a/merge_picking_orders/static/description/assets/screenshots/8.png b/merge_picking_orders/static/description/assets/screenshots/8.png new file mode 100644 index 000000000..50115f34c Binary files /dev/null and b/merge_picking_orders/static/description/assets/screenshots/8.png differ diff --git a/merge_picking_orders/static/description/assets/screenshots/9.png b/merge_picking_orders/static/description/assets/screenshots/9.png new file mode 100644 index 000000000..d8c99c718 Binary files /dev/null and b/merge_picking_orders/static/description/assets/screenshots/9.png differ diff --git a/merge_picking_orders/static/description/assets/screenshots/hero.gif b/merge_picking_orders/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..4983f7fad Binary files /dev/null and b/merge_picking_orders/static/description/assets/screenshots/hero.gif differ diff --git a/merge_picking_orders/static/description/banner.png b/merge_picking_orders/static/description/banner.png new file mode 100644 index 000000000..41e6667ff Binary files /dev/null and b/merge_picking_orders/static/description/banner.png differ diff --git a/merge_picking_orders/static/description/icon.png b/merge_picking_orders/static/description/icon.png new file mode 100644 index 000000000..c9cbe2e72 Binary files /dev/null and b/merge_picking_orders/static/description/icon.png differ diff --git a/merge_picking_orders/static/description/index.html b/merge_picking_orders/static/description/index.html new file mode 100644 index 000000000..c6bda1d51 --- /dev/null +++ b/merge_picking_orders/static/description/index.html @@ -0,0 +1,648 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+ + + + +
+
+ +
+
+
+ +

+ Merge Picking Orders

+

+ This Module Will Help To Manage All Type Of Pickings By + Merging.

+ + +
+
+
+
+ + +








+
+
+ +
+

+ Explore This Module

+
+ + + + + +
+
+ +
+

+ Overview

+
+ +
+
This Module Crafted By Cybrosys Technologies + Provides An Option To Manage The Different Types Of Picking Orders, + When Large Number Of Delivery, Receipts, Returns We Can Merge The + Similar Type Pickings Simply By Selecting The Picking Orders. +
+
+ + + +
+
+ +
+

+ Features

+
+ +
+
+
+ + Easy To Manage Delivery, Receipts, Returns etc... +
+
+ + Simply Select And Merge. +
+
+ + Create Single Picking From Existing Large No Of Pickings. +
+
+ + Option To Merge To Existing Picking Order +
+
+ + Track Merged Picking Using Source Document Field. +
+
+
+ + + +
+
+ +
+

+ Screenshots

+
+ +
+
+
+

+ Can choose any picking like Receipts, Delivery, Returns, etc. +

+ +
+
+

+ Here going to merge the same partner's same state pickings ie, + WH/IN/00003 & WH/IN/00004 +

+ +
+
+

+ When selected pickings, there will be an option for Merge under + the Actions menu. +

+ +
+
+

+ Merge confirm window, shows selected pickings and how to use it. +

+ +
+
+

+ A new picking will be created with source document detail + as merged pickings' name, and merged pickings will be canceled. +

+ +
+
+

+ The newly created Picking. The source document shows the merged + pickings +

+ +
+
+

+ The merging window also has an option for merging to existing + picking, + thus a new picking will not be created, instead of that picking + lines + merged to the selected picking order +

+ +
+
+

+ Except for the selected picking, all other pickings will be + canceled. +

+ +
+
+

+ Details of merged picking order. + The source document field shows the names of the merged records +

+ +
+
+

+ Access error when try to merge single picking. +

+ +
+
+

+ Error When merging Done state picking. +

+ +
+
+

+ Error when try to merge pickings in different stages. +

+ +
+
+

+ Error when try to merge pickings of different partners. +

+ +
+
+

+ Error when try to merge different type pickings. +

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

+ Related Products

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

+ Our Services

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

+ Our Industries

+
+ +
+
+
+
+ +
+ Trading
+

+ Easily procure and sell your products

+
+
+
+
+ +
+ POS
+

+ Easy configuration and convivial experience

+
+
+
+
+ +
+ Education
+

+ A platform for educational management

+
+
+
+
+ +
+ Manufacturing
+

+ Plan, track and schedule your operations

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

+ Mobile friendly, awe-inspiring product pages

+
+
+
+
+ +
+ Service Management
+

+ Keep track of services and invoice

+
+
+
+
+ +
+ Restaurant
+

+ Run your bar or restaurant methodically

+
+
+
+
+ +
+ Hotel Management
+

+ An all-inclusive hotel management application

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

+ Support

+
+ +
+
+
+
+
+ +
+
+

Need Help?

+

Got questions or need help? + Get in touch.

+ +

+ odoo@cybrosys.com

+
+
+
+
+
+
+
+ +
+
+

WhatsApp

+

Say hi to us on WhatsApp!

+ +

+ +91 86068 27707

+
+
+
+
+
+
+
+ +
+
+
+ \ No newline at end of file diff --git a/merge_picking_orders/wizard/__init__.py b/merge_picking_orders/wizard/__init__.py new file mode 100644 index 000000000..fb7bf79dd --- /dev/null +++ b/merge_picking_orders/wizard/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Sreerag PM (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 merge_picking diff --git a/merge_picking_orders/wizard/merge_picking.py b/merge_picking_orders/wizard/merge_picking.py new file mode 100644 index 000000000..68994318e --- /dev/null +++ b/merge_picking_orders/wizard/merge_picking.py @@ -0,0 +1,89 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Sreerag PM (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, _ +from odoo.exceptions import AccessError + + +class MergePicking(models.TransientModel): + """ + Class for wizard to show selected pickings to merge + Method: + action_merge(self): + Method to merge the selected pickings + """ + _name = 'merge.picking' + _description = "Merge Picking Wizard" + + merge_picking_ids = fields.Many2many('stock.picking', string='Orders', + help="Selected orders") + existing_pick_id = fields.Many2one( + 'stock.picking', string="Merge to existing", + help="Select a pick if you want to merge pickings to a existing picking" + " else leave it as empty") + + def action_merge(self): + """ + Main method to merge selected pickings + - If checked 'merge to existing' then the selected pickings will be + merged to last record + - Else a new record will be created with the existing picking lines + - The selected pickings will be moved to cancelled state + - The newly created picking will be in ready state + """ + # Checking for exceptions if exist raise corresponding messages + if len(list(set(x.partner_id if x.partner_id else None for x in + self.merge_picking_ids))) > 1: + raise AccessError(_("Merging is not allowed on Different partners," + " please add same partner's orders")) + if len(list(set(self.merge_picking_ids.mapped('picking_type_id')))) > 1: + raise AccessError( + _("Merging is not allowed on Different picking type," + " please choose same type")) + if any(state in ['done', 'cancel'] for state in + self.merge_picking_ids.mapped('state')): + raise AccessError(_('Merging is not allowed on Done/Cancelled ' + 'pickings, so please remove them and continue')) + if len(list(set(self.merge_picking_ids.mapped('state')))) > 1: + raise AccessError(_('Merging is not allowed on Different State ' + 'Pickings, please add orders in same State')) + if len(self.merge_picking_ids) == 1: + raise AccessError(_('Merging is not allowed on Single picking,' + ' please add minimum Two')) + # If there is no exception, continues with the merging process + source_document = [] + if self.existing_pick_id: + main_pick = self.existing_pick_id + orders = self.merge_picking_ids - main_pick + moves = main_pick.move_lines + source_document.append(main_pick.name) + else: + orders = self.merge_picking_ids + moves = self.env['stock.move'] + main_pick = orders[0].copy({'move_lines':[]}) + for record in orders: + for line in record.move_lines: + moves += line.copy({'picking_id': main_pick.id}) + source_document.append(record.name) + record.action_cancel() + main_pick.write( + {'origin': f"Merged ({(', '.join(source_document))})"}) + main_pick.action_confirm() diff --git a/merge_picking_orders/wizard/merge_picking_views.xml b/merge_picking_orders/wizard/merge_picking_views.xml new file mode 100644 index 000000000..91ea108f0 --- /dev/null +++ b/merge_picking_orders/wizard/merge_picking_views.xml @@ -0,0 +1,42 @@ + + + + + merge.picking.view.form + merge.picking + +
+ +

When selecting pickings for merging, +
+ * Merging is not allowed in a single picking and Done + state picking +
+ * Pickings should be of the same partners, same types, + same states +

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