@ -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 |
|||
|
|||
Configuration |
|||
============= |
|||
* No need of any configuration. |
|||
|
|||
License |
|||
------- |
|||
GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) |
|||
(https://www.gnu.org/licenses/agpl-3.0-standalone.html) |
|||
|
|||
Company |
|||
------- |
|||
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ |
|||
|
|||
Credits |
|||
------- |
|||
* Developer:(V16) Swaroop N P |
|||
(V17) Gayathri V, |
|||
(V18) Mufeeda Shirin, |
|||
|
|||
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: `<static/description/index.html>`__ |
@ -0,0 +1,22 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) |
|||
|
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
from . import models |
@ -0,0 +1,48 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) |
|||
|
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
{ |
|||
'name': "Catch Weight - Stock", |
|||
'version': '18.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 Transfers Also.""", |
|||
'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.png'], |
|||
'license': 'AGPL-3', |
|||
'installable': True, |
|||
'application': False, |
|||
'auto_install': False, |
|||
} |
@ -0,0 +1,6 @@ |
|||
## Module <cw_stock> |
|||
|
|||
#### 30.08.2024 |
|||
#### Version 18.0.1.0.0 |
|||
#### ADD |
|||
- Initial commit for Catch Weight - Stock |
@ -0,0 +1,27 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) |
|||
|
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
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 |
@ -0,0 +1,53 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) |
|||
|
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
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 |
@ -0,0 +1,126 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) |
|||
|
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
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'), |
|||
help="The category of Unit of Measure (UoM) for the product.") |
|||
cw_uom_id = fields.Many2one( |
|||
'uom.uom', string='CW-Uom', |
|||
help="Catch weight unit of measure used for this product.", |
|||
domain="[('category_id', '=', category_id)]") |
|||
cw_demand = fields.Float( |
|||
string='CW-Demand', default=1.0, required=True, |
|||
digits=(16, 4), |
|||
compute='_cal_cw_demand', |
|||
help="The demand quantity in catch weight units.") |
|||
cw_reserved = fields.Float( |
|||
string='CW-Reserved', compute='_cal_cw_demand', |
|||
digits=(16, 4), |
|||
help="The reserved quantity in catch weight units.") |
|||
cw_done = fields.Float( |
|||
string='CW-Done', digits=(16, 4), |
|||
help="The completed quantity in catch weight units.") |
|||
cw_hide = fields.Boolean( |
|||
string='Is CW Product', |
|||
compute="_compute_hide", default=False, |
|||
help="A flag indicating whether this is a catch weight product.") |
|||
|
|||
@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.default_code else rec.product_id.name |
|||
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), |
|||
}) |
@ -0,0 +1,71 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) |
|||
|
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
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), |
|||
help="The quantity done in catch weight units.") |
|||
category_id = fields.Many2one( |
|||
'uom.category', string="Category", |
|||
default=lambda self: self.env.ref( |
|||
'uom.product_uom_categ_kgm'), |
|||
help="The category of Unit of Measure (UoM) for the product.") |
|||
cw_uom_id = fields.Many2one( |
|||
'uom.uom', string='CW-Uom', |
|||
domain="[('category_id', '=', category_id)]", |
|||
compute='_compute_cw_uom_id', |
|||
help="The catch weight unit of measure used for this product.") |
|||
cw_hide = fields.Boolean( |
|||
string='Is CW Product', |
|||
compute="_compute_hide", default=False, |
|||
help="A flag indicating whether this is a catch weight product.") |
|||
|
|||
@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 |
@ -0,0 +1,84 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) |
|||
|
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
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="The catch weight quantity of the product.", |
|||
digits=(16, 4)) |
|||
category_id = fields.Many2one( |
|||
'uom.category', string="Category", |
|||
default=lambda self: self.env.ref( |
|||
'uom.product_uom_categ_kgm'), |
|||
help="The category of Unit of Measure (UoM) for the product.") |
|||
cw_uom_id = fields.Many2one( |
|||
'uom.uom', string='CW-Uom', |
|||
domain="[('category_id', '=', category_id)]", |
|||
compute='_compute_cw_uom_id', |
|||
readonly=True, |
|||
help="The catch weight unit of measure used for this product.") |
|||
cw_hide = fields.Boolean( |
|||
string='Is CW Product', |
|||
compute="_compute_hide", |
|||
default=False, |
|||
help="A flag indicating whether this is a catch weight product.") |
|||
|
|||
@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 |
@ -0,0 +1,90 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) |
|||
|
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
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="The catch weight quantity of the product.") |
|||
category_id = fields.Many2one( |
|||
'uom.category', string="Category", |
|||
default=lambda self: self.env.ref( |
|||
'uom.product_uom_categ_kgm'), |
|||
help="The category of Unit of Measure (UoM) for the product.") |
|||
cw_uom_id = fields.Many2one( |
|||
'uom.uom', string='CW-Uom', |
|||
help="The catch weight unit of measure used for this product.", |
|||
domain="[('category_id', '=', category_id)]", |
|||
compute='_compute_cw_uom_id') |
|||
toggle_cw = fields.Boolean( |
|||
string='is_cw_product', default=False, |
|||
help="A flag indicating whether this is a catch weight product.") |
|||
|
|||
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 |
@ -0,0 +1,70 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) |
|||
|
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
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), |
|||
help="The quantity done in catch weight units.") |
|||
category_id = fields.Many2one( |
|||
'uom.category', string="Category", |
|||
default=lambda self: self.env.ref( |
|||
'uom.product_uom_categ_kgm'), |
|||
help="The category of Unit of Measure (UoM) for the product.") |
|||
cw_uom_id = fields.Many2one( |
|||
'uom.uom', string='CW-Uom', |
|||
domain="[('category_id', '=', category_id)]", |
|||
compute='_compute_cw_uom_id', |
|||
help="The catch weight unit of measure used for this product.") |
|||
cw_hide = fields.Boolean( |
|||
string='Is CW Product', |
|||
compute="_compute_hide", default=False, |
|||
help="A flag indicating whether this is a catch weight product.") |
|||
|
|||
@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 |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 628 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 210 KiB |
After Width: | Height: | Size: 209 KiB |
After Width: | Height: | Size: 109 KiB |
After Width: | Height: | Size: 495 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 624 B |
After Width: | Height: | Size: 136 KiB |
After Width: | Height: | Size: 214 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 310 B |
After Width: | Height: | Size: 929 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 542 B |
After Width: | Height: | Size: 576 B |
After Width: | Height: | Size: 733 B |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 738 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 911 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 600 B |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 462 B |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 926 B |
After Width: | Height: | Size: 9.0 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 7.0 KiB |
After Width: | Height: | Size: 878 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 653 B |
After Width: | Height: | Size: 800 B |
After Width: | Height: | Size: 905 B |
After Width: | Height: | Size: 189 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 839 B |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 5.9 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 427 B |
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 988 B |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 5.0 KiB |
After Width: | Height: | Size: 875 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 126 KiB |
After Width: | Height: | Size: 118 KiB |
After Width: | Height: | Size: 135 KiB |
After Width: | Height: | Size: 142 KiB |
After Width: | Height: | Size: 138 KiB |
After Width: | Height: | Size: 139 KiB |
After Width: | Height: | Size: 109 KiB |
After Width: | Height: | Size: 114 KiB |
After Width: | Height: | Size: 111 KiB |
After Width: | Height: | Size: 65 KiB |
After Width: | Height: | Size: 276 KiB |
After Width: | Height: | Size: 175 KiB |
After Width: | Height: | Size: 880 KiB |
After Width: | Height: | Size: 90 KiB |
After Width: | Height: | Size: 15 KiB |
@ -0,0 +1,946 @@ |
|||
<!DOCTYPE html> |
|||
<html lang="en"> |
|||
<head> |
|||
<meta charset="UTF-8"/> |
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> |
|||
<title>Catch Weight Stock</title> |
|||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" |
|||
rel="stylesheet"/> |
|||
<link rel="preconnect" href="https://fonts.googleapis.com"> |
|||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> |
|||
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap" |
|||
rel="stylesheet"> |
|||
<link rel="stylesheet" |
|||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"/> |
|||
<link rel="stylesheet" |
|||
href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css"/> |
|||
<style> |
|||
:root { |
|||
--primary-color: #7f54b3; |
|||
--bg-white: #fff; |
|||
--text-color: #121212; |
|||
--text-color-light: #64728f; |
|||
} |
|||
body{ |
|||
font-family: "Montserrat", sans-serif; |
|||
} |
|||
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active { |
|||
color: var(--text-color); |
|||
font-family: Montserrat; |
|||
font-size: 16px !important; |
|||
font-weight: 500 !important; |
|||
border-radius: 30px; |
|||
line-height: normal; |
|||
text-transform: capitalize; |
|||
background-color: #F5F5F5; |
|||
border: none; |
|||
margin-bottom: 0; |
|||
padding: 12px 24px; |
|||
} |
|||
.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover { |
|||
border-color: transparent; |
|||
isolation: isolate; |
|||
} |
|||
.nav-tabs .nav-link:focus-visible { |
|||
border-color: transparent; |
|||
box-shadow: none; |
|||
} |
|||
/* owl-carosel */ |
|||
.owl-carousel .owl-nav { |
|||
position: absolute; |
|||
top: 42%; |
|||
width: 100%; |
|||
display: flex; |
|||
justify-content: space-between; |
|||
transform: translateY(-42%); |
|||
} |
|||
|
|||
.owl-carousel .owl-nav button.owl-prev { |
|||
position: absolute; |
|||
right: -36px; |
|||
font-size: 28px; |
|||
background-color: #e4e4e4; |
|||
border-radius: 20px; |
|||
width: 40px; |
|||
height: 40px; |
|||
display: flex; |
|||
justify-content: center; |
|||
align-items: center; |
|||
} |
|||
|
|||
.owl-carousel .owl-nav button.owl-next { |
|||
position: absolute; |
|||
left: -36px; |
|||
font-size: 28px; |
|||
background-color: #e4e4e4; |
|||
border-radius: 20px; |
|||
width: 40px; |
|||
height: 40px; |
|||
display: flex; |
|||
justify-content: center; |
|||
align-items: center; |
|||
|
|||
} |
|||
|
|||
</style> |
|||
</head> |
|||
<body> |
|||
<!-- overview --> |
|||
<div class="container"> |
|||
<div class="my-5"> |
|||
<!-- button tab --> |
|||
<!-- --> |
|||
<!-- version support --> |
|||
<div class="my-3 d-flex align-items-center justify-content-end"> |
|||
<div class="text-center" |
|||
style="background-color:#017E84 !important; font-size:0.8rem !important; color:#fff !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width:120px !important"> |
|||
Community |
|||
</div> |
|||
<div class="text-center" |
|||
style="background-color:#875A7B !important; color:#fff !important; font-size:0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width:120px !important"> |
|||
Enterprise |
|||
</div> |
|||
<!-- <div class="text-center"--> |
|||
<!-- style="background-color:#7C7BAD !important; color:#fff !important; font-size:0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width:120px !important">--> |
|||
<!-- Odoo.sh--> |
|||
<!-- </div>--> |
|||
</div> |
|||
<div class="tab-content" id="myTabContent"> |
|||
<!-- description --> |
|||
<div class="tab-pane fade show active" id="home" role="tabpanel" |
|||
aria-labelledby="home-tab"> |
|||
<div class="position-relative" |
|||
style="border-radius: 16px; background: #f8f8f8; padding: 20px 0;"> |
|||
<div class="row " style=" |
|||
padding: 2rem 0rem 0 !important; |
|||
"> |
|||
<div class="col-lg-8 mx-auto gap-4 d-flex flex-column align-items-center"> |
|||
<p class="my-1 text-center text-uppercase" |
|||
style=" |
|||
letter-spacing: 4px !important; |
|||
color: var(--primary-color); |
|||
font-weight: bold; |
|||
text-align: center; |
|||
font-size: 14px; |
|||
font-weight: 600; |
|||
line-height: 15.96px; |
|||
text-transform: uppercase; |
|||
"> |
|||
Enable The Catch Weight System In The Inventory |
|||
Module. |
|||
</p> |
|||
<h1 class="text-center text-uppercase my-0" |
|||
style=" |
|||
color: var(--text-color); |
|||
font-size: 46px; |
|||
font-weight: 700; |
|||
line-height: normal; |
|||
">Catch Weight - Stock</span> |
|||
</h1> |
|||
</div> |
|||
<div class="col-lg-12 d-flex justify-content-center align-items-center" |
|||
style="margin: 3rem 0;"> |
|||
<img src="./assets/icons/brand-pair.svg" |
|||
width="100%" |
|||
height="auto" |
|||
style="width: 50%" |
|||
class="img-responsive"/> |
|||
</div> |
|||
<div class="col-md-12 text-center"> |
|||
<a href="mailto:odoo@cybrosys.com" |
|||
target="_blank" |
|||
style="background-color: transparent;border-radius: 35px; |
|||
font-family: Montserrat; |
|||
display: inline-block; |
|||
padding: 7px 33px; |
|||
border: 1px solid var(--primary-color); |
|||
color: var(--primary-color); |
|||
text-decoration: none; |
|||
" |
|||
class="mx-1 mb-2 deep-1 deep_hover"> |
|||
<img class="img" |
|||
style="width: 24px" |
|||
src="./assets/icons/mail.svg"/> |
|||
<span class="pl-2" |
|||
style=" font-size: 16px; vertical-align: middle" |
|||
>Email Us</span |
|||
> |
|||
</a> |
|||
<a href="skype:cybroopenerp?chat" |
|||
target="_blank" |
|||
style=" |
|||
background-color: #7f289b; |
|||
font-family: Montserrat; |
|||
display: inline-block; |
|||
padding: 7px 33px; |
|||
border: 1px solid #7f289b; |
|||
border-radius: 35px; |
|||
text-decoration: none; |
|||
" |
|||
class="mx-1 mb-2 deep-1 deep_hover"> |
|||
<img |
|||
class="img" |
|||
style="width: 24px" |
|||
src="./assets/icons/skype-fill.svg" |
|||
/> |
|||
<span |
|||
class="pl-2" |
|||
style="color: #fff; font-size: 16px; vertical-align: middle" |
|||
>Skype Us</span |
|||
> |
|||
</a> |
|||
</div> |
|||
<div class="d-flex justify-content-center mt-2"> |
|||
<img src="./assets/screenshots/hero.gif" |
|||
class="w-100" |
|||
style="z-index: 3; height: auto;"> |
|||
</div> |
|||
</div> |
|||
<div class="position-absolute" |
|||
style="bottom: 0; z-index: 1; width: 100%;"> |
|||
<img src="./assets/icons/banner-bg.svg" |
|||
class="img-fluid w-100"> |
|||
</div> |
|||
<div class="position-absolute" |
|||
style="bottom: 0; right: 0; z-index: 2;"> |
|||
<img src="./assets/icons/patter.svg"> |
|||
</div> |
|||
</div> |
|||
<!-- key-highlight --> |
|||
<div class="" style="border-radius: 16px; |
|||
padding: 60px 40px; |
|||
border: 1px solid #EBEEF2; |
|||
background: #F5F5F7; |
|||
box-shadow: 0px 5px 20px -11px rgba(0, 0, 0, 0.25); "> |
|||
<div class="row"> |
|||
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center"> |
|||
<h2 style=" color: var(--text-color); |
|||
text-align: center; |
|||
font-size: 40px; |
|||
font-weight: 700; |
|||
text-transform: uppercase; padding-bottom: 50px;">Key |
|||
Heighlights</h2> |
|||
</div> |
|||
<div class="col-lg-4"> |
|||
<div class="mb-4 d-flex flex-column justify-content-center gap-3" |
|||
style="border-radius: 12px; border: 1px solid #B6BCCD; |
|||
background: #FFF;padding:32px "> |
|||
<div class="d-flex justify-content-center align-items-center" |
|||
style="background-color:#7847D9 !important; border-radius:8px !important; height:42px; width:42px"> |
|||
<img src="./assets/icons/feature-icon.svg" |
|||
class="img-responsive" height="26px" |
|||
width="26px"> |
|||
</div> |
|||
<h5 class="m-0" |
|||
style="color:#000 !important; font-weight:bold"> |
|||
Catch Weight for Product. |
|||
</h5> |
|||
<p class="m-0" |
|||
style="font-size:0.9rem; color:var(--text-color-light); font-size: 16px; font-weight: 400;"> |
|||
Enable Catch Weight In Products .</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-4"> |
|||
<div class="mb-4 d-flex flex-column justify-content-center gap-3" |
|||
style="border-radius: 12px; |
|||
border: 1px solid #B6BCCD; |
|||
background: #FFF;padding:32px "> |
|||
<div class="d-flex justify-content-center align-items-center" |
|||
style="background-color:#7847D9 !important; border-radius:8px !important; height:42px; width:42px"> |
|||
<img src="./assets/icons/feature-icon.svg" |
|||
class="img-responsive" height="26px" |
|||
width="26px"> |
|||
</div> |
|||
<h5 class="m-0" |
|||
style="color:#000 !important; font-weight:bold"> |
|||
Catch Weight In Transfers. |
|||
</h5> |
|||
<p class="m-0" |
|||
style="font-size:0.9rem; color:var(--text-color-light); font-size: 16px; font-weight: 400;"> |
|||
Can see the Catch Weight in Transfers. |
|||
</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-4"> |
|||
<div class="mb-4 d-flex flex-column justify-content-center gap-3" |
|||
style="border-radius: 12px; |
|||
border: 1px solid #B6BCCD; |
|||
background: #FFF;padding:32px "> |
|||
<div class="d-flex justify-content-center align-items-center" |
|||
style="background-color:#7847D9 !important; border-radius:8px !important; height:42px; width:42px"> |
|||
<img src="./assets/icons/feature-icon.svg" |
|||
class="img-responsive" height="26px" |
|||
width="26px"> |
|||
</div> |
|||
<h5 class="m-0" |
|||
style="color:#000 !important; font-weight:bold"> |
|||
Catch Weight In Scrap. |
|||
</h5> |
|||
<p class="m-0" |
|||
style="font-size:0.9rem; color:var(--text-color-light); font-size: 16px; font-weight: 400;"> |
|||
Can see the Catch Weight in Scrap. |
|||
</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<!--code --> |
|||
<div class="my-5"> |
|||
<div style=" padding: 5rem 4rem 5rem 4rem; background-color: #0A1425; border-radius: 12px; position: relative;"> |
|||
<div class="wrapper-info" |
|||
style="display: flex; flex-direction: column; gap: 20px;"> |
|||
<span class="wrapper-subtitle" |
|||
style="font-size: 40px; font-weight: 700; color: #fff;line-height: 60px; text-transform: capitalize; width: 450px;">Catch Weight - Stock</span> |
|||
<h3 class="wrapper-details" |
|||
style="font-size: 20px; font-weight: 400; color: #fff; line-height: 32px; "> |
|||
Are you ready to make your business more |
|||
organized? |
|||
<br> Improve now! |
|||
</h3> |
|||
<div class="d-flex gap-3"> |
|||
<a href="mailto:odoo@cybrosys.com" |
|||
class="shop-btn" style="cursor: pointer; border-radius: 16px; display: flex; justify-content: center; align-items: center; gap: 7px; |
|||
border: 1px solid var(--DarkOverlayElement-DO20, rgba(255, 255, 255, 0.20)); |
|||
background: linear-gradient(93deg, rgba(255, 255, 255, 0.08) 6.01%, rgba(255, 255, 255, 0.17) 90.83%); |
|||
backdrop-filter: blur(10px); color: #fff; padding: 12px 16px 12px 16px; text-decoration: none;"> |
|||
<span style="border-radius: 12px; |
|||
background: var(--DarkOverlayElement-DO10, rgba(255, 255, 255, 0.10)); |
|||
backdrop-filter: blur(6px);padding: 12px;"> |
|||
<img src="./assets/icons/banner-mail.svg"> |
|||
</span> |
|||
<span style="font-weight: 500;">odoo@cybrosys.com</span> |
|||
</a> |
|||
<a href="https://wa.me/919074270811" |
|||
target="_blank" class="shop-btn" |
|||
style="cursor: pointer; border-radius: 16px; display: flex; justify-content: center; align-items: center; gap: 7px; |
|||
border: 1px solid var(--DarkOverlayElement-DO20, rgba(255, 255, 255, 0.20)); |
|||
background: linear-gradient(93deg, rgba(255, 255, 255, 0.08) 6.01%, rgba(255, 255, 255, 0.17) 90.83%); |
|||
backdrop-filter: blur(10px); color: #fff; padding: 12px 22px 12px 18px; text-decoration: none;"> |
|||
<span style="border-radius: 12px; |
|||
background: var(--DarkOverlayElement-DO10, rgba(255, 255, 255, 0.10)); |
|||
backdrop-filter: blur(6px);padding: 12px;"> |
|||
<img src="./assets/icons/banner-call.svg"> |
|||
</span> |
|||
<span style="font-weight: 500;">+91 9074270811</span> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="" |
|||
style="position: absolute; bottom: 0; right: 0;"> |
|||
<img src="./assets/icons/banner-pattern.svg" |
|||
style="width: 540px;"> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<!-- end-code --> |
|||
<!-- --> |
|||
<!-- screenshot and other --> |
|||
|
|||
<div class="mb-4 bg-white" |
|||
style=" border: 1px solid #EBEEF2; border-radius: 6px; box-shadow: 0px 8px 20px -4px rgba(0, 0, 0, 0.10); border: 1px solid #EBEEF2;"> |
|||
<div> |
|||
<ul class="nav nav-tabs justify-content-center bg-white py-2" |
|||
id="myTab" role="tablist" |
|||
style="border-radius: 6px 6px 0 0;"> |
|||
<li class="nav-item"> |
|||
<a aria-controls="overview" |
|||
aria-bs-selected="true" |
|||
class="nav-link active" data-bs-toggle="tab" |
|||
href="#overview" id="overview-tab" role="tab" |
|||
style="color:#121212; font-weight:500; font-size:16px"> |
|||
Screenshots</a> |
|||
</li> |
|||
<li class="nav-item"> |
|||
<a aria-controls="feature" |
|||
aria-bs-selected="false" |
|||
class="nav-link py-2" data-bs-toggle="tab" |
|||
href="#feature" id="feature-tab" role="tab" |
|||
style="color:#121212; font-weight:500; font-size:16px">Features</a> |
|||
</li> |
|||
<li class="nav-item"> |
|||
<a aria-controls="releases" |
|||
aria-bs-selected="false" class="nav-link" |
|||
data-bs-toggle="tab" href="#releases" |
|||
id="releases-tab" role="tab" |
|||
style="color:#121212; font-weight:500; font-size:16px">Releases</a> |
|||
</li> |
|||
</ul> |
|||
</div> |
|||
<div class="tab-content p-md-5 p-2 py-3" id="myTabContent"> |
|||
<div aria-labelledby="overview-tab" |
|||
class="tab-pane fade show active" id="overview" |
|||
role="tabpanel"> |
|||
<div class="position-relative mb-4" |
|||
style="border-radius:10px"> |
|||
<img alt="acc_bg" |
|||
class="w-100 h-100 position-absolute img-fluid left_0" |
|||
loading="lazy" |
|||
src="//apps.odoocdn.com/apps/assets/17.0/ks_dashboard_ninja/ai-img/o3.png?007008f" |
|||
style=""> |
|||
</div> |
|||
<!-- screenshots section--> |
|||
<div class="position-relative mb-4" |
|||
style="border-radius:10px; background-color:#f4f4f4"> |
|||
<div class="p-md-5 p-3 position-relative"> |
|||
<div class="row"> |
|||
<div class="col-md-12"> |
|||
<h1 style="font-weight:bold; font-size:calc(1.1rem + 1vw); line-height:120%; text-align:center; text-transform:capitalize; font-size: 40px; |
|||
font-weight: 700;"> |
|||
<span style="color:#121212; font-size:calc(1.1rem + 1vw)">Enable Catch Weight On |
|||
</span> |
|||
<span style="color: var(--primary-color); font-size:calc(1.1rem + 1vw)"> Products.</span> |
|||
</h1> |
|||
</div> |
|||
<div class="col-md-12 mb-4"> |
|||
<p style="font-weight:400; font-size:16px; line-height:150%; text-align:center; color:var(--text-color-light)"> |
|||
We can click on the checkbox |
|||
"Catch Weight Product" to Enable |
|||
The Catch weight on the selected |
|||
product. |
|||
</p> |
|||
</div> |
|||
<div class="col-md-12 text-center"> |
|||
<div class="d-inline-block p-3 shadow-sm" |
|||
style="background-color:#fff; border-radius:10px"> |
|||
<img alt="" class="img-fluid" |
|||
loading="lazy" |
|||
src="./assets/screenshots/cw_stock_01.png" |
|||
style="min-height: 1px;"> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="position-relative mb-4" |
|||
style="border-radius:10px; background-color:#f4f4f4"> |
|||
<div class="p-md-5 p-3 position-relative"> |
|||
<div class="row"> |
|||
<div class="col-md-12"> |
|||
<h1 style="font-weight:bold; font-size:calc(1.1rem + 1vw); line-height:120%; text-align:center; text-transform:capitalize; font-size: 40px; |
|||
font-weight: 700;"> |
|||
<span style="color:#121212; font-size:calc(1.1rem + 1vw)">Setting Catch Weight |
|||
</span> |
|||
<span style="color: var(--primary-color); font-size:calc(1.1rem + 1vw)">UOM.</span> |
|||
</h1> |
|||
</div> |
|||
<div class="col-md-12 mb-4"> |
|||
<p style="font-weight:400; font-size:16px; line-height:150%; text-align:center; color:var(--text-color-light)"> |
|||
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. |
|||
</p> |
|||
</div> |
|||
<div class="col-md-12 text-center"> |
|||
<div class="d-inline-block p-3 shadow-sm" |
|||
style="background-color:#fff; border-radius:10px"> |
|||
<img alt="" class="img-fluid" |
|||
loading="lazy" |
|||
src="./assets/screenshots/cw_stock_02.png" |
|||
style="min-height: 1px;"> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="position-relative mb-4" |
|||
style="border-radius:10px; background-color:#f4f4f4"> |
|||
<div class="p-md-5 p-3 position-relative"> |
|||
<div class="row"> |
|||
<div class="col-md-12"> |
|||
<h1 style="font-weight:bold; font-size:calc(1.1rem + 1vw); line-height:120%; text-align:center; text-transform:capitalize; font-size: 40px; |
|||
font-weight: 700;"> |
|||
<span style="color:#121212; font-size:calc(1.1rem + 1vw)">Catch Weight In |
|||
</span> |
|||
<span style="color: var(--primary-color); font-size:calc(1.1rem + 1vw)">Transfers.</span> |
|||
</h1> |
|||
</div> |
|||
<div class="col-md-12 mb-4"> |
|||
<p style="font-weight:400; font-size:16px; line-height:150%; text-align:center; color:var(--text-color-light)"> |
|||
We can see the catch weight in |
|||
the transfers like Receipt or |
|||
Delivery. |
|||
</p> |
|||
</div> |
|||
<div class="col-md-12 text-center"> |
|||
<div class="d-inline-block p-3 shadow-sm" |
|||
style="background-color:#fff; border-radius:10px"> |
|||
<img alt="" class="img-fluid" |
|||
loading="lazy" |
|||
src="./assets/screenshots/cw_stock_03.png" |
|||
style="min-height: 1px;"> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="position-relative mb-4" |
|||
style="border-radius:10px; background-color:#f4f4f4"> |
|||
<div class="p-md-5 p-3 position-relative"> |
|||
<div class="row"> |
|||
<div class="col-md-12"> |
|||
<h1 style="font-weight:bold; font-size:calc(1.1rem + 1vw); line-height:120%; text-align:center; text-transform:capitalize; font-size: 40px; |
|||
font-weight: 700;"> |
|||
<span style="color:#121212; font-size:calc(1.1rem + 1vw)">Catch Weight In |
|||
</span> |
|||
<span style="color: var(--primary-color); font-size:calc(1.1rem + 1vw)">Scrap.</span> |
|||
</h1> |
|||
</div> |
|||
<div class="col-md-12 mb-4"> |
|||
<p style="font-weight:400; font-size:16px; line-height:150%; text-align:center; color:var(--text-color-light)"> |
|||
Can see the catch weight in |
|||
Scrap Orders. |
|||
</p> |
|||
</div> |
|||
<div class="col-md-12 text-center"> |
|||
<div class="d-inline-block p-3 shadow-sm" |
|||
style="background-color:#fff; border-radius:10px"> |
|||
<img alt="" class="img-fluid" |
|||
loading="lazy" |
|||
src="./assets/screenshots/cw_stock_04.png" |
|||
style="min-height: 1px;"> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="position-relative mb-4" |
|||
style="border-radius:10px; background-color:#f4f4f4"> |
|||
<div class="p-md-5 p-3 position-relative"> |
|||
<div class="row"> |
|||
<div class="col-md-12"> |
|||
<h1 style="font-weight:bold; font-size:calc(1.1rem + 1vw); line-height:120%; text-align:center; text-transform:capitalize; font-size: 40px; |
|||
font-weight: 700;"> |
|||
<span style="color:#121212; font-size:calc(1.1rem + 1vw)">Catch Weight In Product |
|||
</span> |
|||
<span style="color: var(--primary-color); font-size:calc(1.1rem + 1vw)">Scrap Moves .</span> |
|||
</h1> |
|||
</div> |
|||
<div class="col-md-12 mb-4"> |
|||
<p style="font-weight:400; font-size:16px; line-height:150%; text-align:center; color:var(--text-color-light)"> |
|||
Can see the catch weight in |
|||
Moves History. |
|||
</p> |
|||
</div> |
|||
<div class="col-md-12 text-center"> |
|||
<div class="d-inline-block p-3 shadow-sm" |
|||
style="background-color:#fff; border-radius:10px"> |
|||
<img alt="" class="img-fluid" |
|||
loading="lazy" |
|||
src="./assets/screenshots/cw_stock_05.png" |
|||
style="min-height: 1px;"> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div aria-labelledby="feature-tab" |
|||
class="tab-pane fade show py-1" id="feature" |
|||
role="tabpanel"> |
|||
<div class="row py-4"> |
|||
<!-- Features Section --> |
|||
<div class="col-md-6 col-sm-12 p-3"> |
|||
<div class="d-flex flex-column align-items-start h-100" |
|||
style="padding:30px; border-radius:12px; background-color:#faf8ff"> |
|||
<div class="d-flex align-items-center justify-content-center"> |
|||
<div class="d-flex align-items-center justify-content-center " |
|||
style="width:36px; height:36px; border-radius:50%; background-color:#7847D9 ; margin-right:10px"> |
|||
<i class="fa fa-star " |
|||
style="color:#fff; font-size:14px"></i> |
|||
</div> |
|||
<p style="color:#1A202C; font-weight:600; font-size:1.2rem; margin-bottom:2px"> |
|||
Enable catch weight for each |
|||
product.</p> |
|||
</div> |
|||
|
|||
</div> |
|||
</div> |
|||
<div class="col-md-6 col-sm-12 p-3"> |
|||
<div class="d-flex flex-column align-items-start h-100" |
|||
style="padding:30px; border-radius:12px; background-color:#faf8ff"> |
|||
<div class="d-flex align-items-center justify-content-center"> |
|||
<div class="d-flex align-items-center justify-content-center " |
|||
style="width:36px; height:36px; border-radius:50%; background-color:#7847D9 ; margin-right:10px"> |
|||
<i class="fa fa-star " |
|||
style="color:#fff; font-size:14px"></i> |
|||
</div> |
|||
<p style="color:#1A202C; font-weight:600; font-size:1.2rem; margin-bottom:2px"> |
|||
Catch Weight In Transfers.</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-6 col-sm-12 p-3"> |
|||
<div class="d-flex flex-column align-items-start h-100" |
|||
style="padding:30px; border-radius:12px; background-color:#faf8ff"> |
|||
<div class="d-flex align-items-center justify-content-center"> |
|||
<div class="d-flex align-items-center justify-content-center " |
|||
style="width:36px; height:36px; border-radius:50%; background-color:#7847D9 ; margin-right:10px"> |
|||
<i class="fa fa-star " |
|||
style="color:#fff; font-size:14px"></i> |
|||
</div> |
|||
<p style="color:#1A202C; font-weight:600; font-size:1.2rem; margin-bottom:2px"> |
|||
Catch Weight In Scrap |
|||
Orders.</p> |
|||
</div> |
|||
|
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div aria-labelledby="releases-tab" |
|||
class="tab-pane fade show" id="releases" |
|||
role="tabpanel"> |
|||
<!-- Release Notes --> |
|||
<div class="row pt-5 m-0"> |
|||
<div class="col-md-3"> |
|||
<h4 style="font-size:16px; font-weight:600; color:#514F4F; margin:0; line-height:26px;"> |
|||
Latest Release 18.0.1.0.0 |
|||
</h4> |
|||
<span style="font-size:14px; color:#7A7979; display:block; margin-bottom:20px;"> |
|||
30th September, 2024 |
|||
</span> |
|||
</div> |
|||
<div class="col-md-8"> |
|||
<div style="padding:0 0 40px"> |
|||
<div style="margin:0 0 10px"> |
|||
<div style="display:inline-block; padding:0px 8px; color:#514F4F; background-color:#FFD8D8; border-radius:20px"> |
|||
Add |
|||
</div> |
|||
</div> |
|||
<div class="d-flex m-0" |
|||
style="color:#7A7979;"> |
|||
<ul class="pl-3 mb-0"> |
|||
<li> |
|||
Initial Commit |
|||
</li> |
|||
|
|||
</ul> |
|||
</div> |
|||
</div> |
|||
<div style="padding:0 0 0; border-bottom:1px solid #E3E3E3"> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<!-- --> |
|||
<!-- related post --> |
|||
<div class="" style="margin-top: 100px;"> |
|||
<div class="text-center mt-4"> |
|||
<h3 class="mb-0" style="color: #000; |
|||
text-align: center; |
|||
font-family: Montserrat; |
|||
font-size: 40px; |
|||
font-style: normal; |
|||
font-weight: 700; |
|||
line-height: normal; |
|||
text-transform: uppercase; |
|||
padding-bottom: 50px;" |
|||
>Related Modules</h3> |
|||
</div> |
|||
|
|||
<div class="owl-carousel owl-theme"> |
|||
<div class="item" |
|||
style="border:1px solid #CBCBCB !important; border-radius: 6px;"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/18.0/inventory_stock_dashboard_odoo" |
|||
style="color:#000; text-decoration:none"> |
|||
<div style=" border-radius:4px"> |
|||
<div> |
|||
<img src="./assets/modules/inventory_stock_dashboard.jpg" |
|||
alt="" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<p class="text-center mb-2 pb-0 text-black" |
|||
style="font-weight: 600; padding-top: 16px;"> |
|||
Inventory Dashboard odoo</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="item" |
|||
style="border:1px solid #CBCBCB !important; border-radius: 6px;"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/18.0/delivery_split" |
|||
style="color:#000; text-decoration:none"> |
|||
<div style=" border-radius:4px"> |
|||
<div> |
|||
<img src="./assets/modules/delivery_split.jpg" |
|||
alt="" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<p class="text-center pb-0 mb-2 text-black" |
|||
style="font-weight: 600; padding-top: 16px;"> |
|||
Delivery Split</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="item" |
|||
style="border:1px solid #CBCBCB !important; border-radius: 6px;"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/18.0/website_multi_product_return_management" |
|||
style="color:#000; text-decoration:none"> |
|||
<div style=" border-radius:4px"> |
|||
<div> |
|||
<img src="./assets/modules/multi_product_return_from_website.jpg" |
|||
alt="" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<p class="text-center pb-0 mb-2 text-black" |
|||
style="font-weight: 600; padding-top: 16px;"> |
|||
Multi Product Return From |
|||
Website</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="item" |
|||
style="border:1px solid #CBCBCB !important; border-radius: 6px;"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/18.0/courier_management" |
|||
style="color:#000; text-decoration:none"> |
|||
<div style=" border-radius:4px"> |
|||
<div> |
|||
<img src="./assets/modules/courier_management.jpg" |
|||
alt="" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<p class="text-center pb-0 mb-2 text-black" |
|||
style="font-weight: 600; padding-top: 16px;"> |
|||
Courier Management</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="item" |
|||
style="border:1px solid #CBCBCB !important; border-radius: 6px;"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/18.0/purchase_product_history" |
|||
style="color:#000; text-decoration:none"> |
|||
<div style=" border-radius:4px"> |
|||
<div> |
|||
<img src="./assets/modules/purchase_history_of_product.jpg" |
|||
alt="" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<p class="text-center pb-0 mb-2 text-black" |
|||
style="font-weight: 600; padding-top: 16px;"> |
|||
Purchase History of Products</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="item" |
|||
style="border:1px solid #CBCBCB !important; border-radius: 6px;"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/18.0/website_product_reservation" |
|||
style="color:#000; text-decoration:none"> |
|||
<div style=" border-radius:4px"> |
|||
<div> |
|||
<img src="./assets/modules/website_product_reservation.jpg" |
|||
alt="" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<p class="text-center pb-0 mb-2 text-black" |
|||
style="font-weight: 600; padding-top: 16px;"> |
|||
Website Product Reservation</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<!-- --> |
|||
<!-- service-section --> |
|||
|
|||
<section id="services" class="mt-5" style="border-radius: 16px; |
|||
border: 1px solid #EBEEF2; |
|||
background: var(--Neutral-N0, #FFF); |
|||
padding: 60px 40px; |
|||
box-shadow: 0px 5px 20px -11px rgba(0, 0, 0, 0.25);"> |
|||
<div class="text-center mt-4"><h3 class="mb-0" style="color: #000; |
|||
text-align: center; |
|||
font-family: Montserrat; |
|||
font-size: 40px; |
|||
font-style: normal; |
|||
font-weight: 700; |
|||
line-height: normal; |
|||
text-transform: uppercase; |
|||
padding-bottom: 50px;"> |
|||
Our Services</h3></div> |
|||
<div class="row mt-3"> |
|||
<div class="col-lg-3 col-sm-12 mb-3"> |
|||
<a href="#" style="text-decoration:none"> |
|||
<div class="btn-lg btn-block p-4 mb-2 d-flex flex-column justify-content-center align-items-center" |
|||
style="font-size:25px; font-weight:bold;background-color:#FFE2E5; margin:auto; gap: 16px; border-radius: 8px;"> |
|||
<div class="d-flex justify-content-center align-items-center" |
|||
style="background-color:#FA5A7D; border-radius:50%; height:56px; width:56px"> |
|||
<img src="./assets/icons/gear.svg" |
|||
class="img-responsive" |
|||
height="28px" width="28px"> |
|||
</div> |
|||
<span style="font-size: 18px; |
|||
color: var(--text-color); |
|||
font-weight: 600;"> Odoo Customization</span> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
<div class="col-lg-3 col-sm-12 mb-3"> |
|||
<a href="#" style="text-decoration:none"> |
|||
<div class="btn-lg btn-block p-4 mb-2 d-flex flex-column justify-content-center align-items-center" |
|||
style="font-size:25px; font-weight:bold;background-color:#FFF4DE; margin:auto; gap: 16px; border-radius: 8px;"> |
|||
<div class="d-flex justify-content-center align-items-center" |
|||
style="background-color:#FF947A; border-radius:50%; height:56px; width:56px"> |
|||
<img src="./assets/icons/wrench-icon.svg" |
|||
class="img-responsive" |
|||
height="28px" width="28px"> |
|||
</div> |
|||
<span style="font-size: 18px; |
|||
color: var(--text-color); |
|||
font-weight: 600;"> Odoo Implementation</span> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
<div class="col-lg-3 col-sm-12 mb-3"> |
|||
<a href="#" style="text-decoration:none"> |
|||
<div class="btn-lg btn-block p-4 mb-2 d-flex flex-column justify-content-center align-items-center" |
|||
style="font-size:25px; font-weight:bold;background-color:#DCFCE7; margin:auto; gap: 16px; border-radius: 8px;"> |
|||
<div class="d-flex justify-content-center align-items-center" |
|||
style="background-color:#3CD856; border-radius:50%; height:56px; width:56px"> |
|||
<img src="./assets/icons/life-ring-icon.svg" |
|||
class="img-responsive" |
|||
height="28px" width="28px"> |
|||
</div> |
|||
<span style="font-size: 18px; |
|||
color: var(--text-color); |
|||
font-weight: 600;">Odoo Support</span> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
<div class="col-lg-3 col-sm-12 mb-3"> |
|||
<a href="#" style="text-decoration:none"> |
|||
<div class="btn-lg btn-block p-4 mb-2 d-flex flex-column justify-content-center align-items-center" |
|||
style="font-size:25px; font-weight:bold;background-color:#F3E8FF; margin:auto; gap: 16px; border-radius: 8px;"> |
|||
<div class="d-flex justify-content-center align-items-center" |
|||
style="background-color:#BF83FF; border-radius:50%; height:56px; width:56px"> |
|||
<img src="./assets/icons/arrows-repeat.svg" |
|||
class="img-responsive" |
|||
height="28px" width="28px"> |
|||
</div> |
|||
<span style="font-size: 18px; |
|||
color: var(--text-color); |
|||
font-weight: 600;">Odoo Migration</span> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
<div class="col-lg-3 col-sm-12 mb-3"> |
|||
<a href="#" style="text-decoration:none"> |
|||
<div class="btn-lg btn-block p-4 mb-2 d-flex flex-column justify-content-center align-items-center" |
|||
style="font-size:25px; font-weight:bold;background-color:#F1F9FF; margin:auto; gap: 16px; border-radius: 8px;"> |
|||
<div class="d-flex justify-content-center align-items-center" |
|||
style="background-color:#01649C; border-radius:50%; height:56px; width:56px"> |
|||
<img src="./assets/icons/puzzle-piece-icon.svg" |
|||
class="img-responsive" |
|||
height="28px" width="28px"> |
|||
</div> |
|||
<span style="font-size: 18px; |
|||
color: var(--text-color); |
|||
font-weight: 600;">Odoo integration</span> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
<div class="col-lg-3 col-sm-12 mb-3"> |
|||
<a href="#" style="text-decoration:none"> |
|||
<div class="btn-lg btn-block p-4 mb-2 d-flex flex-column justify-content-center align-items-center" |
|||
style="font-size:25px; font-weight:bold;background-color:#EDF8ED; margin:auto; gap: 16px; border-radius: 8px;"> |
|||
|
|||
<div class="d-flex justify-content-center align-items-center" |
|||
style="background-color:#69CC70; border-radius:50%; height:56px; width:56px"> |
|||
<img src="./assets/icons/odoo-consultancy.svg" |
|||
class="img-responsive" |
|||
height="28px" width="28px"> |
|||
</div> |
|||
<span style="font-size: 18px; |
|||
color: var(--text-color); |
|||
font-weight: 600;">Odoo Consultancy</span> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
<div class="col-lg-3 col-sm-12 mb-3"> |
|||
<a href="#" style="text-decoration:none"> |
|||
<div class="btn-lg btn-block p-4 mb-2 d-flex flex-column justify-content-center align-items-center" |
|||
style="font-size:25px; font-weight:bold;background-color:#F1F6FF; margin:auto; gap: 16px; border-radius: 8px;"> |
|||
|
|||
<div class="d-flex justify-content-center align-items-center" |
|||
style="background-color:#2E4556; border-radius:50%; height:56px; width:56px"> |
|||
<img src="./assets/icons/odoo-licencing.svg" |
|||
class="img-responsive" |
|||
height="28px" width="28px"> |
|||
</div> |
|||
<span style="font-size: 18px; |
|||
color: var(--text-color); |
|||
font-weight: 600;">Odoo Licensing</span> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
<div class="col-lg-3 col-sm-12 mb-3"> |
|||
<a href="#" style="text-decoration:none"> |
|||
<div class="btn-lg btn-block p-4 mb-2 d-flex flex-column justify-content-center align-items-center" |
|||
style="font-size:25px; font-weight:bold;background-color:#FAF6EA; margin:auto; gap: 16px; border-radius: 8px;"> |
|||
|
|||
<div class="d-flex justify-content-center align-items-center" |
|||
style="background-color:#FCD12C; border-radius:50%; height:56px; width:56px"> |
|||
<img src="./assets/icons/hire-odoo.svg" |
|||
class="img-responsive" |
|||
height="28px" width="28px"> |
|||
</div> |
|||
<span style="font-size: 18px; |
|||
color: var(--text-color); |
|||
font-weight: 600;">Hire Odoo Developer</span> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<!-- licence --> |
|||
<div class="tab-pane fade" id="profile" role="tabpanel" |
|||
aria-labelledby="profile-tab"> |
|||
<div class="px-5"> |
|||
.... |
|||
</div> |
|||
</div> |
|||
<!-- --> |
|||
</div> |
|||
</section> |
|||
<!-- --> |
|||
</div> |
|||
</div> |
|||
</body> |
|||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"></script> |
|||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" |
|||
integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" |
|||
crossorigin="anonymous" referrerpolicy="no-referrer"></script> |
|||
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script> |
|||
<script> |
|||
$('.owl-carousel').owlCarousel({ |
|||
rtl:true, |
|||
loop:true, |
|||
margin:10, |
|||
nav:true, |
|||
responsive:{ |
|||
0:{ |
|||
items:1 |
|||
}, |
|||
600:{ |
|||
items:3 |
|||
}, |
|||
1000:{ |
|||
items:3 |
|||
} |
|||
} |
|||
}) |
|||
</script> |
|||
</html> |
@ -0,0 +1,33 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<odoo> |
|||
<!-- product.template --> |
|||
<record id="product_template_form_view" model="ir.ui.view"> |
|||
<field name="name">product.template.view.form.inherit.cw.stock</field> |
|||
<field name="model">product.template</field> |
|||
<field name="inherit_id" ref="product.product_template_form_view"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//div[@name='options']" position="inside"> |
|||
<span class="d-inline-block"> |
|||
<field name="catch_weigth_ok"/> |
|||
<label class="o_form_label" for="catch_weigth_ok"> |
|||
Is Catch Weight |
|||
<sup class="btn-link p-1">?</sup> |
|||
</label> |
|||
</span> |
|||
</xpath> |
|||
<xpath expr="//field[@name='product_tooltip']" position="after"> |
|||
<field name="cw_uom_id" |
|||
invisible="catch_weigth_ok == False" |
|||
required="catch_weigth_ok == True"/> |
|||
<label for="average_cw_qty" |
|||
invisible="catch_weigth_ok == False" |
|||
required="catch_weigth_ok ==True"/> |
|||
<div name="average_cw_qty" class="o_row" |
|||
invisible="catch_weigth_ok == False" |
|||
required="catch_weigth_ok == True"> |
|||
<field name="average_cw_qty" class="oe_inline"/> |
|||
</div> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
</odoo> |
@ -0,0 +1,40 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<odoo> |
|||
<!-- Stock Move Line Form --> |
|||
<record id="view_move_line_form" model="ir.ui.view"> |
|||
<field name="name">stock.move.line.view.form.inherit.cw.stock</field> |
|||
<field name="model">stock.move.line</field> |
|||
<field name="inherit_id" ref="stock.view_move_line_form"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//div[hasclass('o_row')]" position="after"> |
|||
<label for="cw_qty_done" string="CW Quantity Done"/> |
|||
<div class="o_row"> |
|||
<field name="cw_hide" invisible="1"/> |
|||
<field name="cw_qty_done" |
|||
invisible="cw_hide == False"/> |
|||
<field name="cw_uom_id" options="{'no_create': True}" |
|||
string="CW Uom" |
|||
invisible="cw_hide == False"/> |
|||
<field name="category_id" invisible="1"/> |
|||
</div> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
<!-- Stock Move Line Tree --> |
|||
<record id="view_move_line_tree" model="ir.ui.view"> |
|||
<field name="name">stock.move.line.view.tree.inherit.cw.stock</field> |
|||
<field name="model">stock.move.line</field> |
|||
<field name="inherit_id" ref="stock.view_move_line_tree"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//field[@name='quantity']" position="after"> |
|||
<field name="cw_hide" column_invisible="1"/> |
|||
<field name="cw_qty_done" |
|||
invisible="cw_hide == False"/> |
|||
<field name="cw_uom_id" options="{'no_create': True}" |
|||
string="CW Uom" |
|||
invisible="cw_hide == False"/> |
|||
<field name="category_id" column_invisible="1"/> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
</odoo> |
@ -0,0 +1,25 @@ |
|||
<?xml version="1.0" encoding="utf-8" ?> |
|||
<odoo> |
|||
<!-- Stock Picking --> |
|||
<record id="view_picking_form" model="ir.ui.view"> |
|||
<field name="name">stock.picking.view.form.inherit.cw.stock</field> |
|||
<field name="model">stock.picking</field> |
|||
<field name="inherit_id" ref="stock.view_picking_form"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//field[@name='product_id']" position="after"> |
|||
<field name="cw_hide" column_invisible="True"/> |
|||
<field name="show_operations" column_invisible="True"/> |
|||
<field name="cw_demand" |
|||
readonly="is_initial_demand_editable == False or show_operations == True and is_locked == True and is_initial_demand_editable == False"/> |
|||
<field name="cw_reserved" |
|||
column_invisible="parent.state in ['draft', 'done'] or parent.picking_type_code != 'outgoing' "/> |
|||
<field name="cw_done" |
|||
readonly="product_id == False" |
|||
column_invisible="parent.state =='draft'" |
|||
/> |
|||
<field name="category_id" column_invisible="1"/> |
|||
<field name="cw_uom_id"/> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
</odoo> |
@ -0,0 +1,19 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<odoo> |
|||
<!-- Stock Return--> |
|||
<record id="view_stock_return_picking_form" model="ir.ui.view"> |
|||
<field name="name">stock.return.view.form.inherit.cw.stock</field> |
|||
<field name="model">stock.return.picking</field> |
|||
<field name="inherit_id" |
|||
ref="stock.view_stock_return_picking_form"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//field[@name='product_return_moves']/list" |
|||
position="inside"> |
|||
<field name="cw_hide" invisible="1"/> |
|||
<field name="cw_qty" readonly="False"/> |
|||
<field name="category_id" invisible="1"/> |
|||
<field name="cw_uom_id" readonly="True"/> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
</odoo> |
@ -0,0 +1,47 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<odoo> |
|||
<!-- Stock Scrap --> |
|||
<record id="stock_scrap_form_view" model="ir.ui.view"> |
|||
<field name="name">stock.scrap.view.tree.inherit.cw.stock</field> |
|||
<field name="model">stock.scrap</field> |
|||
<field name="inherit_id" ref="stock.stock_scrap_form_view"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//field[@name='product_id']" position="after"> |
|||
<field name="toggle_cw" invisible="1"/> |
|||
<label for="cw_qty" string="CW-Quantity" |
|||
invisible="toggle_cw ==False" |
|||
required="toggle_cw == True"/> |
|||
<div class="o_row" |
|||
invisible="toggle_cw == False"> |
|||
<field name="cw_qty" |
|||
invisible="toggle_cw == False" |
|||
required="toggle_cw == True"/> |
|||
<field name="category_id" invisible="1"/> |
|||
<field name="cw_uom_id" |
|||
invisible="toggle_cw == False" |
|||
required="toggle_cw == True"/> |
|||
</div> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
<!-- Stock Scrap Wizard--> |
|||
<record id="stock_scrap_form_view2" model="ir.ui.view"> |
|||
<field name="name">stock.scrap.view.form.inherit.cw.stock</field> |
|||
<field name="model">stock.scrap</field> |
|||
<field name="inherit_id" ref="stock.stock_scrap_form_view2"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//div[hasclass('o_row')]" position="after"> |
|||
<field name="toggle_cw" invisible="1"/> |
|||
<label for="cw_qty" string="CW-Quantity" |
|||
invisible="toggle_cw == False"/> |
|||
<div class="o_row" |
|||
invisible="toggle_cw ==False"> |
|||
<field name="cw_qty" |
|||
required="toggle_cw == True" readonly="False"/> |
|||
<field name="category_id" invisible="1"/> |
|||
<field name="cw_uom_id" readonly="False"/> |
|||
</div> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
</odoo> |