diff --git a/merge_picking_orders/README.rst b/merge_picking_orders/README.rst new file mode 100644 index 000000000..d602c0cf5 --- /dev/null +++ b/merge_picking_orders/README.rst @@ -0,0 +1,46 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Merge Picking Orders +==================== +This module will help you to merge similar picking orders. + +Configuration +============= +* No additional configuration needed. + +License +------- +Affero General Public License v3.0 (AGPL v3) +(http://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +Developer : (V15) Vishnuraj , 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..4f19f7ca8 --- /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: Vishnuraj (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..6b2769bc7 --- /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: Vishnuraj (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': '15.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.jpg'], + '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..5f69d4730 --- /dev/null +++ b/merge_picking_orders/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 20.07.2023 +#### Version 15.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..01002d458 --- /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: Vishnuraj (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..b2586af7f --- /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: Vishnuraj (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 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': [fields.Command.set(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..8eae5e773 --- /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,access.merge.picking,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..492980ad0 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..5f7b7d385 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..65a3645b0 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..cfb5be33c 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..f01b10060 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..f1a1c82cd 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..0af58fc12 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..07b59ca03 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..a3e3ffab3 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..4f6ba9ea4 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..103c80989 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..8d0364e43 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/15.png b/merge_picking_orders/static/description/assets/screenshots/15.png new file mode 100644 index 000000000..79105e9bd Binary files /dev/null and b/merge_picking_orders/static/description/assets/screenshots/15.png differ diff --git a/merge_picking_orders/static/description/assets/screenshots/16.png b/merge_picking_orders/static/description/assets/screenshots/16.png new file mode 100644 index 000000000..4b68362b3 Binary files /dev/null and b/merge_picking_orders/static/description/assets/screenshots/16.png differ diff --git a/merge_picking_orders/static/description/assets/screenshots/17.png b/merge_picking_orders/static/description/assets/screenshots/17.png new file mode 100644 index 000000000..b7cd5a96f Binary files /dev/null and b/merge_picking_orders/static/description/assets/screenshots/17.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..fbf055b41 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..2e83e1965 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..b7e4cd8d0 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..98f679d94 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..90dec73df 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..ba4571d3d 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..baffbbb76 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..d5e3898a6 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..6374e0663 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.jpg b/merge_picking_orders/static/description/banner.jpg new file mode 100644 index 000000000..3b6a99a25 Binary files /dev/null and b/merge_picking_orders/static/description/banner.jpg 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..29c8e8e7c 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..ec5f2c78a --- /dev/null +++ b/merge_picking_orders/static/description/index.html @@ -0,0 +1,666 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+ +

+ 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, Reciepts, Returns we can merge the + similar type pickings simply by selcting the picking orders. +
+
+ + + +
+
+ +
+

+ Features

+
+ +
+
+
+ + Easy to manage Delivery, Reciepts, 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 +

+ +
+
+

+ The details of WH/IN/00003 +

+ +
+
+

+ The details of WH/IN/00004 +

+ +
+
+

+ Select the picking orders for merging +

+ +
+
+

+ 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..662d5a347 --- /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: Vishnuraj (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..139a1b262 --- /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: Vishnuraj (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': None}) + 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 +

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