diff --git a/bulk_create_mo_so_po/README.rst b/bulk_create_mo_so_po/README.rst new file mode 100644 index 000000000..a5cf0d69e --- /dev/null +++ b/bulk_create_mo_so_po/README.rst @@ -0,0 +1,46 @@ +.. image:: https://img.shields.io/badge/license-LGPL--3-blue.svg + :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 + +Bulk Order Management +===================== +Create Manufacturing Orders, Purchase Orders, Sales Orders in Bulk + +Configuration +============= +* Additional configuration not required + +Company +_______ +* `Cybrosys Techno Solutions `__ + +License +======= +General Public License, Version 3 (LGPL v3) +(http://www.gnu.org/licenses/lgpl-3.0-standalone.html) + +Credits +_______ +* Developers:(V15) Ayana KP, + (V16) Arjun S, Sreerag E + 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/bulk_create_mo_so_po/__init__.py b/bulk_create_mo_so_po/__init__.py new file mode 100755 index 000000000..3354bab20 --- /dev/null +++ b/bulk_create_mo_so_po/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Ayana KP(odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import models diff --git a/bulk_create_mo_so_po/__manifest__.py b/bulk_create_mo_so_po/__manifest__.py new file mode 100755 index 000000000..d7605ef8d --- /dev/null +++ b/bulk_create_mo_so_po/__manifest__.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Ayana KP(odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +{ + 'name': 'Bulk Order Management', + 'version': '15.0.1.0.0', + 'category': 'Sales,Purchases,Manufacturing', + 'summary': """Create Manufacturing Orders, Purchase Orders, Sales Orders in + Bulk""", + 'description': """This module simplifies Odoo by allowing users to create + Sale, Purchase, and Manufacturing Orders all at once from a single app, + saving time and reducing complexity.""", + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'author': 'Cybrosys Techno solutions', + 'website': 'https://cybrosys.com', + 'depends': ['sale_management', 'purchase', 'mrp'], + 'data': [ + 'security/ir.model.access.csv', + 'data/ir_sequence_data.xml', + 'views/create_bulk_order_views.xml' + ], + 'images': ['static/description/banner.jpg'], + 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': True, +} diff --git a/bulk_create_mo_so_po/data/ir_sequence_data.xml b/bulk_create_mo_so_po/data/ir_sequence_data.xml new file mode 100755 index 000000000..de96fd7e4 --- /dev/null +++ b/bulk_create_mo_so_po/data/ir_sequence_data.xml @@ -0,0 +1,29 @@ + + + + + + Create Bulk Sale Order + create.bulk.so.order + BLK/SO/%(year)s/%(month)s/ + 5 + 1 + + + + Create Bulk Purchase Order + create.bulk.po.order + BLK/PO/%(year)s/%(month)s/ + 5 + 1 + + + + Create Bulk Manufacturing Order + create.bulk.mo.order + BLK/MO/%(year)s/%(month)s/ + 5 + 1 + + + diff --git a/bulk_create_mo_so_po/doc/RELEASE_NOTES.md b/bulk_create_mo_so_po/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..69cc1b8fa --- /dev/null +++ b/bulk_create_mo_so_po/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 15.06.2024 +#### Version 15.0.1.0.0 +#### ADD +- Initial Commit for Bulk Order Management diff --git a/bulk_create_mo_so_po/models/__init__.py b/bulk_create_mo_so_po/models/__init__.py new file mode 100755 index 000000000..a54eeeea5 --- /dev/null +++ b/bulk_create_mo_so_po/models/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Ayana KP(odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import create_bulk_order diff --git a/bulk_create_mo_so_po/models/create_bulk_order.py b/bulk_create_mo_so_po/models/create_bulk_order.py new file mode 100755 index 000000000..427c341a3 --- /dev/null +++ b/bulk_create_mo_so_po/models/create_bulk_order.py @@ -0,0 +1,246 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Ayana KP(odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import fields, models, _ +from odoo.exceptions import UserError, ValidationError + + +class CreateBulkOrder(models.Model): + """Creates the model create.bulk.order""" + _name = 'create.bulk.order' + _description = 'Create Bulk Order' + _inherit = ['mail.thread', 'mail.activity.mixin'] + + name = fields.Char(string='Name', readonly=True, default='New', copy=False, + tracking=True, help="Name of the bulk order") + partner_id = fields.Many2one('res.partner', string='Customer', + help="Customer of the bulk order") + date = fields.Datetime(string='Date', default=fields.Datetime.now, + tracking=True, help="Date of the bulk order") + bulk_order_line_ids = fields.One2many('bulk.order.line', + 'order_id', + string='Bulk Order Lines', + required=True, tracking=True, + help="Bulk orders in the bulk order") + order_type = fields.Selection( + [('sale', 'Sale Order'), ('purchase', 'Purchase Order'), + ('manufacturing', 'Manufacturing Order')], string='Order Type', + default='sale', help="Order Type of the order") + state = fields.Selection([('draft', 'Draft'), ('confirm', 'Confirm'), + ('order_confirm', 'Order Created'), + ('done', 'Done'), ('cancel', 'Cancel')], + string='State', default='draft', tracking=True, + help="State of the Bulk Order") + sale_order_ids = fields.One2many('sale.order', + 'bulk_order_id', + string='Sale Orders', + help="Sale Orders linked to this bulk " + "order") + purchase_order_ids = fields.One2many('purchase.order', + 'bulk_order_id', + string='Purchase Orders', + help="Purchase Orders linked to this " + "bulk order") + manufacturing_order_ids = fields.One2many('mrp.production', + 'bulk_order_id', + string='Manufacturing Orders', + help="Manufacturing Orders linked" + " to this bulk order") + sale_order_count = fields.Integer(string='Sale Order Count', + compute='_compute_sale_order_count', + help="Count of the sale order linked to " + "this bulk order") + purchase_order_count = fields.Integer(string='Purchase Order Count', + compute='_compute_purchase_order_count', + help="Count of the purchase order " + "linked to this bulk order") + manufacturing_order_count = fields.Integer( + string='Manufacturing Order Count', + compute='_compute_manufacturing_order_count', + help="Count of the manufacturing order linked to this bulk order") + + def action_confirm(self): + """Method action_confirm to confirm the bulk order""" + for rec in self: + if not rec.name or rec.name == 'New': + if rec.order_type == 'sale': + rec.name = self.env['ir.sequence'].next_by_code( + 'create.bulk.so.order') + elif rec.order_type == 'purchase': + rec.name = self.env['ir.sequence'].next_by_code( + 'create.bulk.po.order') + elif rec.order_type == 'manufacturing': + rec.name = self.env['ir.sequence'].next_by_code( + 'create.bulk.mo.order') + if not rec.bulk_order_line_ids: + raise UserError(_('Please add at least one product.')) + rec.state = 'confirm' + + def action_create_sale_order(self): + """Create sale order from the bulk order""" + for rec in self: + if not rec.partner_id: + raise UserError(_('Please select a customer.')) + order_lines = [(0, 0, { + 'name': line.product_id.name, + 'product_id': line.product_id.id, + 'product_uom_qty': line.qty, + }) for line in rec.bulk_order_line_ids] + rec.env['sale.order'].create({ + 'partner_id': rec.partner_id.id, + 'order_line': order_lines, + 'bulk_order_id': rec.id, + }) + rec.state = 'done' + + def action_create_purchase_order(self): + """Create purchase order from the bulk order""" + for rec in self: + if not rec.partner_id: + raise UserError(_('Please select a vendor.')) + order_lines = [(0, 0, { + 'product_id': line.product_id.id, + 'product_qty': line.qty, + 'name': line.product_id.name, + }) for line in rec.bulk_order_line_ids] + rec.env['purchase.order'].create({ + 'partner_id': rec.partner_id.id, + 'order_line': order_lines, + 'bulk_order_id': rec.id, + }) + rec.state = 'done' + + def action_create_manufacturing_order(self): + """Method action_create_manufacturing_order to create the + manufacturing order from the bulk order""" + for rec in self: + for line in rec.bulk_order_line_ids: + if not line.bom_id: + raise ValidationError( + _(f"There are no BOM for the product " + f"variant {line.product_id.name}, please create one " + f"BOM to create Manufacturing Order.")) + mrp_id = self.env['mrp.production'].create({ + 'product_id': line.product_id.id, + 'product_qty': line.qty, + 'bom_id': line.bom_id.id, + 'product_uom_id': line.product_id.uom_id.id, + 'bulk_order_id': rec.id, + }) + mrp_id._onchange_move_raw() + rec.state = 'done' + + def action_reset_to_draft(self): + """Method action_reset_to_draft to reset the bulk order into draft + state""" + for rec in self: + rec.state = 'draft' + + def _compute_sale_order_count(self): + """Method _compute_sale_order_count to compute the sale order count""" + for rec in self: + rec.sale_order_count = len(rec.sale_order_ids) + + def _compute_purchase_order_count(self): + """Method _compute_purchase_order_count to compute the purchase order + count""" + for rec in self: + rec.purchase_order_count = len(rec.purchase_order_ids) + + def _compute_manufacturing_order_count(self): + """Method _compute_manufacturing_order_count to compute the + manufacturing order counts""" + for rec in self: + rec.manufacturing_order_count = len(rec.manufacturing_order_ids) + + def get_sale_order(self): + """Method get_sale_order to get the sale orders linked to the bulk + order""" + for rec in self: + action = self.env.ref('sale.action_orders').read()[0] + action['domain'] = [('bulk_order_id', '=', rec.id)] + return action + + def get_purchase_order(self): + """Method get_purchase_order to get the purchase orders linked to the + bulk order""" + for rec in self: + action = self.env.ref('purchase.purchase_rfq').read()[0] + action['domain'] = [('bulk_order_id', '=', rec.id)] + return action + + def get_manufacturing_order(self): + """Method get_manufacturing_order to get the manufacturing orders + linked to the bulk order""" + for rec in self: + action = self.env.ref('mrp.mrp_production_action').read()[0] + action['domain'] = [('bulk_order_id', '=', rec.id)] + return action + + +class BulkOrderLine(models.Model): + """Creates the model bulk.order.line""" + _name = 'bulk.order.line' + _description = 'Bulk Order Lines' + + name = fields.Char(string='Name', help="Name of the order line") + product_id = fields.Many2one('product.product', + string='Product', required=True, + help="Product in the order line") + qty = fields.Float(string='Quantity', required=True, + help="Quantity of the product", default=1) + order_id = fields.Many2one('create.bulk.order', string='Order', + help="Bulk order") + list_price = fields.Float(string='Price', help="Price of the product", + related="product_id.lst_price") + product_cost = fields.Float(string='Cost', help="Cost of the product", + related="product_id.standard_price") + bom_id = fields.Many2one('mrp.bom', string="Bill of Material", + help="Bill of Material for this product", + domain="[('product_id', '=', product_id)]") + + +class SaleOrder(models.Model): + """Inherits the model sale.order to add the field bulk_order_id""" + _inherit = 'sale.order' + + bulk_order_id = fields.Many2one('create.bulk.order', + string='Bulk Order', + help="Bulk order linked to this sale order") + + +class PurchaseOrder(models.Model): + """Inherits the model purchase.order to add the field bulk_order_id""" + _inherit = 'purchase.order' + + bulk_order_id = fields.Many2one('create.bulk.order', + string='Bulk Order', + help="Bulk order linked to this purchase " + "order") + + +class ManufacturingOrder(models.Model): + """Inherits the model mrp.production to add the field bulk_order_id""" + _inherit = 'mrp.production' + + bulk_order_id = fields.Many2one('create.bulk.order', + string='Bulk Order', + help="Bulk order linked to this MRP Order") diff --git a/bulk_create_mo_so_po/security/ir.model.access.csv b/bulk_create_mo_so_po/security/ir.model.access.csv new file mode 100755 index 000000000..f4342d578 --- /dev/null +++ b/bulk_create_mo_so_po/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id/id,group_id/id,perm_read,perm_write,perm_create,perm_unlink +access_create_bulk_order_user,access.create.bulk.order.user,bulk_create_mo_so_po.model_create_bulk_order,base.group_user,1,1,1,1 +access_bulk_order_line_user,access.bulk.order.line.user,bulk_create_mo_so_po.model_bulk_order_line,base.group_user,1,1,1,1 diff --git a/bulk_create_mo_so_po/static/description/assets/icons/asana-pic.png b/bulk_create_mo_so_po/static/description/assets/icons/asana-pic.png new file mode 100644 index 000000000..d0ac62b6b Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/icons/asana-pic.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/icons/check.png b/bulk_create_mo_so_po/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/icons/check.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/icons/chevron.png b/bulk_create_mo_so_po/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/icons/chevron.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/icons/cogs.png b/bulk_create_mo_so_po/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/icons/cogs.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/icons/consultation.png b/bulk_create_mo_so_po/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/icons/consultation.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/icons/ecom-black.png b/bulk_create_mo_so_po/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/icons/ecom-black.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/icons/education-black.png b/bulk_create_mo_so_po/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/icons/education-black.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/icons/hotel-black.png b/bulk_create_mo_so_po/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/icons/hotel-black.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/icons/license.png b/bulk_create_mo_so_po/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/icons/license.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/icons/lifebuoy.png b/bulk_create_mo_so_po/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/icons/lifebuoy.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/icons/manufacturing-black.png b/bulk_create_mo_so_po/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/icons/manufacturing-black.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/icons/pos-black.png b/bulk_create_mo_so_po/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/icons/pos-black.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/icons/puzzle.png b/bulk_create_mo_so_po/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/icons/puzzle.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/icons/restaurant-black.png b/bulk_create_mo_so_po/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/icons/restaurant-black.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/icons/service-black.png b/bulk_create_mo_so_po/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/icons/service-black.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/icons/trading-black.png b/bulk_create_mo_so_po/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/icons/trading-black.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/icons/training.png b/bulk_create_mo_so_po/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/icons/training.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/icons/update.png b/bulk_create_mo_so_po/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/icons/update.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/icons/user.png b/bulk_create_mo_so_po/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/icons/user.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/icons/wrench.png b/bulk_create_mo_so_po/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/icons/wrench.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/misc/categories.png b/bulk_create_mo_so_po/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/misc/categories.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/misc/check-box.png b/bulk_create_mo_so_po/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/misc/check-box.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/misc/compass.png b/bulk_create_mo_so_po/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/misc/compass.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/misc/corporate.png b/bulk_create_mo_so_po/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/misc/corporate.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/misc/customer-support.png b/bulk_create_mo_so_po/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/misc/customer-support.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/misc/cybrosys-logo.png b/bulk_create_mo_so_po/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/misc/cybrosys-logo.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/misc/features.png b/bulk_create_mo_so_po/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/misc/features.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/misc/logo.png b/bulk_create_mo_so_po/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/misc/logo.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/misc/pictures.png b/bulk_create_mo_so_po/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/misc/pictures.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/misc/pie-chart.png b/bulk_create_mo_so_po/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/misc/pie-chart.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/misc/right-arrow.png b/bulk_create_mo_so_po/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/misc/right-arrow.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/misc/star.png b/bulk_create_mo_so_po/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/misc/star.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/misc/support.png b/bulk_create_mo_so_po/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/misc/support.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/misc/whatsapp.png b/bulk_create_mo_so_po/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/misc/whatsapp.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/modules/module_image (1).png b/bulk_create_mo_so_po/static/description/assets/modules/module_image (1).png new file mode 100644 index 000000000..c000dae7a Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/modules/module_image (1).png differ diff --git a/bulk_create_mo_so_po/static/description/assets/modules/module_image (2).png b/bulk_create_mo_so_po/static/description/assets/modules/module_image (2).png new file mode 100644 index 000000000..eb7ebcdff Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/modules/module_image (2).png differ diff --git a/bulk_create_mo_so_po/static/description/assets/modules/module_image (4).png b/bulk_create_mo_so_po/static/description/assets/modules/module_image (4).png new file mode 100644 index 000000000..25507105a Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/modules/module_image (4).png differ diff --git a/bulk_create_mo_so_po/static/description/assets/modules/module_image (5).png b/bulk_create_mo_so_po/static/description/assets/modules/module_image (5).png new file mode 100644 index 000000000..26358cebf Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/modules/module_image (5).png differ diff --git a/bulk_create_mo_so_po/static/description/assets/modules/module_image (6).png b/bulk_create_mo_so_po/static/description/assets/modules/module_image (6).png new file mode 100644 index 000000000..8d5c3ea3f Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/modules/module_image (6).png differ diff --git a/bulk_create_mo_so_po/static/description/assets/modules/module_image.png b/bulk_create_mo_so_po/static/description/assets/modules/module_image.png new file mode 100644 index 000000000..26358cebf Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/modules/module_image.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/screenshots/1.png b/bulk_create_mo_so_po/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..89801fb8e Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/screenshots/1.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/screenshots/10.png b/bulk_create_mo_so_po/static/description/assets/screenshots/10.png new file mode 100644 index 000000000..4e9e6ff3c Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/screenshots/10.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/screenshots/11.png b/bulk_create_mo_so_po/static/description/assets/screenshots/11.png new file mode 100644 index 000000000..85c204b43 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/screenshots/11.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/screenshots/12.png b/bulk_create_mo_so_po/static/description/assets/screenshots/12.png new file mode 100644 index 000000000..047949519 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/screenshots/12.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/screenshots/13.png b/bulk_create_mo_so_po/static/description/assets/screenshots/13.png new file mode 100644 index 000000000..edeaf79c2 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/screenshots/13.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/screenshots/2.png b/bulk_create_mo_so_po/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..0a921f635 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/screenshots/2.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/screenshots/2024-06-15_11-01.png b/bulk_create_mo_so_po/static/description/assets/screenshots/2024-06-15_11-01.png new file mode 100644 index 000000000..f48b0925f Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/screenshots/2024-06-15_11-01.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/screenshots/3.png b/bulk_create_mo_so_po/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..a8e619ae2 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/screenshots/3.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/screenshots/4.png b/bulk_create_mo_so_po/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..8a27780b0 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/screenshots/4.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/screenshots/5.png b/bulk_create_mo_so_po/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..33d8e58b0 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/screenshots/5.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/screenshots/6.png b/bulk_create_mo_so_po/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..bc7cc85b2 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/screenshots/6.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/screenshots/7.png b/bulk_create_mo_so_po/static/description/assets/screenshots/7.png new file mode 100644 index 000000000..3a346e288 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/screenshots/7.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/screenshots/8.png b/bulk_create_mo_so_po/static/description/assets/screenshots/8.png new file mode 100644 index 000000000..9ce3d54e9 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/screenshots/8.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/screenshots/9.png b/bulk_create_mo_so_po/static/description/assets/screenshots/9.png new file mode 100644 index 000000000..c36153088 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/screenshots/9.png differ diff --git a/bulk_create_mo_so_po/static/description/assets/screenshots/hero.gif b/bulk_create_mo_so_po/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..3e0e2e657 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/assets/screenshots/hero.gif differ diff --git a/bulk_create_mo_so_po/static/description/banner.jpg b/bulk_create_mo_so_po/static/description/banner.jpg new file mode 100644 index 000000000..0942f19aa Binary files /dev/null and b/bulk_create_mo_so_po/static/description/banner.jpg differ diff --git a/bulk_create_mo_so_po/static/description/icon.png b/bulk_create_mo_so_po/static/description/icon.png new file mode 100644 index 000000000..742588275 Binary files /dev/null and b/bulk_create_mo_so_po/static/description/icon.png differ diff --git a/bulk_create_mo_so_po/static/description/index.html b/bulk_create_mo_so_po/static/description/index.html new file mode 100644 index 000000000..5bf044299 --- /dev/null +++ b/bulk_create_mo_so_po/static/description/index.html @@ -0,0 +1,639 @@ +
+ +
+ +
+
+ Odoo.sh +
+
+ Community +
+
+ Enterprise +
+
+
+ +
+
+
+ +

+ Bulk Order Management

+

+ Create Manufacturing Orders, Purchase Orders, Sales Orders + in + Bulk

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

+ Explore This Module

+
+ + + + + +
+
+ +
+

+ Overview

+
+ +
+
This module simplifies Odoo by allowing users to create + Sale, Purchase, and Manufacturing Orders all at once from a single app, + saving time and reducing complexity. +
+
+ + + +
+
+ +
+

+ Features

+
+ +
+
+
+ + Can create Sale Order, Purchase Order and the Manufacturing Order from the single model +
+
+ + Support on Odoo Community and Enterprise edition +
+
+
+ + + +
+
+ +
+

+ Screenshots

+
+ +
+
+
+

+ Bulk Order Management tree view. +

+ +
+
+

+ To create a new Sale Order from the Bulk Order create a new Bulk + Order, select the Order Type as Sale Order, select a customer, + select products from Order Lines, and then confirm the Bulk + Order. +

+ +
+
+

+ From the CONFIRM state, Click on the button CREATE SALE ORDER to + create the Bulk Sale Order. +

+ +
+
+

+When you click on the CREATE SALE ORDER button, a new Smart button will be displayed.

+ +
+
+

+ When you click the smart button Sale Orders, you will see the + Sale Orders created from the current Bulk Order in tree view. +

+ +
+
+

+ To create a new Purchase Order from the Bulk Order, select the Order Type as Purchase Order, and select a + customer, products from Order Lines, and then confirm the + Bulk Order. Then click on the button CREATE PURCHASE ORDER to + create the Purchase Order. +

+ +
+
+

+ Then you can see the created Purchase Orders will be + displayed in the smart button. +

+ +
+
+

+ A Smart button appears for Purchase Orders. +

+ +
+
+

+ When you click the smart button Purchase Orders, you will see the + Purchase Orders created from the current Bulk Order in tree view. +

+ +
+
+

+ To create a new Manufacturing Order from the Bulk Order,First create a BOM for the products. +

+ +
+
+

+ Create a new Bulk Order with the Order Type set as Manufacturing Order. Select a customer and products from the order lines, and then confirm the Bulk Order. + +

+ +
+
+

+ Then click on the button CREATE MANUFACTURING ORDER + to create the Manufacturing Order. +

+ +
+
+

+ Then you can see the created Manufacturing Orders will be + displayed in the smart button. +

+ +
+
+

+ When clicking on the smart button Manufacturing Orders then you + can see the Manufacturing Orders created from the Bulk Order. +

+ +
+
+
+ + +
+
+ +
+

+ Related Products

+
+ +
+
+

Suggested 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/bulk_create_mo_so_po/views/create_bulk_order_views.xml b/bulk_create_mo_so_po/views/create_bulk_order_views.xml new file mode 100755 index 000000000..0c9f96608 --- /dev/null +++ b/bulk_create_mo_so_po/views/create_bulk_order_views.xml @@ -0,0 +1,122 @@ + + + + + create.bulk.order.view.form + create.bulk.order + +
+
+
+ +
+ + + +
+
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
+
+ + + +
+
+
+
+ + + create.bulk.order.view.tree + create.bulk.order + + + + + + + + + + + + + Create Bulk Order + create.bulk.order + tree,form + + + + + + + + +