diff --git a/duplicate_product_bom/README.rst b/duplicate_product_bom/README.rst new file mode 100644 index 000000000..f9f073eb5 --- /dev/null +++ b/duplicate_product_bom/README.rst @@ -0,0 +1,41 @@ +.. image:: https://img.shields.io/badge/licence-LGPL--3-blue.svg + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 + +Duplicate Product BOM +===================== +When you duplicate product it will also duplicate or copy BOM of the products so this odoo app +reduce lots of hassle when you need to add large number of product to be added for Manufacturing module. + +Configuration +============= +* No additional configurations needed +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developers: version 16: Athira Premanand @cybrosys + +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/duplicate_product_bom/__init__.py b/duplicate_product_bom/__init__.py new file mode 100644 index 000000000..e977b0a77 --- /dev/null +++ b/duplicate_product_bom/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Technologies () +# +# 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/duplicate_product_bom/__manifest__.py b/duplicate_product_bom/__manifest__.py new file mode 100644 index 000000000..33f564f28 --- /dev/null +++ b/duplicate_product_bom/__manifest__.py @@ -0,0 +1,40 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Technologies () +# +# 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': 'Duplicate Product BOM', + 'version': '16.0.1.0.0', + 'summary': """Duplicating a product will duplicate the products BOM also""", + 'description': """When you duplicate product it will also duplicate or copy BOM of the products so this odoo app + reduce lots of hassle when you need to add large number of product to be added for Manufacturing + module.""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'category': 'Manufacturing', + 'maintainer': 'Cybrosys Techno Solutions', + 'depends': ['base', 'sale', 'mrp'], + 'images': ['static/description/banner.png'], + 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/duplicate_product_bom/doc/RELEASE_NOTES.md b/duplicate_product_bom/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..38d150454 --- /dev/null +++ b/duplicate_product_bom/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 24.01.2023 +#### Version 16.0.1.0.0 +#### ADD +Initial Commit for Duplicate Product BOM \ No newline at end of file diff --git a/duplicate_product_bom/models/__init__.py b/duplicate_product_bom/models/__init__.py new file mode 100644 index 000000000..2dc9ad9b0 --- /dev/null +++ b/duplicate_product_bom/models/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Technologies () +# +# 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 product_template diff --git a/duplicate_product_bom/models/product_template.py b/duplicate_product_bom/models/product_template.py new file mode 100644 index 000000000..2ad19a124 --- /dev/null +++ b/duplicate_product_bom/models/product_template.py @@ -0,0 +1,45 @@ +""""Duplicate Product BOM""" +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Technologies () +# +# 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 models + + +class ProductTemplate(models.Model): + _inherit = 'product.template' + + def copy(self, default=None): + result = super().copy(default) + result.bom_count = self.bom_count + for rec in self.bom_ids: + value = self.env['mrp.bom'].create({ + 'type': rec.type, + 'product_tmpl_id': result.id, + 'product_qty': rec.product_qty, + 'code': rec.code, + 'company_id': rec.company_id.id, + }) + value.bom_line_ids = [(0, 0, { + 'product_id': line.product_id.id, + 'product_qty': line.product_qty, + 'attachments_count': line.attachments_count, + }) for line in rec.bom_line_ids] + return result diff --git a/duplicate_product_bom/static/description/assets/icons/check.png b/duplicate_product_bom/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/duplicate_product_bom/static/description/assets/icons/check.png differ diff --git a/duplicate_product_bom/static/description/assets/icons/chevron.png b/duplicate_product_bom/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/duplicate_product_bom/static/description/assets/icons/chevron.png differ diff --git a/duplicate_product_bom/static/description/assets/icons/cogs.png b/duplicate_product_bom/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/duplicate_product_bom/static/description/assets/icons/cogs.png differ diff --git a/duplicate_product_bom/static/description/assets/icons/consultation.png b/duplicate_product_bom/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/duplicate_product_bom/static/description/assets/icons/consultation.png differ diff --git a/duplicate_product_bom/static/description/assets/icons/ecom-black.png b/duplicate_product_bom/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/duplicate_product_bom/static/description/assets/icons/ecom-black.png differ diff --git a/duplicate_product_bom/static/description/assets/icons/education-black.png b/duplicate_product_bom/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/duplicate_product_bom/static/description/assets/icons/education-black.png differ diff --git a/duplicate_product_bom/static/description/assets/icons/hotel-black.png b/duplicate_product_bom/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/duplicate_product_bom/static/description/assets/icons/hotel-black.png differ diff --git a/duplicate_product_bom/static/description/assets/icons/license.png b/duplicate_product_bom/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/duplicate_product_bom/static/description/assets/icons/license.png differ diff --git a/duplicate_product_bom/static/description/assets/icons/lifebuoy.png b/duplicate_product_bom/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/duplicate_product_bom/static/description/assets/icons/lifebuoy.png differ diff --git a/duplicate_product_bom/static/description/assets/icons/manufacturing-black.png b/duplicate_product_bom/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/duplicate_product_bom/static/description/assets/icons/manufacturing-black.png differ diff --git a/duplicate_product_bom/static/description/assets/icons/pos-black.png b/duplicate_product_bom/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/duplicate_product_bom/static/description/assets/icons/pos-black.png differ diff --git a/duplicate_product_bom/static/description/assets/icons/puzzle.png b/duplicate_product_bom/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/duplicate_product_bom/static/description/assets/icons/puzzle.png differ diff --git a/duplicate_product_bom/static/description/assets/icons/restaurant-black.png b/duplicate_product_bom/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/duplicate_product_bom/static/description/assets/icons/restaurant-black.png differ diff --git a/duplicate_product_bom/static/description/assets/icons/service-black.png b/duplicate_product_bom/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/duplicate_product_bom/static/description/assets/icons/service-black.png differ diff --git a/duplicate_product_bom/static/description/assets/icons/trading-black.png b/duplicate_product_bom/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/duplicate_product_bom/static/description/assets/icons/trading-black.png differ diff --git a/duplicate_product_bom/static/description/assets/icons/training.png b/duplicate_product_bom/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/duplicate_product_bom/static/description/assets/icons/training.png differ diff --git a/duplicate_product_bom/static/description/assets/icons/update.png b/duplicate_product_bom/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/duplicate_product_bom/static/description/assets/icons/update.png differ diff --git a/duplicate_product_bom/static/description/assets/icons/user.png b/duplicate_product_bom/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/duplicate_product_bom/static/description/assets/icons/user.png differ diff --git a/duplicate_product_bom/static/description/assets/icons/wrench.png b/duplicate_product_bom/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/duplicate_product_bom/static/description/assets/icons/wrench.png differ diff --git a/duplicate_product_bom/static/description/assets/misc/categories.png b/duplicate_product_bom/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/duplicate_product_bom/static/description/assets/misc/categories.png differ diff --git a/duplicate_product_bom/static/description/assets/misc/check-box.png b/duplicate_product_bom/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/duplicate_product_bom/static/description/assets/misc/check-box.png differ diff --git a/duplicate_product_bom/static/description/assets/misc/compass.png b/duplicate_product_bom/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/duplicate_product_bom/static/description/assets/misc/compass.png differ diff --git a/duplicate_product_bom/static/description/assets/misc/corporate.png b/duplicate_product_bom/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/duplicate_product_bom/static/description/assets/misc/corporate.png differ diff --git a/duplicate_product_bom/static/description/assets/misc/customer-support.png b/duplicate_product_bom/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/duplicate_product_bom/static/description/assets/misc/customer-support.png differ diff --git a/duplicate_product_bom/static/description/assets/misc/cybrosys-logo.png b/duplicate_product_bom/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/duplicate_product_bom/static/description/assets/misc/cybrosys-logo.png differ diff --git a/duplicate_product_bom/static/description/assets/misc/features.png b/duplicate_product_bom/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/duplicate_product_bom/static/description/assets/misc/features.png differ diff --git a/duplicate_product_bom/static/description/assets/misc/logo.png b/duplicate_product_bom/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/duplicate_product_bom/static/description/assets/misc/logo.png differ diff --git a/duplicate_product_bom/static/description/assets/misc/pictures.png b/duplicate_product_bom/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/duplicate_product_bom/static/description/assets/misc/pictures.png differ diff --git a/duplicate_product_bom/static/description/assets/misc/pie-chart.png b/duplicate_product_bom/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/duplicate_product_bom/static/description/assets/misc/pie-chart.png differ diff --git a/duplicate_product_bom/static/description/assets/misc/right-arrow.png b/duplicate_product_bom/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/duplicate_product_bom/static/description/assets/misc/right-arrow.png differ diff --git a/duplicate_product_bom/static/description/assets/misc/star.png b/duplicate_product_bom/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/duplicate_product_bom/static/description/assets/misc/star.png differ diff --git a/duplicate_product_bom/static/description/assets/misc/support.png b/duplicate_product_bom/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/duplicate_product_bom/static/description/assets/misc/support.png differ diff --git a/duplicate_product_bom/static/description/assets/misc/whatsapp.png b/duplicate_product_bom/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/duplicate_product_bom/static/description/assets/misc/whatsapp.png differ diff --git a/duplicate_product_bom/static/description/assets/modules/1.png b/duplicate_product_bom/static/description/assets/modules/1.png new file mode 100644 index 000000000..df65629bf Binary files /dev/null and b/duplicate_product_bom/static/description/assets/modules/1.png differ diff --git a/duplicate_product_bom/static/description/assets/modules/2.png b/duplicate_product_bom/static/description/assets/modules/2.png new file mode 100644 index 000000000..6058f6c3b Binary files /dev/null and b/duplicate_product_bom/static/description/assets/modules/2.png differ diff --git a/duplicate_product_bom/static/description/assets/modules/3.png b/duplicate_product_bom/static/description/assets/modules/3.png new file mode 100644 index 000000000..163485cfd Binary files /dev/null and b/duplicate_product_bom/static/description/assets/modules/3.png differ diff --git a/duplicate_product_bom/static/description/assets/modules/4.png b/duplicate_product_bom/static/description/assets/modules/4.png new file mode 100644 index 000000000..618e3e6c4 Binary files /dev/null and b/duplicate_product_bom/static/description/assets/modules/4.png differ diff --git a/duplicate_product_bom/static/description/assets/modules/5.png b/duplicate_product_bom/static/description/assets/modules/5.png new file mode 100644 index 000000000..2a722d66e Binary files /dev/null and b/duplicate_product_bom/static/description/assets/modules/5.png differ diff --git a/duplicate_product_bom/static/description/assets/modules/6.png b/duplicate_product_bom/static/description/assets/modules/6.png new file mode 100644 index 000000000..a44d454aa Binary files /dev/null and b/duplicate_product_bom/static/description/assets/modules/6.png differ diff --git a/duplicate_product_bom/static/description/assets/screenshots/1.png b/duplicate_product_bom/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..b72bfb77b Binary files /dev/null and b/duplicate_product_bom/static/description/assets/screenshots/1.png differ diff --git a/duplicate_product_bom/static/description/assets/screenshots/2.png b/duplicate_product_bom/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..74bcd1e50 Binary files /dev/null and b/duplicate_product_bom/static/description/assets/screenshots/2.png differ diff --git a/duplicate_product_bom/static/description/assets/screenshots/3.png b/duplicate_product_bom/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..3852c8f40 Binary files /dev/null and b/duplicate_product_bom/static/description/assets/screenshots/3.png differ diff --git a/duplicate_product_bom/static/description/assets/screenshots/4.png b/duplicate_product_bom/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..0fee3418d Binary files /dev/null and b/duplicate_product_bom/static/description/assets/screenshots/4.png differ diff --git a/duplicate_product_bom/static/description/assets/screenshots/5.png b/duplicate_product_bom/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..582f86da7 Binary files /dev/null and b/duplicate_product_bom/static/description/assets/screenshots/5.png differ diff --git a/duplicate_product_bom/static/description/assets/screenshots/6.png b/duplicate_product_bom/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..26eaeb7f9 Binary files /dev/null and b/duplicate_product_bom/static/description/assets/screenshots/6.png differ diff --git a/duplicate_product_bom/static/description/assets/screenshots/hero.gif b/duplicate_product_bom/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..0edcd6640 Binary files /dev/null and b/duplicate_product_bom/static/description/assets/screenshots/hero.gif differ diff --git a/duplicate_product_bom/static/description/banner.png b/duplicate_product_bom/static/description/banner.png new file mode 100644 index 000000000..fcc5dcff1 Binary files /dev/null and b/duplicate_product_bom/static/description/banner.png differ diff --git a/duplicate_product_bom/static/description/icon.png b/duplicate_product_bom/static/description/icon.png new file mode 100644 index 000000000..a7fff8757 Binary files /dev/null and b/duplicate_product_bom/static/description/icon.png differ diff --git a/duplicate_product_bom/static/description/index.html b/duplicate_product_bom/static/description/index.html new file mode 100644 index 000000000..12b52c67d --- /dev/null +++ b/duplicate_product_bom/static/description/index.html @@ -0,0 +1,554 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+ + +
+
+ +
+
+
+ +

+ Duplicate Product BOM

+

Duplicating a product will duplicate the products BOM also +

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

Explore This + Module

+
+ + + + +
+
+ +
+

Overview +

+
+
+
+ This odoo apps is helpful if you have large number of Bill of Materials for the Products and + Product Duplication done frequently. Copy of Bill of Materials will be automatically generated to the new Duplicated + Product.When you duplicate product it will also duplicate or copy BOM of the products so this odoo apps + reduce lots of hassle when you need to add large number of product to be added for Manufacturing module. +
+
+ + + +
+
+ +
+

Features +

+
+
+
+
+ + Easy duplication of BOM. +
+
+ + Automatic BOM update. +
+
+ + It supports in community and enterprise edition. +
+
+
+ + + +
+
+ +
+

Screenshots +

+
+
+
+ +
+

Create or Edit BOM +

+ +
+ +
+

Create One or More Bill of Materials for any Product. +

+ +
+ +
+

+ After Saving the BOM Form, Number of BOM will be displayed in Product + form.

+ +
+ + +
+

Then Duplicate the Product.

+ +
+ +
+

After Product Duplicate, number of Copied BOM will be displayed in the product form.

+ +
+ +
+

BOM is Duplicated with the Product.

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

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