diff --git a/cw_stock/README.rst b/cw_stock/README.rst new file mode 100644 index 000000000..f897e5068 --- /dev/null +++ b/cw_stock/README.rst @@ -0,0 +1,46 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Catch Weight - Stock +==================== +* Enable Catch Weight Management System in Inventory Module + +Installation +============ + - www.odoo.com/documentation/17.0/setup/install.html + - Install our custom addon + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developer:(V16) Swaroop N P + (V17) Gayathri V + +Contact : odoo@cybrosys.com + +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_stock/__init__.py b/cw_stock/__init__.py new file mode 100644 index 000000000..6a2e5bf94 --- /dev/null +++ b/cw_stock/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-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_stock/__manifest__.py b/cw_stock/__manifest__.py new file mode 100644 index 000000000..a47c6a1f8 --- /dev/null +++ b/cw_stock/__manifest__.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-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 - Stock", + 'version': '17.0.1.0.0', + 'category': 'Warehouse', + 'summary': """Catch Weight Management In Inventory Module""", + 'description': """This module brings the catch weight system in the + Inventory module.We can enable the catch weight for each product, Stock + Moves and .""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['stock_account', 'uom'], + 'data': [ + 'views/product_template_views.xml', + 'views/stock_scrap_views.xml', + 'views/stock_picking_views.xml', + 'views/stock_return_views.xml', + 'views/stock_move_line_views.xml', + 'views/stock_valuation_layer_views.xml', + ], + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'application': False, + 'auto_install': False, +} diff --git a/cw_stock/doc/RELEASE_NOTES.md b/cw_stock/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..542be1fbb --- /dev/null +++ b/cw_stock/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 27.03.2024 +#### Version 17.0.1.0.0 +#### ADD +- Initial commit for Catch Weight - Stock diff --git a/cw_stock/models/__init__.py b/cw_stock/models/__init__.py new file mode 100644 index 000000000..3ec112f19 --- /dev/null +++ b/cw_stock/models/__init__.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-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 product_template +from . import stock_move +from . import stock_move_line +from . import stock_scrap +from . import stock_valuation_layer +from . import stock_picking_return_line diff --git a/cw_stock/models/product_template.py b/cw_stock/models/product_template.py new file mode 100644 index 000000000..6a9949177 --- /dev/null +++ b/cw_stock/models/product_template.py @@ -0,0 +1,50 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-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 api, fields, models + + +class ProductTemplate(models.Model): + """Inherits the Product template model for adding new fields + and functions""" + _inherit = 'product.template' + + apply_cw = fields.Boolean(string="Is apply Cw", + help="Whether to apply the Cw") + category_id = fields.Many2one('uom.category', string="Category", + default=lambda self: self.env.ref( + 'uom.product_uom_categ_kgm'), + help="Category of the CW") + cw_uom_id = fields.Many2one('uom.uom', string='CW-Uom', stored=True, + help="Catch weight unit of measure", + domain="[('category_id', '=', category_id)]") + catch_weigth_ok = fields.Boolean(default=False, + help="Whether the weight unit is ok", + string="Catch Weight Product") + average_cw_qty = fields.Float(string='Catch Weight', digits=(16, 4), + help="Catch weight quantity") + + @api.onchange('cw_uom_id', 'uom_id') + def _onchange_cw_uom_id(self): + """Calculating cw qty if uom and cw uom category is same""" + if self.uom_id.category_id == self.cw_uom_id.category_id: + self.average_cw_qty = self.cw_uom_id.factor / self.uom_id.factor + else: + self.average_cw_qty = 1.00 diff --git a/cw_stock/models/stock_move.py b/cw_stock/models/stock_move.py new file mode 100644 index 000000000..0a2066fe0 --- /dev/null +++ b/cw_stock/models/stock_move.py @@ -0,0 +1,106 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-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 api, fields, models + + +class StockMove(models.Model): + """Inherits the stock move model for adding new fields and functions""" + _inherit = 'stock.move' + + category_id = fields.Many2one('uom.category', string="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_demand = fields.Float(string='CW-Demand', default=1.0, required=True, + digits=(16, 4), + compute='_cal_cw_demand') + cw_reserved = fields.Float(string='CW-Reserved', compute='_cal_cw_demand', + digits=(16, 4)) + cw_done = fields.Float(string='CW-Done', digits=(16, 4)) + cw_hide = fields.Boolean(string='Is CW Product', + compute="_compute_hide", default=False) + + @api.depends('product_id') + def _compute_hide(self): + """Compute method for product setups""" + for rec in self: + if rec.product_id.catch_weigth_ok: + rec.cw_hide = rec.product_id.catch_weigth_ok + else: + rec.cw_hide = False + + @api.onchange('product_id', 'product_uom_qty') + def _onchange_product_id(self): + """Calculating cw demand and cw uom""" + for rec in self: + rec.cw_demand = rec.product_uom_qty * rec.product_id.average_cw_qty + rec.name = rec.product_id.default_code + if rec.product_id.catch_weigth_ok: + rec.cw_uom_id = rec.product_id.cw_uom_id + else: + rec.cw_uom_id = None + + @api.onchange('cw_done') + def _onchange_cw_done(self): + """Calculating done qty""" + for rec in self: + if rec.product_id.catch_weigth_ok and rec.product_id.average_cw_qty != 0: + rec.quantity = rec.cw_done / rec.product_id.average_cw_qty + + @api.onchange('quantity_done') + def _onchange_cw_cty(self): + """Calculating cw done""" + for rec in self: + if rec.product_id.catch_weigth_ok: + rec.cw_done = rec.quantity * rec.product_id.average_cw_qty + + @api.onchange('cw_demand') + def _onchange_cw_demand(self): + """Calculating 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_uom_qty = rec.cw_demand + else: + rec.product_uom_qty = rec.cw_demand / rec.product_id.average_cw_qty + + @api.onchange('product_uom_qty') + def _onchange_product_uom_qty(self): + """Calculating cw demand""" + 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.cw_demand = rec.product_uom_qty + else: + rec.product_uom_qty = rec.cw_demand / rec.product_id.average_cw_qty + + def _cal_cw_demand(self): + """Calculating cw demand,cw uom, cw reserved and cw done""" + for rec in self: + rec.update( + { + 'cw_demand': rec.product_uom_qty * rec.product_id.average_cw_qty, + 'cw_uom_id': rec.product_id.cw_uom_id, + 'cw_done': rec.quantity * rec.product_id.average_cw_qty, + 'cw_reserved': rec.product_uom_qty * rec.product_id.average_cw_qty, + }) diff --git a/cw_stock/models/stock_move_line.py b/cw_stock/models/stock_move_line.py new file mode 100644 index 000000000..48eb3ad3d --- /dev/null +++ b/cw_stock/models/stock_move_line.py @@ -0,0 +1,62 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-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 api, fields, models + + +class StockMoveLine(models.Model): + """Inherits the stock move line for adding new fields and functions""" + _inherit = 'stock.move.line' + + cw_qty_done = fields.Float(string='CW-Qty Done', + compute='_compute_cw_qty_done', default=0, + digits=(16, 4)) + category_id = fields.Many2one('uom.category', string="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)]", + compute='_compute_cw_uom_id') + cw_hide = fields.Boolean(string='Is CW Product', + compute="_compute_hide", default=False) + + @api.depends('product_id') + def _compute_cw_uom_id(self): + """Calculating cw uom""" + for rec in self: + if rec.product_id.catch_weigth_ok: + rec.cw_uom_id = rec.product_id.cw_uom_id + else: + rec.cw_uom_id = None + + @api.depends('product_id') + def _compute_hide(self): + """Calculating cw hide field value""" + for rec in self: + rec.cw_hide = bool(rec.product_id.catch_weigth_ok) + + @api.depends('product_id', 'quantity') + def _compute_cw_qty_done(self): + """Calculating cw qty done""" + for rec in self: + if rec.product_id.catch_weigth_ok: + rec.cw_qty_done = rec.quantity * rec.product_id.average_cw_qty + else: + rec.cw_qty_done = 0 diff --git a/cw_stock/models/stock_picking_return_line.py b/cw_stock/models/stock_picking_return_line.py new file mode 100644 index 000000000..e44adb406 --- /dev/null +++ b/cw_stock/models/stock_picking_return_line.py @@ -0,0 +1,74 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-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 api, fields, models + + +class StockReturnPickingLine(models.TransientModel): + """Inherits the StockReturnPickingLine class""" + _inherit = "stock.return.picking.line" + + cw_qty = fields.Float(string='CW-Qty ', compute="_compute_cw_qty", + help="Catch weight quantity", digits=(16, 4)) + category_id = fields.Many2one('uom.category', string="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)]", + compute='_compute_cw_uom_id', + readonly=True) + cw_hide = fields.Boolean(string='Is CW Product', + compute="_compute_hide", + default=False) + + @api.depends('product_id') + def _compute_hide(self): + """Calculating the cw hide value for product""" + for rec in self: + rec.cw_hide = bool(rec.product_id.catch_weigth_ok) + + @api.depends('product_id') + def _compute_cw_uom_id(self): + """Calculating cw uom""" + for rec in self: + if rec.product_id.catch_weigth_ok: + rec.cw_uom_id = rec.product_id.cw_uom_id + else: + rec.cw_uom_id = None + + @api.depends('product_id', 'quantity') + def _compute_cw_qty(self): + """Calculating cw qty done""" + for rec in self: + if rec.product_id.catch_weigth_ok: + if rec.cw_uom_id == rec.uom_id: + rec.quantity = rec.cw_qty + else: + rec.cw_qty = rec.quantity * rec.product_id.average_cw_qty + + @api.onchange('cw_qty') + def _onchange_cw_qty(self): + """Calculating cw qty from 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.uom_id: + rec.quantity = rec.cw_qty + else: + rec.quantity = rec.cw_qty / rec.product_id.average_cw_qty diff --git a/cw_stock/models/stock_scrap.py b/cw_stock/models/stock_scrap.py new file mode 100644 index 000000000..a98017651 --- /dev/null +++ b/cw_stock/models/stock_scrap.py @@ -0,0 +1,82 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-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 api, fields, models + + +class StockScrap(models.Model): + """Inherits the Scrap model for adding new field and function""" + _inherit = 'stock.scrap' + + cw_qty = fields.Float(string='CW-Qty', digits=(16, 4), + compute='_compute_cw_qty', + help="Catch weight quantity") + category_id = fields.Many2one('uom.category',string="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)]", + compute='_compute_cw_uom_id' + ) + toggle_cw = fields.Boolean(string='is_cw_product', default=False) + + def _compute_cw_qty(self): + """computing the qty""" + if self.product_id.catch_weigth_ok and self.product_id.average_cw_qty != 0: + self.cw_qty = self.product_id.average_cw_qty * self.scrap_qty + else: + self.cw_qty = 0.0 + + def _compute_cw_uom_id(self): + """computing the cw uom id""" + if self.product_id.catch_weigth_ok: + self.update({'cw_uom_id': self.product_id.cw_uom_id}) + + @api.onchange('product_id', 'scrap_qty') + def _onchange_product(self): + """Calculating cw uom ,product uom and cw qty""" + self.toggle_cw = bool(self.product_id.catch_weigth_ok) + self.product_uom_id = self.product_id.uom_id + self.cw_uom_id = self.product_id.cw_uom_id + self.cw_qty = self.product_id.average_cw_qty * self.scrap_qty + + @api.onchange('product_id') + def _onchange_product_id(self): + """Calculating scrap qty""" + self.scrap_qty = 1.0 + + @api.onchange('cw_qty') + def _onchange_cw_qty(self): + """Calculating cw qty from scrap qty""" + if self.product_id.catch_weigth_ok and self.product_id.average_cw_qty != 0: + if self.cw_uom_id == self.product_uom_id: + self.scrap_qty = self.cw_qty + else: + self.scrap_qty = self.cw_qty / self.product_id.average_cw_qty + + @api.onchange('scrap_qty') + def _onchange_scrap_qty(self): + """Calculating scrap qty from cw qty""" + if self.product_id.catch_weigth_ok and self.product_id.average_cw_qty != 0: + if self.cw_uom_id == self.product_uom_id: + self.cw_qty = self.scrap_qty + else: + self.cw_qty = self.scrap_qty * self.product_id.average_cw_qty diff --git a/cw_stock/models/stock_valuation_layer.py b/cw_stock/models/stock_valuation_layer.py new file mode 100644 index 000000000..ce8b26bad --- /dev/null +++ b/cw_stock/models/stock_valuation_layer.py @@ -0,0 +1,62 @@ +# -*- 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 api, fields, models + + +class StockValuationLayer(models.Model): + """Inherits the StockValuationLayer class for adding + fields and methods to the model""" + _inherit = 'stock.valuation.layer' + + cw_qty_done = fields.Float(string='CW-Qty Done', + compute='_compute_cw_qty_done', digits=(16, 4)) + category_id = fields.Many2one('uom.category',string="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)]", + compute='_compute_cw_uom_id') + cw_hide = fields.Boolean(string='Is CW Product', + compute="_compute_hide", default=False) + + @api.depends('product_id') + def _compute_cw_uom_id(self): + """Calculating cw uom""" + for rec in self: + if rec.product_id.catch_weigth_ok: + rec.cw_uom_id = rec.product_id.cw_uom_id + else: + rec.cw_uom_id = None + + @api.depends('product_id') + def _compute_hide(self): + """Computed the cw hide field value""" + for rec in self: + rec.cw_hide = bool(rec.product_id.catch_weigth_ok) + + @api.depends('product_id', 'quantity') + def _compute_cw_qty_done(self): + """Calculating cw qty done""" + for rec in self: + if rec.product_id.catch_weigth_ok: + rec.cw_qty_done = rec.quantity * rec.product_id.average_cw_qty + else: + rec.cw_qty_done = 0 diff --git a/cw_stock/static/description/assets/icons/capture (1).png b/cw_stock/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/cw_stock/static/description/assets/icons/capture (1).png differ diff --git a/cw_stock/static/description/assets/icons/check.png b/cw_stock/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/cw_stock/static/description/assets/icons/check.png differ diff --git a/cw_stock/static/description/assets/icons/chevron.png b/cw_stock/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/cw_stock/static/description/assets/icons/chevron.png differ diff --git a/cw_stock/static/description/assets/icons/cogs.png b/cw_stock/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/cw_stock/static/description/assets/icons/cogs.png differ diff --git a/cw_stock/static/description/assets/icons/consultation.png b/cw_stock/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/cw_stock/static/description/assets/icons/consultation.png differ diff --git a/cw_stock/static/description/assets/icons/ecom-black.png b/cw_stock/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/cw_stock/static/description/assets/icons/ecom-black.png differ diff --git a/cw_stock/static/description/assets/icons/education-black.png b/cw_stock/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/cw_stock/static/description/assets/icons/education-black.png differ diff --git a/cw_stock/static/description/assets/icons/hotel-black.png b/cw_stock/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/cw_stock/static/description/assets/icons/hotel-black.png differ diff --git a/cw_stock/static/description/assets/icons/img.png b/cw_stock/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/cw_stock/static/description/assets/icons/img.png differ diff --git a/cw_stock/static/description/assets/icons/license.png b/cw_stock/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/cw_stock/static/description/assets/icons/license.png differ diff --git a/cw_stock/static/description/assets/icons/lifebuoy.png b/cw_stock/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/cw_stock/static/description/assets/icons/lifebuoy.png differ diff --git a/cw_stock/static/description/assets/icons/manufacturing-black.png b/cw_stock/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/cw_stock/static/description/assets/icons/manufacturing-black.png differ diff --git a/cw_stock/static/description/assets/icons/photo-capture.png b/cw_stock/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/cw_stock/static/description/assets/icons/photo-capture.png differ diff --git a/cw_stock/static/description/assets/icons/pos-black.png b/cw_stock/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/cw_stock/static/description/assets/icons/pos-black.png differ diff --git a/cw_stock/static/description/assets/icons/puzzle.png b/cw_stock/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/cw_stock/static/description/assets/icons/puzzle.png differ diff --git a/cw_stock/static/description/assets/icons/restaurant-black.png b/cw_stock/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/cw_stock/static/description/assets/icons/restaurant-black.png differ diff --git a/cw_stock/static/description/assets/icons/service-black.png b/cw_stock/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/cw_stock/static/description/assets/icons/service-black.png differ diff --git a/cw_stock/static/description/assets/icons/trading-black.png b/cw_stock/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/cw_stock/static/description/assets/icons/trading-black.png differ diff --git a/cw_stock/static/description/assets/icons/training.png b/cw_stock/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/cw_stock/static/description/assets/icons/training.png differ diff --git a/cw_stock/static/description/assets/icons/update.png b/cw_stock/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/cw_stock/static/description/assets/icons/update.png differ diff --git a/cw_stock/static/description/assets/icons/user.png b/cw_stock/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/cw_stock/static/description/assets/icons/user.png differ diff --git a/cw_stock/static/description/assets/icons/wrench.png b/cw_stock/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/cw_stock/static/description/assets/icons/wrench.png differ diff --git a/cw_stock/static/description/assets/misc/Cybrosys R.png b/cw_stock/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/cw_stock/static/description/assets/misc/Cybrosys R.png differ diff --git a/cw_stock/static/description/assets/misc/categories.png b/cw_stock/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/cw_stock/static/description/assets/misc/categories.png differ diff --git a/cw_stock/static/description/assets/misc/check-box.png b/cw_stock/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/cw_stock/static/description/assets/misc/check-box.png differ diff --git a/cw_stock/static/description/assets/misc/compass.png b/cw_stock/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/cw_stock/static/description/assets/misc/compass.png differ diff --git a/cw_stock/static/description/assets/misc/corporate.png b/cw_stock/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/cw_stock/static/description/assets/misc/corporate.png differ diff --git a/cw_stock/static/description/assets/misc/customer-support.png b/cw_stock/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/cw_stock/static/description/assets/misc/customer-support.png differ diff --git a/cw_stock/static/description/assets/misc/cybrosys-logo.png b/cw_stock/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/cw_stock/static/description/assets/misc/cybrosys-logo.png differ diff --git a/cw_stock/static/description/assets/misc/email.svg b/cw_stock/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/cw_stock/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/cw_stock/static/description/assets/misc/features.png b/cw_stock/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/cw_stock/static/description/assets/misc/features.png differ diff --git a/cw_stock/static/description/assets/misc/logo.png b/cw_stock/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/cw_stock/static/description/assets/misc/logo.png differ diff --git a/cw_stock/static/description/assets/misc/phone.svg b/cw_stock/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/cw_stock/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/cw_stock/static/description/assets/misc/pictures.png b/cw_stock/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/cw_stock/static/description/assets/misc/pictures.png differ diff --git a/cw_stock/static/description/assets/misc/pie-chart.png b/cw_stock/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/cw_stock/static/description/assets/misc/pie-chart.png differ diff --git a/cw_stock/static/description/assets/misc/right-arrow.png b/cw_stock/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/cw_stock/static/description/assets/misc/right-arrow.png differ diff --git a/cw_stock/static/description/assets/misc/star (1) 2.svg b/cw_stock/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/cw_stock/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/cw_stock/static/description/assets/misc/star.png b/cw_stock/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/cw_stock/static/description/assets/misc/star.png differ diff --git a/cw_stock/static/description/assets/misc/support (1) 1.svg b/cw_stock/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/cw_stock/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/cw_stock/static/description/assets/misc/support-email.svg b/cw_stock/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/cw_stock/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/cw_stock/static/description/assets/misc/support.png b/cw_stock/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/cw_stock/static/description/assets/misc/support.png differ diff --git a/cw_stock/static/description/assets/misc/tick-mark.svg b/cw_stock/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/cw_stock/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/cw_stock/static/description/assets/misc/whatsapp 1.svg b/cw_stock/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/cw_stock/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/cw_stock/static/description/assets/misc/whatsapp.png b/cw_stock/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/cw_stock/static/description/assets/misc/whatsapp.png differ diff --git a/cw_stock/static/description/assets/misc/whatsapp.svg b/cw_stock/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/cw_stock/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/cw_stock/static/description/assets/modules/1.gif b/cw_stock/static/description/assets/modules/1.gif new file mode 100644 index 000000000..8ac32db03 Binary files /dev/null and b/cw_stock/static/description/assets/modules/1.gif differ diff --git a/cw_stock/static/description/assets/modules/1.png b/cw_stock/static/description/assets/modules/1.png new file mode 100644 index 000000000..3bedf7981 Binary files /dev/null and b/cw_stock/static/description/assets/modules/1.png differ diff --git a/cw_stock/static/description/assets/modules/2.jpg b/cw_stock/static/description/assets/modules/2.jpg new file mode 100644 index 000000000..a1dc39c89 Binary files /dev/null and b/cw_stock/static/description/assets/modules/2.jpg differ diff --git a/cw_stock/static/description/assets/modules/2.png b/cw_stock/static/description/assets/modules/2.png new file mode 100644 index 000000000..2c8fbb83f Binary files /dev/null and b/cw_stock/static/description/assets/modules/2.png differ diff --git a/cw_stock/static/description/assets/modules/3.png b/cw_stock/static/description/assets/modules/3.png new file mode 100644 index 000000000..25ed3e0b6 Binary files /dev/null and b/cw_stock/static/description/assets/modules/3.png differ diff --git a/cw_stock/static/description/assets/modules/4.png b/cw_stock/static/description/assets/modules/4.png new file mode 100644 index 000000000..bc5648b1a Binary files /dev/null and b/cw_stock/static/description/assets/modules/4.png differ diff --git a/cw_stock/static/description/assets/modules/5.gif b/cw_stock/static/description/assets/modules/5.gif new file mode 100644 index 000000000..2a5f8e659 Binary files /dev/null and b/cw_stock/static/description/assets/modules/5.gif differ diff --git a/cw_stock/static/description/assets/modules/5.png b/cw_stock/static/description/assets/modules/5.png new file mode 100644 index 000000000..7cc3625c7 Binary files /dev/null and b/cw_stock/static/description/assets/modules/5.png differ diff --git a/cw_stock/static/description/assets/modules/6.png b/cw_stock/static/description/assets/modules/6.png new file mode 100644 index 000000000..745d6db78 Binary files /dev/null and b/cw_stock/static/description/assets/modules/6.png differ diff --git a/cw_stock/static/description/assets/modules/banner.jpg b/cw_stock/static/description/assets/modules/banner.jpg new file mode 100644 index 000000000..67c7f7062 Binary files /dev/null and b/cw_stock/static/description/assets/modules/banner.jpg differ diff --git a/cw_stock/static/description/assets/screenshots/1.png b/cw_stock/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..84b8c66a4 Binary files /dev/null and b/cw_stock/static/description/assets/screenshots/1.png differ diff --git a/cw_stock/static/description/assets/screenshots/2.png b/cw_stock/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..a5e98ed94 Binary files /dev/null and b/cw_stock/static/description/assets/screenshots/2.png differ diff --git a/cw_stock/static/description/assets/screenshots/3.png b/cw_stock/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..cff50fd39 Binary files /dev/null and b/cw_stock/static/description/assets/screenshots/3.png differ diff --git a/cw_stock/static/description/assets/screenshots/4.png b/cw_stock/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..d2c17eb1d Binary files /dev/null and b/cw_stock/static/description/assets/screenshots/4.png differ diff --git a/cw_stock/static/description/assets/screenshots/5.png b/cw_stock/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..b81d2f091 Binary files /dev/null and b/cw_stock/static/description/assets/screenshots/5.png differ diff --git a/cw_stock/static/description/assets/screenshots/hero.gif b/cw_stock/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..abcdae7b2 Binary files /dev/null and b/cw_stock/static/description/assets/screenshots/hero.gif differ diff --git a/cw_stock/static/description/banner.jpg b/cw_stock/static/description/banner.jpg new file mode 100644 index 000000000..eadd4c0ab Binary files /dev/null and b/cw_stock/static/description/banner.jpg differ diff --git a/cw_stock/static/description/icon.png b/cw_stock/static/description/icon.png new file mode 100644 index 000000000..c6ba8ddc1 Binary files /dev/null and b/cw_stock/static/description/icon.png differ diff --git a/cw_stock/static/description/index.html b/cw_stock/static/description/index.html new file mode 100644 index 000000000..e72f8d0ab --- /dev/null +++ b/cw_stock/static/description/index.html @@ -0,0 +1,728 @@ + + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ Catch Weight - Stock

+

+ Enable The Catch Weight System In The Inventory Module. +

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Enable catch weight for each product.

+
+
+
+
+
+
+ +
+
+

+ Catch Weight In Transfers.

+
+
+
+
+
+
+ +
+
+

+ Catch Weight In Scrap Orders.

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

+ Enable Catch Weight On products

+

+ We can click on the checkbox "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 + product and also set the sale price and + cost based on UOM or Catch weight-UOM.

+
+
+
+
+
+
+ +
+
+

+ Catch Weight In Transfers

+
+
+
+
+
+
+ +
+
+

+ Catch Weight In Scrap Orders.

+
+
+
+
+
+
+ +
+
+

+ Catch Weight In Product Scrap Moves .

+
+
+
+
+
+
+
    +
  • + Enable catch weight for each product. +
  • +
  • + Catch Weight In Transfers. +
  • +
  • + Catch Weight In Scrap Orders. +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:27th March 2024 +
+

+ + Initial Commit for Catch Weight - Stock.

+
+
+
+
+
+
+
+

+ Related Products

+
+
+ +
+
+

+ Our Services

+ +
+
+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Customization

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Support

+
+
+
+
+
+
+ service-icon +
+
+

Hire + Odoo Developer

+
+
+
+
+ +
+
+ service-icon +
+
+

Odoo + Integration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Migration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Consultancy

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

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 + 99456767686 +
+
+
+
+
+
+
+
+
+ + + + + + diff --git a/cw_stock/views/product_template_views.xml b/cw_stock/views/product_template_views.xml new file mode 100644 index 000000000..130dab89a --- /dev/null +++ b/cw_stock/views/product_template_views.xml @@ -0,0 +1,34 @@ + + + + + product.template.view.form.inherit.cw.stock + product.template + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/cw_stock/views/stock_move_line_views.xml b/cw_stock/views/stock_move_line_views.xml new file mode 100644 index 000000000..a270a4852 --- /dev/null +++ b/cw_stock/views/stock_move_line_views.xml @@ -0,0 +1,40 @@ + + + + + stock.move.line.view.form.inherit.cw.stock + stock.move.line + + + + + + + + + stock.move.line.view.tree.inherit.cw.stock + stock.move.line + + + + + + + + + + + diff --git a/cw_stock/views/stock_picking_views.xml b/cw_stock/views/stock_picking_views.xml new file mode 100644 index 000000000..329f69afa --- /dev/null +++ b/cw_stock/views/stock_picking_views.xml @@ -0,0 +1,28 @@ + + + + + stock.picking.view.form.inherit.cw.stock + stock.picking + + + + + + + + + + + + + + diff --git a/cw_stock/views/stock_return_views.xml b/cw_stock/views/stock_return_views.xml new file mode 100644 index 000000000..8fc386e25 --- /dev/null +++ b/cw_stock/views/stock_return_views.xml @@ -0,0 +1,19 @@ + + + + + stock.return.view.form.inherit.cw.stock + stock.return.picking + + + + + + + + + + + diff --git a/cw_stock/views/stock_scrap_views.xml b/cw_stock/views/stock_scrap_views.xml new file mode 100644 index 000000000..38d8e6ff6 --- /dev/null +++ b/cw_stock/views/stock_scrap_views.xml @@ -0,0 +1,47 @@ + + + + + stock.scrap.view.tree.inherit.cw.stock + stock.scrap + + + + + + + + + + stock.scrap.view.form.inherit.cw.stock + stock.scrap + + + + + + + + diff --git a/cw_stock/views/stock_valuation_layer_views.xml b/cw_stock/views/stock_valuation_layer_views.xml new file mode 100644 index 000000000..5a5b17640 --- /dev/null +++ b/cw_stock/views/stock_valuation_layer_views.xml @@ -0,0 +1,22 @@ + + + + + stock.valuation.layer.view.tree.inherit.cw.stock + + stock.valuation.layer + + + + + + + + + + +