diff --git a/cw_account/README.rst b/cw_account/README.rst new file mode 100644 index 000000000..fa4858d15 --- /dev/null +++ b/cw_account/README.rst @@ -0,0 +1,41 @@ +Catch Weight in Accounting Module for Odoo 16 +============================================= +* Catch Weight in Accounting Module for Odoo 16 + +Installation +============ + - www.odoo.com/documentation/16.0/setup/install.html + - Install our custom addon + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.odoo.com/documentation/user/16.0/legal/licenses/licenses.html) + +Company +------- +* 'Cybrosys Techno Solutions `__ + +Credits +------- +* Developer: +(V16) Swaroop N P + +Contacts +-------- +* Mail Contact : odoo@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 +========== +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit https://www.cybrosys.com + +Further information +=================== +HTML Description: ``__ + diff --git a/cw_account/__init__.py b/cw_account/__init__.py new file mode 100644 index 000000000..75c5e1fe0 --- /dev/null +++ b/cw_account/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies(). +# +# 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 + diff --git a/cw_account/__manifest__.py b/cw_account/__manifest__.py new file mode 100644 index 000000000..eb0599244 --- /dev/null +++ b/cw_account/__manifest__.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies(). +# +# 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': "Catch Weight - Account", + 'description': """ + This Module lets us to enable Catch Weight Management System in + Accounting Module + """, + 'summary': """Catch Weight Management In Accounting Module""", + 'version': '16.0.1.0.0', + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'category': 'Uncategorized', + 'depends': ['base', 'account','cw_stock', 'uom'], + 'data': [ + 'views/account_move_views.xml', + ], + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'application': False, + 'auto_install': False, + +} diff --git a/cw_account/doc/RELEASE_NOTES.md b/cw_account/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..5b639ce68 --- /dev/null +++ b/cw_account/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 18.11.2022 +#### Version 16.0.1.0.0 +#### ADD +- Initial commit for Odoo 16 Catch Weight Accounting diff --git a/cw_account/models/__init__.py b/cw_account/models/__init__.py new file mode 100644 index 000000000..274385e1f --- /dev/null +++ b/cw_account/models/__init__.py @@ -0,0 +1,21 @@ +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies(). +# +# 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 account_move_line + diff --git a/cw_account/models/account_move_line.py b/cw_account/models/account_move_line.py new file mode 100644 index 000000000..a1a696f01 --- /dev/null +++ b/cw_account/models/account_move_line.py @@ -0,0 +1,77 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies(). +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from odoo import models, fields, api + + +class AccountMoveLine(models.Model): + _inherit = 'account.move.line' + + cw_qty = fields.Float(string='CW-Qty', default=1.00, + help="Catch weight quantity", + compute='_compute_cw_qty', digits=(16, 4), + readonly=False) + category_id = fields.Many2one('uom.category', + default=lambda self: self.env.ref( + 'uom.product_uom_categ_kgm')) + cw_uom_id = fields.Many2one('uom.uom', string='Catch Weight UOM', + domain="[('category_id', '=', category_id)]", + help="Catch weight unit of measure", + readonly=False) + cw_hide = fields.Boolean(string='CW-Hide', default=False, + compute='_compute_hide') + + @api.depends('product_id') + def _compute_hide(self): + """visibility""" + for rec in self: + rec.cw_uom_id = rec.product_id.cw_uom_id.id + rec.cw_hide = bool(rec.product_id.catch_weigth_ok) + + @api.onchange('product_id', 'quantity') + def _onchange_product_id_qty(self): + """Calculating cw qty and cw uom""" + for rec in self: + if rec.product_id.catch_weigth_ok: + rec.cw_uom_id = rec.product_id.cw_uom_id.id + if rec.cw_uom_id == rec.product_uom_id: + rec.quantity = rec.cw_qty + else: + rec.cw_qty = rec.product_id.average_cw_qty * rec.quantity + + @api.onchange('cw_qty') + def _onchange_cw_cty(self): + """calculate product qty""" + for rec in self: + if rec.product_id.catch_weigth_ok and rec.product_id.average_cw_qty != 0: + rec.quantity = rec.cw_qty / rec.product_id.average_cw_qty + + def _compute_cw_qty(self): + """computing the qty""" + for rec in self: + rec.update({'cw_qty': rec.product_id.average_cw_qty * rec.quantity}) + + @api.onchange('product_uom_id', 'cw_uom_id') + def compute_weight(self): + """calculate cw qty""" + for rec in self: + if rec.product_id.catch_weigth_ok and rec.cw_uom_id and rec.product_uom_id.category_id == rec.cw_uom_id.category_id: + rec.cw_qty = rec.cw_uom_id.factor / rec.product_uom_id.factor diff --git a/cw_account/static/description/assets/icons/check.png b/cw_account/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/cw_account/static/description/assets/icons/check.png differ diff --git a/cw_account/static/description/assets/icons/chevron.png b/cw_account/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/cw_account/static/description/assets/icons/chevron.png differ diff --git a/cw_account/static/description/assets/icons/cogs.png b/cw_account/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/cw_account/static/description/assets/icons/cogs.png differ diff --git a/cw_account/static/description/assets/icons/consultation.png b/cw_account/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/cw_account/static/description/assets/icons/consultation.png differ diff --git a/cw_account/static/description/assets/icons/ecom-black.png b/cw_account/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/cw_account/static/description/assets/icons/ecom-black.png differ diff --git a/cw_account/static/description/assets/icons/education-black.png b/cw_account/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/cw_account/static/description/assets/icons/education-black.png differ diff --git a/cw_account/static/description/assets/icons/hotel-black.png b/cw_account/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/cw_account/static/description/assets/icons/hotel-black.png differ diff --git a/cw_account/static/description/assets/icons/license.png b/cw_account/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/cw_account/static/description/assets/icons/license.png differ diff --git a/cw_account/static/description/assets/icons/lifebuoy.png b/cw_account/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/cw_account/static/description/assets/icons/lifebuoy.png differ diff --git a/cw_account/static/description/assets/icons/manufacturing-black.png b/cw_account/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/cw_account/static/description/assets/icons/manufacturing-black.png differ diff --git a/cw_account/static/description/assets/icons/pos-black.png b/cw_account/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/cw_account/static/description/assets/icons/pos-black.png differ diff --git a/cw_account/static/description/assets/icons/puzzle.png b/cw_account/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/cw_account/static/description/assets/icons/puzzle.png differ diff --git a/cw_account/static/description/assets/icons/restaurant-black.png b/cw_account/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/cw_account/static/description/assets/icons/restaurant-black.png differ diff --git a/cw_account/static/description/assets/icons/service-black.png b/cw_account/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/cw_account/static/description/assets/icons/service-black.png differ diff --git a/cw_account/static/description/assets/icons/trading-black.png b/cw_account/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/cw_account/static/description/assets/icons/trading-black.png differ diff --git a/cw_account/static/description/assets/icons/training.png b/cw_account/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/cw_account/static/description/assets/icons/training.png differ diff --git a/cw_account/static/description/assets/icons/update.png b/cw_account/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/cw_account/static/description/assets/icons/update.png differ diff --git a/cw_account/static/description/assets/icons/user.png b/cw_account/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/cw_account/static/description/assets/icons/user.png differ diff --git a/cw_account/static/description/assets/icons/wrench.png b/cw_account/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/cw_account/static/description/assets/icons/wrench.png differ diff --git a/cw_account/static/description/assets/misc/categories.png b/cw_account/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/cw_account/static/description/assets/misc/categories.png differ diff --git a/cw_account/static/description/assets/misc/check-box.png b/cw_account/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/cw_account/static/description/assets/misc/check-box.png differ diff --git a/cw_account/static/description/assets/misc/compass.png b/cw_account/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/cw_account/static/description/assets/misc/compass.png differ diff --git a/cw_account/static/description/assets/misc/corporate.png b/cw_account/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/cw_account/static/description/assets/misc/corporate.png differ diff --git a/cw_account/static/description/assets/misc/customer-support.png b/cw_account/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/cw_account/static/description/assets/misc/customer-support.png differ diff --git a/cw_account/static/description/assets/misc/cybrosys-logo.png b/cw_account/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/cw_account/static/description/assets/misc/cybrosys-logo.png differ diff --git a/cw_account/static/description/assets/misc/features.png b/cw_account/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/cw_account/static/description/assets/misc/features.png differ diff --git a/cw_account/static/description/assets/misc/logo.png b/cw_account/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/cw_account/static/description/assets/misc/logo.png differ diff --git a/cw_account/static/description/assets/misc/pictures.png b/cw_account/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/cw_account/static/description/assets/misc/pictures.png differ diff --git a/cw_account/static/description/assets/misc/pie-chart.png b/cw_account/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/cw_account/static/description/assets/misc/pie-chart.png differ diff --git a/cw_account/static/description/assets/misc/right-arrow.png b/cw_account/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/cw_account/static/description/assets/misc/right-arrow.png differ diff --git a/cw_account/static/description/assets/misc/star.png b/cw_account/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/cw_account/static/description/assets/misc/star.png differ diff --git a/cw_account/static/description/assets/misc/support.png b/cw_account/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/cw_account/static/description/assets/misc/support.png differ diff --git a/cw_account/static/description/assets/misc/whatsapp.png b/cw_account/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/cw_account/static/description/assets/misc/whatsapp.png differ diff --git a/cw_account/static/description/assets/modules/1.png b/cw_account/static/description/assets/modules/1.png new file mode 100644 index 000000000..5238bdeab Binary files /dev/null and b/cw_account/static/description/assets/modules/1.png differ diff --git a/cw_account/static/description/assets/modules/2.png b/cw_account/static/description/assets/modules/2.png new file mode 100644 index 000000000..1ae7cfe3b Binary files /dev/null and b/cw_account/static/description/assets/modules/2.png differ diff --git a/cw_account/static/description/assets/modules/3.png b/cw_account/static/description/assets/modules/3.png new file mode 100644 index 000000000..3c3ff1afb Binary files /dev/null and b/cw_account/static/description/assets/modules/3.png differ diff --git a/cw_account/static/description/assets/modules/4.png b/cw_account/static/description/assets/modules/4.png new file mode 100644 index 000000000..3fae4631e Binary files /dev/null and b/cw_account/static/description/assets/modules/4.png differ diff --git a/cw_account/static/description/assets/modules/5.gif b/cw_account/static/description/assets/modules/5.gif new file mode 100644 index 000000000..2a5f8e659 Binary files /dev/null and b/cw_account/static/description/assets/modules/5.gif differ diff --git a/cw_account/static/description/assets/modules/6.png b/cw_account/static/description/assets/modules/6.png new file mode 100644 index 000000000..7f2815273 Binary files /dev/null and b/cw_account/static/description/assets/modules/6.png differ diff --git a/cw_account/static/description/assets/screenshots/hero.png b/cw_account/static/description/assets/screenshots/hero.png new file mode 100644 index 000000000..181fd5fcc Binary files /dev/null and b/cw_account/static/description/assets/screenshots/hero.png differ diff --git a/cw_account/static/description/assets/screenshots/screenshot-1.png b/cw_account/static/description/assets/screenshots/screenshot-1.png new file mode 100644 index 000000000..28c131bf8 Binary files /dev/null and b/cw_account/static/description/assets/screenshots/screenshot-1.png differ diff --git a/cw_account/static/description/banner.png b/cw_account/static/description/banner.png new file mode 100644 index 000000000..bfa6a66dd Binary files /dev/null and b/cw_account/static/description/banner.png differ diff --git a/cw_account/static/description/icon.png b/cw_account/static/description/icon.png new file mode 100644 index 000000000..62c8c6e7d Binary files /dev/null and b/cw_account/static/description/icon.png differ diff --git a/cw_account/static/description/index.html b/cw_account/static/description/index.html new file mode 100644 index 000000000..998131182 --- /dev/null +++ b/cw_account/static/description/index.html @@ -0,0 +1,547 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+ +

+ Catch Weight Management : Accounting

+

+ This Module Brings The Catch Weight System In The Accounting Module.

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

+ Explore This + Module

+
+ + + + +
+
+ +
+

+ Overview +

+
+
+
+ This module brings the catch weight system in the Accounting module.We can Invoice products based on their weight. +
+
+ + + +
+
+ +
+

+ Features +

+
+
+
+
+ +
+ Invoicing Based on Catch Weight. + +
+
+
+
+ + + +
+
+ +
+

+ Screenshots +

+
+
+
+ +
+

Invoice Products Based on Catch Weight

+

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

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/cw_account/views/account_move_views.xml b/cw_account/views/account_move_views.xml new file mode 100644 index 000000000..eaa18c3d6 --- /dev/null +++ b/cw_account/views/account_move_views.xml @@ -0,0 +1,26 @@ + + + + + + account.move.cw.inherit + account.move + + + + + + + + + + + + + + + + + + diff --git a/cw_mrp/README.rst b/cw_mrp/README.rst new file mode 100644 index 000000000..dd4ebac10 --- /dev/null +++ b/cw_mrp/README.rst @@ -0,0 +1,41 @@ +Catch Weight in Manufacturing Module for Odoo 16 +================================================ +* Catch Weight in Manufacturing Module for Odoo 16 + +Installation +============ + - www.odoo.com/documentation/16.0/setup/install.html + - Install our custom addon + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.odoo.com/documentation/user/16.0/legal/licenses/licenses.html) + +Company +------- +* 'Cybrosys Techno Solutions `__ + +Credits +------- +* Developer: +(V16) Swaroop N P + +Contacts +-------- +* Mail Contact : odoo@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 +========== +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit https://www.cybrosys.com + +Further information +=================== +HTML Description: ``__ + diff --git a/cw_mrp/__init__.py b/cw_mrp/__init__.py new file mode 100644 index 000000000..75c5e1fe0 --- /dev/null +++ b/cw_mrp/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies(). +# +# 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 + diff --git a/cw_mrp/__manifest__.py b/cw_mrp/__manifest__.py new file mode 100644 index 000000000..e9d7ec9d5 --- /dev/null +++ b/cw_mrp/__manifest__.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies(). +# +# 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': "Catch Weight - Manufacturing", + 'description': """ + This Module lets us to enable Catch Weight Management System in + Manufacturing Module + """, + 'summary': """Catch Weight Management In Manufacturing Module""", + 'version': '16.0.1.0.0', + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'category': 'Manufacturing', + 'depends': ['base', 'mrp', 'mrp_subcontracting', 'stock', 'cw_stock', 'uom'], + 'data': [ + 'views/mrp_bom_views.xml', + 'views/mrp_production_views.xml', + 'views/mrp_unbuild_views.xml', + ], + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'application': False, + 'auto_install': False, + +} diff --git a/cw_mrp/doc/RELEASE_NOTES.md b/cw_mrp/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..d14d4dbce --- /dev/null +++ b/cw_mrp/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 18.11.2022 +#### Version 16.0.1.0.0 +#### ADD +- Initial commit for Odoo 16 Catch weight Manufacturing diff --git a/cw_mrp/models/__init__.py b/cw_mrp/models/__init__.py new file mode 100644 index 000000000..1709620a7 --- /dev/null +++ b/cw_mrp/models/__init__.py @@ -0,0 +1,23 @@ +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies(). +# +# 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 mrp_bom +from . import mrp_bom_line +from . import mrp_production +from . import mrp_unbuild diff --git a/cw_mrp/models/mrp_bom.py b/cw_mrp/models/mrp_bom.py new file mode 100644 index 000000000..ae38f32d8 --- /dev/null +++ b/cw_mrp/models/mrp_bom.py @@ -0,0 +1,74 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies(). +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from odoo import models, fields, api + + +class MrpBom(models.Model): + _inherit = 'mrp.bom' + + cw_qty = fields.Float(string='CW-Qty', digits=(16, 4), + help="Catch weight quantity") + category_id = fields.Many2one('uom.category', + default=lambda self: self.env.ref( + 'uom.product_uom_categ_kgm')) + cw_uom_id = fields.Many2one('uom.uom', string='CW-Uom', + help="Catch weight unit of measure", + domain="[('category_id', '=', category_id)]", + store=True) + toggle_cw = fields.Boolean(string='is_cw_product', default=False) + + @api.onchange('product_tmpl_id') + def _onchange_product(self): + """Calculating cw qty and cw uom""" + self.toggle_cw = bool(self.product_tmpl_id.catch_weigth_ok) + self.cw_uom_id = self.product_tmpl_id.cw_uom_id + self.cw_qty = self.product_tmpl_id.average_cw_qty + + @api.onchange('cw_qty') + def _onchange_cw_qty(self): + """Calculating product qty""" + if self.toggle_cw and self.product_tmpl_id.average_cw_qty != 0: + if self.cw_uom_id == self.product_uom_id: + self.product_qty = self.cw_qty + else: + self.product_qty = self.cw_qty / self.product_tmpl_id.average_cw_qty + + @api.onchange('product_qty') + def _onchange_product_qty(self): + """Calculating cw qty""" + if self.toggle_cw: + if self.cw_uom_id == self.product_uom_id: + self.cw_qty = self.product_qty + else: + self.cw_qty = self.product_tmpl_id.average_cw_qty * self.product_qty + + @api.onchange('product_uom_id', 'cw_uom_id') + def compute_weight(self): + """Calculating cw qty""" + if self.product_tmpl_id.catch_weigth_ok and self.cw_uom_id and self.product_uom_id.category_id == self.cw_uom_id.category_id: + self.cw_qty = self.cw_uom_id.factor / self.product_uom_id.factor + + + + + + diff --git a/cw_mrp/models/mrp_bom_line.py b/cw_mrp/models/mrp_bom_line.py new file mode 100644 index 000000000..de18e48d7 --- /dev/null +++ b/cw_mrp/models/mrp_bom_line.py @@ -0,0 +1,64 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies(). +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from odoo import models, fields, api + + +class MrpBomLine(models.Model): + _inherit = 'mrp.bom.line' + + cw_qty = fields.Float(string='CW-Qty', digits=(16, 4), + help="Catch weight quantity") + category_id = fields.Many2one('uom.category', + default=lambda self: self.env.ref( + 'uom.product_uom_categ_kgm')) + cw_uom_id = fields.Many2one('uom.uom', string='CW-Uom', + domain="[('category_id', '=', category_id)]", + store=True) + cw_hide = fields.Boolean(string='CW-Hide', default=False) + + @api.onchange('product_id', 'product_qty') + def onchange_bom_product_id(self): + """Calculating cw qty and cw uom""" + for rec in self: + rec.cw_uom_id = rec.product_id.cw_uom_id.id + rec.cw_hide = bool(rec.product_id.catch_weigth_ok) + if rec.cw_uom_id == rec.product_uom_id: + rec.cw_qty = rec.product_qty + else: + rec.cw_qty = rec.product_qty * rec.product_id.average_cw_qty + + @api.onchange('cw_qty') + def onchange_bom_cw_qty(self): + """Calculating product qty""" + for rec in self: + if rec.product_id.catch_weigth_ok and rec.product_qty and rec.cw_qty != 0 and rec.product_id.average_cw_qty != 0: + if rec.cw_uom_id == rec.product_uom_id: + rec.product_qty = rec.cw_qty + else: + rec.product_qty = rec.cw_qty / rec.product_id.average_cw_qty + + @api.onchange('product_uom_id', 'cw_uom_id') + def compute_weight(self): + """Calculating cw qty""" + for rec in self: + if rec.product_id.catch_weigth_ok and rec.cw_uom_id and rec.product_uom_id.category_id == rec.cw_uom_id.category_id: + rec.cw_qty = rec.cw_uom_id.factor / rec.product_uom_id.factor diff --git a/cw_mrp/models/mrp_production.py b/cw_mrp/models/mrp_production.py new file mode 100644 index 000000000..900295c10 --- /dev/null +++ b/cw_mrp/models/mrp_production.py @@ -0,0 +1,56 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies(). +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from odoo import models, fields, api + + +class MrpProduction(models.Model): + _inherit = 'mrp.production' + + cw_qty = fields.Float(string='CW-Qty', digits=(16, 4), + help="Catch weight quantity") + category_id = fields.Many2one('uom.category', + default=lambda self: self.env.ref( + 'uom.product_uom_categ_kgm')) + cw_uom_id = fields.Many2one('uom.uom', string='CW-Uom', + help="Catch weight unit of measure", + domain="[('category_id', '=', category_id)]", + store=True) + toggle_cw = fields.Boolean(string='is_cw_product', default=False) + + @api.onchange('product_tmpl_id') + def _onchange_product(self): + """Calculating cw qty and cw uom""" + self.toggle_cw = bool(self.product_tmpl_id.catch_weigth_ok) + self.cw_uom_id = self.product_tmpl_id.cw_uom_id + self.cw_qty = self.product_tmpl_id.average_cw_qty + + @api.onchange('cw_qty') + def _onchange_cw_qty(self): + """Calculating product qty""" + if self.toggle_cw and self.product_tmpl_id.average_cw_qty != 0: + self.product_qty = self.cw_qty / self.product_tmpl_id.average_cw_qty + + @api.onchange('product_qty') + def _onchange_product_qty(self): + """Calculating cw qty""" + if self.toggle_cw: + self.cw_qty = self.product_tmpl_id.average_cw_qty * self.product_qty diff --git a/cw_mrp/models/mrp_unbuild.py b/cw_mrp/models/mrp_unbuild.py new file mode 100644 index 000000000..1ccafd69a --- /dev/null +++ b/cw_mrp/models/mrp_unbuild.py @@ -0,0 +1,68 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies(). +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from odoo import models, fields, api + + +class MrpUnbuild(models.Model): + _inherit = 'mrp.unbuild' + + cw_qty = fields.Float(string='CW-Qty', digits=(16, 4), + help="Catch weight quantity") + category_id = fields.Many2one('uom.category', + default=lambda self: self.env.ref( + 'uom.product_uom_categ_kgm')) + cw_uom_id = fields.Many2one('uom.uom', string='CW-Uom', + help="Catch weight unit of measure", + domain="[('category_id', '=', category_id)]", + store=True) + toggle_cw = fields.Boolean(string='is_cw_product', default=False) + + @api.onchange('product_id') + def _onchange_product(self): + """Calculating cw qty and cw uom""" + self.toggle_cw = bool(self.product_id.catch_weigth_ok) + self.cw_uom_id = self.product_id.cw_uom_id + self.cw_qty = self.product_id.average_cw_qty * self.product_qty + + @api.onchange('cw_qty') + def _onchange_cw_qty_unbuild(self): + """Calculating product qty""" + if self.toggle_cw and self.product_id.average_cw_qty != 0: + if self.cw_uom_id == self.product_uom_id: + self.product_qty = self.cw_qty + else: + self.product_qty = self.cw_qty / self.product_id.average_cw_qty + + @api.onchange('product_qty') + def _onchange_product_qty_unbuild(self): + """Calculating cw qty""" + if self.toggle_cw: + if self.cw_uom_id == self.product_uom_id: + self.cw_qty = self.product_qty + else: + self.cw_qty = self.product_id.average_cw_qty * self.product_qty + + @api.onchange('product_uom_id', 'cw_uom_id') + def compute_weight(self): + """Calculating cw qty""" + if self.product_id.catch_weigth_ok and self.cw_uom_id and self.product_uom_id.category_id == self.cw_uom_id.category_id: + self.cw_qty = self.cw_uom_id.factor / self.product_uom_id.factor diff --git a/cw_mrp/static/description/assets/icons/check.png b/cw_mrp/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/cw_mrp/static/description/assets/icons/check.png differ diff --git a/cw_mrp/static/description/assets/icons/chevron.png b/cw_mrp/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/cw_mrp/static/description/assets/icons/chevron.png differ diff --git a/cw_mrp/static/description/assets/icons/cogs.png b/cw_mrp/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/cw_mrp/static/description/assets/icons/cogs.png differ diff --git a/cw_mrp/static/description/assets/icons/consultation.png b/cw_mrp/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/cw_mrp/static/description/assets/icons/consultation.png differ diff --git a/cw_mrp/static/description/assets/icons/ecom-black.png b/cw_mrp/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/cw_mrp/static/description/assets/icons/ecom-black.png differ diff --git a/cw_mrp/static/description/assets/icons/education-black.png b/cw_mrp/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/cw_mrp/static/description/assets/icons/education-black.png differ diff --git a/cw_mrp/static/description/assets/icons/hotel-black.png b/cw_mrp/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/cw_mrp/static/description/assets/icons/hotel-black.png differ diff --git a/cw_mrp/static/description/assets/icons/license.png b/cw_mrp/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/cw_mrp/static/description/assets/icons/license.png differ diff --git a/cw_mrp/static/description/assets/icons/lifebuoy.png b/cw_mrp/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/cw_mrp/static/description/assets/icons/lifebuoy.png differ diff --git a/cw_mrp/static/description/assets/icons/manufacturing-black.png b/cw_mrp/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/cw_mrp/static/description/assets/icons/manufacturing-black.png differ diff --git a/cw_mrp/static/description/assets/icons/pos-black.png b/cw_mrp/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/cw_mrp/static/description/assets/icons/pos-black.png differ diff --git a/cw_mrp/static/description/assets/icons/puzzle.png b/cw_mrp/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/cw_mrp/static/description/assets/icons/puzzle.png differ diff --git a/cw_mrp/static/description/assets/icons/restaurant-black.png b/cw_mrp/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/cw_mrp/static/description/assets/icons/restaurant-black.png differ diff --git a/cw_mrp/static/description/assets/icons/service-black.png b/cw_mrp/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/cw_mrp/static/description/assets/icons/service-black.png differ diff --git a/cw_mrp/static/description/assets/icons/trading-black.png b/cw_mrp/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/cw_mrp/static/description/assets/icons/trading-black.png differ diff --git a/cw_mrp/static/description/assets/icons/training.png b/cw_mrp/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/cw_mrp/static/description/assets/icons/training.png differ diff --git a/cw_mrp/static/description/assets/icons/update.png b/cw_mrp/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/cw_mrp/static/description/assets/icons/update.png differ diff --git a/cw_mrp/static/description/assets/icons/user.png b/cw_mrp/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/cw_mrp/static/description/assets/icons/user.png differ diff --git a/cw_mrp/static/description/assets/icons/wrench.png b/cw_mrp/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/cw_mrp/static/description/assets/icons/wrench.png differ diff --git a/cw_mrp/static/description/assets/misc/categories.png b/cw_mrp/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/cw_mrp/static/description/assets/misc/categories.png differ diff --git a/cw_mrp/static/description/assets/misc/check-box.png b/cw_mrp/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/cw_mrp/static/description/assets/misc/check-box.png differ diff --git a/cw_mrp/static/description/assets/misc/compass.png b/cw_mrp/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/cw_mrp/static/description/assets/misc/compass.png differ diff --git a/cw_mrp/static/description/assets/misc/corporate.png b/cw_mrp/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/cw_mrp/static/description/assets/misc/corporate.png differ diff --git a/cw_mrp/static/description/assets/misc/customer-support.png b/cw_mrp/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/cw_mrp/static/description/assets/misc/customer-support.png differ diff --git a/cw_mrp/static/description/assets/misc/cybrosys-logo.png b/cw_mrp/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/cw_mrp/static/description/assets/misc/cybrosys-logo.png differ diff --git a/cw_mrp/static/description/assets/misc/features.png b/cw_mrp/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/cw_mrp/static/description/assets/misc/features.png differ diff --git a/cw_mrp/static/description/assets/misc/logo.png b/cw_mrp/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/cw_mrp/static/description/assets/misc/logo.png differ diff --git a/cw_mrp/static/description/assets/misc/pictures.png b/cw_mrp/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/cw_mrp/static/description/assets/misc/pictures.png differ diff --git a/cw_mrp/static/description/assets/misc/pie-chart.png b/cw_mrp/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/cw_mrp/static/description/assets/misc/pie-chart.png differ diff --git a/cw_mrp/static/description/assets/misc/right-arrow.png b/cw_mrp/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/cw_mrp/static/description/assets/misc/right-arrow.png differ diff --git a/cw_mrp/static/description/assets/misc/star.png b/cw_mrp/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/cw_mrp/static/description/assets/misc/star.png differ diff --git a/cw_mrp/static/description/assets/misc/support.png b/cw_mrp/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/cw_mrp/static/description/assets/misc/support.png differ diff --git a/cw_mrp/static/description/assets/misc/whatsapp.png b/cw_mrp/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/cw_mrp/static/description/assets/misc/whatsapp.png differ diff --git a/cw_mrp/static/description/assets/modules/1.png b/cw_mrp/static/description/assets/modules/1.png new file mode 100644 index 000000000..5238bdeab Binary files /dev/null and b/cw_mrp/static/description/assets/modules/1.png differ diff --git a/cw_mrp/static/description/assets/modules/2.png b/cw_mrp/static/description/assets/modules/2.png new file mode 100644 index 000000000..1ae7cfe3b Binary files /dev/null and b/cw_mrp/static/description/assets/modules/2.png differ diff --git a/cw_mrp/static/description/assets/modules/3.png b/cw_mrp/static/description/assets/modules/3.png new file mode 100644 index 000000000..3c3ff1afb Binary files /dev/null and b/cw_mrp/static/description/assets/modules/3.png differ diff --git a/cw_mrp/static/description/assets/modules/4.png b/cw_mrp/static/description/assets/modules/4.png new file mode 100644 index 000000000..3fae4631e Binary files /dev/null and b/cw_mrp/static/description/assets/modules/4.png differ diff --git a/cw_mrp/static/description/assets/modules/5.gif b/cw_mrp/static/description/assets/modules/5.gif new file mode 100644 index 000000000..2a5f8e659 Binary files /dev/null and b/cw_mrp/static/description/assets/modules/5.gif differ diff --git a/cw_mrp/static/description/assets/modules/6.png b/cw_mrp/static/description/assets/modules/6.png new file mode 100644 index 000000000..7f2815273 Binary files /dev/null and b/cw_mrp/static/description/assets/modules/6.png differ diff --git a/cw_mrp/static/description/assets/screenshots/hero.gif b/cw_mrp/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..f9dde3adb Binary files /dev/null and b/cw_mrp/static/description/assets/screenshots/hero.gif differ diff --git a/cw_mrp/static/description/assets/screenshots/screenshot-1.png b/cw_mrp/static/description/assets/screenshots/screenshot-1.png new file mode 100644 index 000000000..ad88ae358 Binary files /dev/null and b/cw_mrp/static/description/assets/screenshots/screenshot-1.png differ diff --git a/cw_mrp/static/description/assets/screenshots/screenshot-2.png b/cw_mrp/static/description/assets/screenshots/screenshot-2.png new file mode 100644 index 000000000..690b9387e Binary files /dev/null and b/cw_mrp/static/description/assets/screenshots/screenshot-2.png differ diff --git a/cw_mrp/static/description/assets/screenshots/screenshot-3.png b/cw_mrp/static/description/assets/screenshots/screenshot-3.png new file mode 100644 index 000000000..9e69304d5 Binary files /dev/null and b/cw_mrp/static/description/assets/screenshots/screenshot-3.png differ diff --git a/cw_mrp/static/description/assets/screenshots/screenshot-4.png b/cw_mrp/static/description/assets/screenshots/screenshot-4.png new file mode 100644 index 000000000..0d6f85a8e Binary files /dev/null and b/cw_mrp/static/description/assets/screenshots/screenshot-4.png differ diff --git a/cw_mrp/static/description/assets/screenshots/screenshot-5.png b/cw_mrp/static/description/assets/screenshots/screenshot-5.png new file mode 100644 index 000000000..814da7510 Binary files /dev/null and b/cw_mrp/static/description/assets/screenshots/screenshot-5.png differ diff --git a/cw_mrp/static/description/assets/screenshots/screenshot-6.png b/cw_mrp/static/description/assets/screenshots/screenshot-6.png new file mode 100644 index 000000000..529af8c12 Binary files /dev/null and b/cw_mrp/static/description/assets/screenshots/screenshot-6.png differ diff --git a/cw_mrp/static/description/assets/screenshots/screenshot.png b/cw_mrp/static/description/assets/screenshots/screenshot.png new file mode 100644 index 000000000..a5b09ef15 Binary files /dev/null and b/cw_mrp/static/description/assets/screenshots/screenshot.png differ diff --git a/cw_mrp/static/description/banner.png b/cw_mrp/static/description/banner.png new file mode 100644 index 000000000..7d5c3154f Binary files /dev/null and b/cw_mrp/static/description/banner.png differ diff --git a/cw_mrp/static/description/icon.png b/cw_mrp/static/description/icon.png new file mode 100644 index 000000000..025af1381 Binary files /dev/null and b/cw_mrp/static/description/icon.png differ diff --git a/cw_mrp/static/description/index.html b/cw_mrp/static/description/index.html new file mode 100644 index 000000000..b2551f3c8 --- /dev/null +++ b/cw_mrp/static/description/index.html @@ -0,0 +1,615 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+ +

+ Catch Weight Management : Manufacturing

+

+ This Module Brings The Catch Weight System In The Manufacturing Module.

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

+ Explore This + Module

+
+ + + + +
+
+ +
+

+ Overview +

+
+
+
+ This module brings the catch weight system in the manufacturing module.We can manufacture, scrap and unbuild products based on the weight of the product. +
+
+ + + +
+
+ +
+

+ Features +

+
+
+
+
+ +
+ Bill of Material Based on Catch Weight + +
+
+
+ +
+ Manufacturing Orders based on catch weight + +
+
+ + + + + + + + + +
+
+
+ +
+ Unbild Orders based on catch weight + +
+
+
+ +
+ Unbild Orders : Stock Move With Catch weight + +
+
+
+
+ + + +
+
+ +
+

+ Screenshots +

+
+
+
+ +
+

Enable Catch Weight On products

+

We can click on the check box "Catch Weight Product" to Enable The Catch weight on the selected product.

+ +
+ +
+

Setting Catch Weight UOM

+

We can set the Catch Weight UOM and weight on each product

+ +
+ +
+

Bill of Material Based on Catch Weight

+

+ +
+ +
+

Manufacturing Order Based on Catch Weight

+

+ +
+ +
+

Unbuild Order Based on Catch Weight

+

+ +
+ +
+

Unbild Orders : Stock Move With Catch weight

+

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

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/cw_mrp/views/mrp_bom_views.xml b/cw_mrp/views/mrp_bom_views.xml new file mode 100644 index 000000000..e908c7e01 --- /dev/null +++ b/cw_mrp/views/mrp_bom_views.xml @@ -0,0 +1,41 @@ + + + + + + mrp.bom.cw.inherit + mrp.bom + + + + + + + + + + + + + + + + + + + + diff --git a/cw_mrp/views/mrp_production_views.xml b/cw_mrp/views/mrp_production_views.xml new file mode 100644 index 000000000..5b340037c --- /dev/null +++ b/cw_mrp/views/mrp_production_views.xml @@ -0,0 +1,46 @@ + + + + + + mrp.production.cw.stock.mov.inherit + mrp.production + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/cw_mrp/views/mrp_unbuild_views.xml b/cw_mrp/views/mrp_unbuild_views.xml new file mode 100644 index 000000000..505ac796a --- /dev/null +++ b/cw_mrp/views/mrp_unbuild_views.xml @@ -0,0 +1,55 @@ + + + + + + mrp.unbuild.cw.inherit + mrp.unbuild + + + + + + + + + + + + + + mrp.unbuild.simplified.cw.inherit + mrp.unbuild + + + + + + + + + + + + + + diff --git a/cw_purchase/README.rst b/cw_purchase/README.rst new file mode 100644 index 000000000..7c6b99f89 --- /dev/null +++ b/cw_purchase/README.rst @@ -0,0 +1,40 @@ +Catch Weight in Purchase Module for Odoo 16 +=========================================== +* Catch Weight in Purchase Module for Odoo 16 + +Installation +============ + - www.odoo.com/documentation/16.0/setup/install.html + - Install our custom addon + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.odoo.com/documentation/user/16.0/legal/licenses/licenses.html) + +Company +------- +* 'Cybrosys Techno Solutions `__ + +Credits +------- +* Developer: +(V16) Swaroop N P + +Contacts +-------- +* Mail Contact : odoo@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 +========== +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit https://www.cybrosys.com + +Further information +=================== +HTML Description: ``__ diff --git a/cw_purchase/__init__.py b/cw_purchase/__init__.py new file mode 100644 index 000000000..75c5e1fe0 --- /dev/null +++ b/cw_purchase/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies(). +# +# 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 + diff --git a/cw_purchase/__manifest__.py b/cw_purchase/__manifest__.py new file mode 100644 index 000000000..da5b3a54b --- /dev/null +++ b/cw_purchase/__manifest__.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies(). +# +# 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': "Catch Weight - Purchase", + 'description': """ + Allows to enable Catch Weight Management System in + Purchase Module + """, + 'summary': """Catch Weight Management In Purchase Module""", + 'version': '16.0.1.0.0', + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'category': 'Purchase', + 'depends': ['base', 'purchase', 'stock', 'purchase_stock', 'cw_stock', 'uom'], + 'data': [ + 'views/purchase_order_line_view.xml', + ], + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'application': False, + 'auto_install': False, + +} diff --git a/cw_purchase/doc/RELEASE_NOTES.md b/cw_purchase/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..c44784995 --- /dev/null +++ b/cw_purchase/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 18.11.2022 +#### Version 16.0.1.0.0 +#### ADD +- Initial commit for Odoo 16 Catch Weight Purchase diff --git a/cw_purchase/models/__init__.py b/cw_purchase/models/__init__.py new file mode 100644 index 000000000..9b4de3d30 --- /dev/null +++ b/cw_purchase/models/__init__.py @@ -0,0 +1,21 @@ +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies(). +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from . import purchase_order_line diff --git a/cw_purchase/models/purchase_order_line.py b/cw_purchase/models/purchase_order_line.py new file mode 100644 index 000000000..8f6f4ef9c --- /dev/null +++ b/cw_purchase/models/purchase_order_line.py @@ -0,0 +1,75 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies(). +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from odoo import models, fields, api + + +class PurchaseOrderLine(models.Model): + _inherit = 'purchase.order.line' + + cw_qty = fields.Float(string='CW-Qty', digits=(16, 4), + help="Catch weight quantity") + category_id = fields.Many2one('uom.category', + default=lambda self: self.env.ref( + 'uom.product_uom_categ_kgm')) + cw_uom_id = fields.Many2one('uom.uom', string='CW-Uom', + help="Catch weight unit of measure", + domain="[('category_id', '=', category_id)]") + cw_received = fields.Float(string='CW-Received', readonly=True, + compute='_compute_cw_invoiced_cw_received', + digits=(16, 4)) + cw_invoiced = fields.Float(string='CW-Invoiced', readonly=True, + compute='_compute_cw_invoiced_cw_received', + digits=(16, 4)) + + @api.onchange('product_id', 'product_qty') + def _onchange_product_id_product_qty(self): + """Change product and product quantity + Calculating the cw unit of measure and cw quantity""" + for rec in self: + if rec.product_id.catch_weigth_ok: + rec.price_unit = rec.product_id.list_price + rec.cw_uom_id = rec.product_id.cw_uom_id.id + if rec.cw_uom_id == rec.product_uom: + rec.product_qty = rec.cw_qty + else: + rec.cw_qty = rec.product_qty * rec.product_id.average_cw_qty + + @api.onchange('cw_qty') + def _onchange_cw_qty(self): + """Change the cw qty""" + for rec in self: + if rec.product_id.catch_weigth_ok and rec.product_id.average_cw_qty != 0: + if rec.cw_uom_id == rec.product_uom: + rec.product_qty = rec.cw_qty + else: + rec.product_qty = rec.cw_qty / rec.product_id.average_cw_qty + + def _compute_cw_invoiced_cw_received(self): + """Calculating cw received and invoiced qty + Calculating uom and price""" + for rec in self: + rec.update({ + 'cw_received': rec.qty_received * rec.product_id.average_cw_qty, + 'price_unit': rec.product_id.list_price, + 'cw_uom_id': rec.product_id.cw_uom_id, + 'cw_invoiced': rec.qty_invoiced * rec.product_id.average_cw_qty + }) diff --git a/cw_purchase/static/description/assets/icons/check.png b/cw_purchase/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/cw_purchase/static/description/assets/icons/check.png differ diff --git a/cw_purchase/static/description/assets/icons/chevron.png b/cw_purchase/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/cw_purchase/static/description/assets/icons/chevron.png differ diff --git a/cw_purchase/static/description/assets/icons/cogs.png b/cw_purchase/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/cw_purchase/static/description/assets/icons/cogs.png differ diff --git a/cw_purchase/static/description/assets/icons/consultation.png b/cw_purchase/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/cw_purchase/static/description/assets/icons/consultation.png differ diff --git a/cw_purchase/static/description/assets/icons/ecom-black.png b/cw_purchase/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/cw_purchase/static/description/assets/icons/ecom-black.png differ diff --git a/cw_purchase/static/description/assets/icons/education-black.png b/cw_purchase/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/cw_purchase/static/description/assets/icons/education-black.png differ diff --git a/cw_purchase/static/description/assets/icons/hotel-black.png b/cw_purchase/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/cw_purchase/static/description/assets/icons/hotel-black.png differ diff --git a/cw_purchase/static/description/assets/icons/license.png b/cw_purchase/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/cw_purchase/static/description/assets/icons/license.png differ diff --git a/cw_purchase/static/description/assets/icons/lifebuoy.png b/cw_purchase/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/cw_purchase/static/description/assets/icons/lifebuoy.png differ diff --git a/cw_purchase/static/description/assets/icons/manufacturing-black.png b/cw_purchase/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/cw_purchase/static/description/assets/icons/manufacturing-black.png differ diff --git a/cw_purchase/static/description/assets/icons/pos-black.png b/cw_purchase/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/cw_purchase/static/description/assets/icons/pos-black.png differ diff --git a/cw_purchase/static/description/assets/icons/puzzle.png b/cw_purchase/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/cw_purchase/static/description/assets/icons/puzzle.png differ diff --git a/cw_purchase/static/description/assets/icons/restaurant-black.png b/cw_purchase/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/cw_purchase/static/description/assets/icons/restaurant-black.png differ diff --git a/cw_purchase/static/description/assets/icons/service-black.png b/cw_purchase/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/cw_purchase/static/description/assets/icons/service-black.png differ diff --git a/cw_purchase/static/description/assets/icons/trading-black.png b/cw_purchase/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/cw_purchase/static/description/assets/icons/trading-black.png differ diff --git a/cw_purchase/static/description/assets/icons/training.png b/cw_purchase/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/cw_purchase/static/description/assets/icons/training.png differ diff --git a/cw_purchase/static/description/assets/icons/update.png b/cw_purchase/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/cw_purchase/static/description/assets/icons/update.png differ diff --git a/cw_purchase/static/description/assets/icons/user.png b/cw_purchase/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/cw_purchase/static/description/assets/icons/user.png differ diff --git a/cw_purchase/static/description/assets/icons/wrench.png b/cw_purchase/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/cw_purchase/static/description/assets/icons/wrench.png differ diff --git a/cw_purchase/static/description/assets/misc/categories.png b/cw_purchase/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/cw_purchase/static/description/assets/misc/categories.png differ diff --git a/cw_purchase/static/description/assets/misc/check-box.png b/cw_purchase/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/cw_purchase/static/description/assets/misc/check-box.png differ diff --git a/cw_purchase/static/description/assets/misc/compass.png b/cw_purchase/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/cw_purchase/static/description/assets/misc/compass.png differ diff --git a/cw_purchase/static/description/assets/misc/corporate.png b/cw_purchase/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/cw_purchase/static/description/assets/misc/corporate.png differ diff --git a/cw_purchase/static/description/assets/misc/customer-support.png b/cw_purchase/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/cw_purchase/static/description/assets/misc/customer-support.png differ diff --git a/cw_purchase/static/description/assets/misc/cybrosys-logo.png b/cw_purchase/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/cw_purchase/static/description/assets/misc/cybrosys-logo.png differ diff --git a/cw_purchase/static/description/assets/misc/features.png b/cw_purchase/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/cw_purchase/static/description/assets/misc/features.png differ diff --git a/cw_purchase/static/description/assets/misc/logo.png b/cw_purchase/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/cw_purchase/static/description/assets/misc/logo.png differ diff --git a/cw_purchase/static/description/assets/misc/pictures.png b/cw_purchase/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/cw_purchase/static/description/assets/misc/pictures.png differ diff --git a/cw_purchase/static/description/assets/misc/pie-chart.png b/cw_purchase/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/cw_purchase/static/description/assets/misc/pie-chart.png differ diff --git a/cw_purchase/static/description/assets/misc/right-arrow.png b/cw_purchase/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/cw_purchase/static/description/assets/misc/right-arrow.png differ diff --git a/cw_purchase/static/description/assets/misc/star.png b/cw_purchase/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/cw_purchase/static/description/assets/misc/star.png differ diff --git a/cw_purchase/static/description/assets/misc/support.png b/cw_purchase/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/cw_purchase/static/description/assets/misc/support.png differ diff --git a/cw_purchase/static/description/assets/misc/whatsapp.png b/cw_purchase/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/cw_purchase/static/description/assets/misc/whatsapp.png differ diff --git a/cw_purchase/static/description/assets/modules/1.png b/cw_purchase/static/description/assets/modules/1.png new file mode 100644 index 000000000..5238bdeab Binary files /dev/null and b/cw_purchase/static/description/assets/modules/1.png differ diff --git a/cw_purchase/static/description/assets/modules/2.png b/cw_purchase/static/description/assets/modules/2.png new file mode 100644 index 000000000..1ae7cfe3b Binary files /dev/null and b/cw_purchase/static/description/assets/modules/2.png differ diff --git a/cw_purchase/static/description/assets/modules/3.png b/cw_purchase/static/description/assets/modules/3.png new file mode 100644 index 000000000..3c3ff1afb Binary files /dev/null and b/cw_purchase/static/description/assets/modules/3.png differ diff --git a/cw_purchase/static/description/assets/modules/4.png b/cw_purchase/static/description/assets/modules/4.png new file mode 100644 index 000000000..3fae4631e Binary files /dev/null and b/cw_purchase/static/description/assets/modules/4.png differ diff --git a/cw_purchase/static/description/assets/modules/5.gif b/cw_purchase/static/description/assets/modules/5.gif new file mode 100644 index 000000000..2a5f8e659 Binary files /dev/null and b/cw_purchase/static/description/assets/modules/5.gif differ diff --git a/cw_purchase/static/description/assets/modules/6.png b/cw_purchase/static/description/assets/modules/6.png new file mode 100644 index 000000000..7f2815273 Binary files /dev/null and b/cw_purchase/static/description/assets/modules/6.png differ diff --git a/cw_purchase/static/description/assets/screenshots/hero.gif b/cw_purchase/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..8cb0de393 Binary files /dev/null and b/cw_purchase/static/description/assets/screenshots/hero.gif differ diff --git a/cw_purchase/static/description/assets/screenshots/screenshot-1.png b/cw_purchase/static/description/assets/screenshots/screenshot-1.png new file mode 100644 index 000000000..ad88ae358 Binary files /dev/null and b/cw_purchase/static/description/assets/screenshots/screenshot-1.png differ diff --git a/cw_purchase/static/description/assets/screenshots/screenshot-2.png b/cw_purchase/static/description/assets/screenshots/screenshot-2.png new file mode 100644 index 000000000..690b9387e Binary files /dev/null and b/cw_purchase/static/description/assets/screenshots/screenshot-2.png differ diff --git a/cw_purchase/static/description/assets/screenshots/screenshot-3.png b/cw_purchase/static/description/assets/screenshots/screenshot-3.png new file mode 100644 index 000000000..0f7e3919f Binary files /dev/null and b/cw_purchase/static/description/assets/screenshots/screenshot-3.png differ diff --git a/cw_purchase/static/description/assets/screenshots/screenshot-4.png b/cw_purchase/static/description/assets/screenshots/screenshot-4.png new file mode 100644 index 000000000..13dac4a7b Binary files /dev/null and b/cw_purchase/static/description/assets/screenshots/screenshot-4.png differ diff --git a/cw_purchase/static/description/assets/screenshots/screenshot-5.png b/cw_purchase/static/description/assets/screenshots/screenshot-5.png new file mode 100644 index 000000000..70a5a0696 Binary files /dev/null and b/cw_purchase/static/description/assets/screenshots/screenshot-5.png differ diff --git a/cw_purchase/static/description/banner.png b/cw_purchase/static/description/banner.png new file mode 100644 index 000000000..4e50c4cc0 Binary files /dev/null and b/cw_purchase/static/description/banner.png differ diff --git a/cw_purchase/static/description/icon.png b/cw_purchase/static/description/icon.png new file mode 100644 index 000000000..b6eb9b9bc Binary files /dev/null and b/cw_purchase/static/description/icon.png differ diff --git a/cw_purchase/static/description/index.html b/cw_purchase/static/description/index.html new file mode 100644 index 000000000..06d68eea5 --- /dev/null +++ b/cw_purchase/static/description/index.html @@ -0,0 +1,615 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+ +

+ Catch Weight Management : Purchase

+

+ This Module Brings The Catch Weight System In The Purchase Module.

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

+ Explore This + Module

+
+ + + + +
+
+ +
+

+ Overview +

+
+
+
+ This module brings the catch weight system in the Purchase module.We can We can enable the catch weight for each product, purchase and invoice products based on catch weight. +
+
+ + + +
+
+ +
+

+ Features +

+
+
+
+
+ +
+ Enable catch weight for each product. + +
+
+
+ +
+ Catch Weight In purchase Order + +
+
+ + + + + + + + + +
+
+
+ +
+ Catch Weight In Stock Picking + +
+
+
+ +
+ Products Can Be Invoiced Based On Catch Wight. + +
+
+
+
+ + + +
+
+ +
+

+ Screenshots +

+
+
+
+ +
+

Enable Catch Weight On products

+

We can click on the check box "Catch Weight Product" to Enable The Catch weight on the selected product.

+ +
+ +
+

Setting Catch Weight UOM

+

We can set the Catch Weight UOM on each products and also set the sale price and cost based on UOM or Catch weight-UOM

+ +
+ +
+

Catch Weight In purchase Order

+

We can purchase products based on catch weight

+ +
+ + + + + + + +
+

Catch Weight In Stock Picking

+

+ +
+ +
+

Products Can Be Invoiced Based On Catch Wight.

+

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

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/cw_purchase/views/purchase_order_line_view.xml b/cw_purchase/views/purchase_order_line_view.xml new file mode 100644 index 000000000..60cacdd84 --- /dev/null +++ b/cw_purchase/views/purchase_order_line_view.xml @@ -0,0 +1,25 @@ + + + + + sale.order.view.inherit1 + purchase.order + + + + + + + + + + + + + +