@ -0,0 +1,49 @@ |
|||||
|
.. 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 |
||||
|
|
||||
|
Scrap Management |
||||
|
================ |
||||
|
* Module which helps manage scrap dismantle in company. |
||||
|
|
||||
|
Configuration |
||||
|
============= |
||||
|
- Additional configuration not required |
||||
|
|
||||
|
Company |
||||
|
------- |
||||
|
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ |
||||
|
|
||||
|
License |
||||
|
------- |
||||
|
Affero General Public License, Version 3 (AGPL v3). |
||||
|
(https://www.gnu.org/licenses/agpl-3.0-standalone.html) |
||||
|
|
||||
|
Credits |
||||
|
------- |
||||
|
* Developer: |
||||
|
(V16)Ranjith R, |
||||
|
(V17)Safa Faheem PE, |
||||
|
Contact : odoo@cybrosys.com |
||||
|
|
||||
|
Contacts |
||||
|
-------- |
||||
|
* Mail Contact : odoo@cybrosys.com |
||||
|
* Website : https://cybrosys.com |
||||
|
|
||||
|
Bug Tracker |
||||
|
----------- |
||||
|
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. |
||||
|
|
||||
|
Maintainer |
||||
|
========== |
||||
|
.. image:: https://cybrosys.com/images/logo.png |
||||
|
:target: https://cybrosys.com |
||||
|
|
||||
|
This module is maintained by Cybrosys Technologies. |
||||
|
|
||||
|
For support and more information, please visit `Our Website <https://cybrosys.com/>`__ |
||||
|
|
||||
|
Further information |
||||
|
=================== |
||||
|
HTML Description: `<static/description/index.html>`__ |
@ -0,0 +1,24 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Cybrosys Techno Solutions (Contact : odoo@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 |
||||
|
from . import report |
||||
|
from . import wizard |
@ -0,0 +1,51 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Cybrosys Techno Solutions (Contact : odoo@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': 'Scrap Management', |
||||
|
'version': '17.0.1.0.0', |
||||
|
'category': 'Inventory', |
||||
|
'summary': 'Manage Scrap in a company', |
||||
|
'description': """Module helps to dismantle the product having bom and move |
||||
|
the useful parts to the stock""", |
||||
|
'author': 'Cybrosys Techno Solutions', |
||||
|
'company': 'Cybrosys Techno Solutions', |
||||
|
'maintainer': 'Cybrosys Techno Solutions', |
||||
|
'website': 'https://www.cybrosys.com', |
||||
|
'depends': ['base', 'mail', 'stock', 'mrp'], |
||||
|
'data': [ |
||||
|
'security/ir.model.access.csv', |
||||
|
'data/ir_sequence_data.xml', |
||||
|
'views/scrap_management_line_views.xml', |
||||
|
'views/scrap_management_views.xml', |
||||
|
'views/stock_scrap_views.xml', |
||||
|
'report/scrap_management_template.xml', |
||||
|
'report/scrap_management_state_wise_template.xml', |
||||
|
'report/scrap_management_reports.xml', |
||||
|
'report/scrap_management_product_wise_template.xml', |
||||
|
'wizard/scrap_management_report_views.xml', |
||||
|
], |
||||
|
'images': ['static/description/banner.jpg'], |
||||
|
'license': 'AGPL-3', |
||||
|
'installable': True, |
||||
|
'auto_install': False, |
||||
|
'application': False, |
||||
|
} |
@ -0,0 +1,15 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Sequence for scrap management model --> |
||||
|
<data noupdate="1"> |
||||
|
<record id="sequence_scrap_management" model="ir.sequence"> |
||||
|
<field name="name">Scrap Management</field> |
||||
|
<field name="code">scrap.management</field> |
||||
|
<field name="active">TRUE</field> |
||||
|
<field name="prefix">SM</field> |
||||
|
<field name="padding">6</field> |
||||
|
<field name="number_next">1</field> |
||||
|
<field name="number_increment">1</field> |
||||
|
</record> |
||||
|
</data> |
||||
|
</odoo> |
@ -0,0 +1,6 @@ |
|||||
|
## Module <company_scrap_management> |
||||
|
|
||||
|
#### 01.02.2024 |
||||
|
#### Version 17.0.1.0.0 |
||||
|
#### ADD |
||||
|
- Initial commit for Scrap Management |
@ -0,0 +1,24 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Cybrosys Techno Solutions (Contact : odoo@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 scrap_management |
||||
|
from . import scrap_management_line |
||||
|
from . import stock_scrap |
@ -0,0 +1,149 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Cybrosys Techno Solutions (Contact : odoo@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 datetime import date |
||||
|
from odoo import api, fields, models |
||||
|
|
||||
|
|
||||
|
class ScrapManagement(models.Model): |
||||
|
""" This class define a new model for scrap management.""" |
||||
|
_name = "scrap.management" |
||||
|
_description = "Scrap Management" |
||||
|
_inherit = ['mail.thread', 'mail.activity.mixin'] |
||||
|
_rec_name = 'scrap_management_number' |
||||
|
|
||||
|
scrap_management_number = fields.Char( |
||||
|
string="Scrap Number", readonly=True, required=True, copy=False, |
||||
|
default="New", help="Field to specify sequence number") |
||||
|
scrap_order_id = fields.Many2one( |
||||
|
'stock.scrap', String="Scrap Order", required=True, |
||||
|
help="Field to choose scrap order", |
||||
|
domain="[('state', '=','done')," |
||||
|
"('typ_of_reuse','=','dismantle')," |
||||
|
"('state_management', '=','none')]") |
||||
|
bill_of_material_id = fields.Many2one( |
||||
|
'mrp.bom', related="scrap_order_id.bill_of_material_id", |
||||
|
string="Bill of Material", help="Field to choose bill of material") |
||||
|
product_id = fields.Many2one( |
||||
|
'product.product', |
||||
|
String="Product", related="scrap_order_id.product_id", |
||||
|
help="Field to choose product") |
||||
|
date = fields.Date(string="Date", help="field to give the date") |
||||
|
qty = fields.Float(String="Quantity", related="scrap_order_id.scrap_qty", |
||||
|
help="Field to specify quantity") |
||||
|
scrap_management_line_ids = fields.One2many( |
||||
|
'scrap.management.line', 'scrap_management_id', |
||||
|
string="Components", help="Field to specify components") |
||||
|
location_id = fields.Many2one( |
||||
|
'stock.location', String="Transfer location", |
||||
|
domain="[('usage','=','internal')]", required=True, |
||||
|
help="Field to specify location") |
||||
|
state = fields.Selection( |
||||
|
[('draft', 'Draft'), ('confirm', 'Confirm'), ('done', 'Done')], |
||||
|
string="State", default="draft", |
||||
|
help="Field to specify state of Scrap Management") |
||||
|
|
||||
|
@api.model |
||||
|
def create(self, vals): |
||||
|
""" |
||||
|
Summary: |
||||
|
function return sequence number for record |
||||
|
Args: |
||||
|
vals:To store the sequence created |
||||
|
return: |
||||
|
result:return sequence created |
||||
|
""" |
||||
|
if vals.get('scrap_management_number', 'New') == 'New': |
||||
|
vals['scrap_management_number'] = self.env[ |
||||
|
'ir.sequence'].next_by_code( |
||||
|
'scrap.management') or 'New' |
||||
|
result = super(ScrapManagement, self).create(vals) |
||||
|
return result |
||||
|
|
||||
|
def action_confirm(self): |
||||
|
"""Function to confirm the Scrap Management and add value to one2many""" |
||||
|
for line in self.bill_of_material_id.bom_line_ids: |
||||
|
if line.product_id.detailed_type not in ['consu', 'service']: |
||||
|
self.write({ |
||||
|
'scrap_management_line_ids': [ |
||||
|
(0, 0, {'product_id': line.product_id.id, |
||||
|
'dismantle_qty': (self.qty * line.product_qty)})], |
||||
|
}) |
||||
|
self.write({ |
||||
|
'state': "confirm" |
||||
|
}) |
||||
|
|
||||
|
def action_done(self): |
||||
|
"""Function to done the Scrap Management and |
||||
|
add product move and stock quantity""" |
||||
|
self.env['stock.quant'].create({ |
||||
|
'location_id': self.scrap_order_id.scrap_location_id.id, |
||||
|
'product_id': self.product_id.id, |
||||
|
'quantity': 0 - self.qty |
||||
|
}) |
||||
|
for line in self.scrap_management_line_ids: |
||||
|
scrap_qty = line.dismantle_qty - line.useful_qty |
||||
|
if line.useful_qty > 0: |
||||
|
self.env['stock.quant'].create({ |
||||
|
'location_id': self.location_id.id, |
||||
|
'product_id': line.product_id.id, |
||||
|
'quantity': line.useful_qty |
||||
|
}) |
||||
|
self.env['stock.move.line'].create({ |
||||
|
'reference': self.scrap_management_number, |
||||
|
'product_id': line.product_id.id, |
||||
|
'location_dest_id': self.location_id.id, |
||||
|
'quantity': line.useful_qty, |
||||
|
'company_id': self.env.company.id, |
||||
|
'location_id': self.scrap_order_id.scrap_location_id.id, |
||||
|
'state': "done" |
||||
|
}) |
||||
|
if scrap_qty > 0: |
||||
|
self.env['stock.quant'].create({ |
||||
|
'location_id': self.scrap_order_id.scrap_location_id.id, |
||||
|
'product_id': line.product_id.id, |
||||
|
'quantity': scrap_qty |
||||
|
}) |
||||
|
self.env['stock.move.line'].create({ |
||||
|
'reference': self.scrap_management_number, |
||||
|
'product_id': line.product_id.id, |
||||
|
'quantity': scrap_qty, |
||||
|
'location_id': self.scrap_order_id.scrap_location_id.id, |
||||
|
'company_id': self.env.company.id, |
||||
|
'state': "done", |
||||
|
'location_dest_id': self.scrap_order_id.scrap_location_id.id |
||||
|
}) |
||||
|
self.write({ |
||||
|
'state': "done" |
||||
|
}) |
||||
|
self.scrap_order_id.write({ |
||||
|
'state_management': "dismantled" |
||||
|
}) |
||||
|
self.date = date.today() |
||||
|
|
||||
|
def action_product_moves(self): |
||||
|
"""Function to return the product moves""" |
||||
|
return { |
||||
|
'name': "Product Moves", |
||||
|
'type': 'ir.actions.act_window', |
||||
|
'view_mode': 'tree,form', |
||||
|
'res_model': 'stock.move.line', |
||||
|
'domain': [('reference', '=', self.scrap_management_number)]} |
@ -0,0 +1,40 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Cybrosys Techno Solutions (Contact : odoo@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 fields, models |
||||
|
|
||||
|
|
||||
|
class ScrapManagementLine(models.Model): |
||||
|
""" This class define a new model for manage scrap components """ |
||||
|
_name = "scrap.management.line" |
||||
|
_description = "Scrap Management Line" |
||||
|
|
||||
|
product_id = fields.Many2one('product.product', |
||||
|
String="Product", readonly=True, |
||||
|
help="Field to specify product") |
||||
|
scrap_management_id = fields.Many2one('scrap.management', |
||||
|
String="Product", readonly=True, |
||||
|
help="Field to specify " |
||||
|
"scrap management order") |
||||
|
dismantle_qty = fields.Integer(String="Available quantity", readonly=True, |
||||
|
help="Field to specify total quantity") |
||||
|
useful_qty = fields.Integer(string="Useful Product Quantity", |
||||
|
help="Field to specify useful quantity") |
@ -0,0 +1,45 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Cybrosys Techno Solutions (Contact : odoo@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 fields, models |
||||
|
|
||||
|
|
||||
|
class StockScrap(models.Model): |
||||
|
""" This class inherit the model stock.scrap for adding some fields. """ |
||||
|
_inherit = "stock.scrap" |
||||
|
|
||||
|
product_tmpl_id = fields.Many2one( |
||||
|
'product.template', |
||||
|
string='Product Template',related='product_id.product_tmpl_id', |
||||
|
help="Corresponding product of the variant") |
||||
|
bill_of_material_id = fields.Many2one( |
||||
|
'mrp.bom', |
||||
|
domain="[('product_tmpl_id', '=',product_tmpl_id)]", |
||||
|
string="Bill of Material", |
||||
|
help="Field to specify sequence bill of material") |
||||
|
typ_of_reuse = fields.Selection( |
||||
|
[('none', 'None'), ('dismantle', 'Dismantle')], |
||||
|
default="none", help="Field to specify type of scrap", |
||||
|
string="Type of Operation") |
||||
|
state_management = fields.Selection( |
||||
|
[('none', 'None'), ('dismantled', 'Dismantled')], |
||||
|
string="State", default="none", |
||||
|
help="Field to specify type of scrap management") |
@ -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 (Contact : odoo@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 scrap_management_report |
@ -0,0 +1,56 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Template for pdf report in product wise of scarp management --> |
||||
|
<template id="report_scrap_management_product_wise"> |
||||
|
<t t-call="web.html_container"> |
||||
|
<t t-call="web.external_layout"> |
||||
|
<div class="page"> |
||||
|
<center> |
||||
|
<h1>Scrap Management Report</h1> |
||||
|
</center> |
||||
|
<div class="row mt32 mb32"> |
||||
|
<div class="col-3"> |
||||
|
<strong>From Date:</strong> |
||||
|
<p t-esc="from_date"/> |
||||
|
</div> |
||||
|
<div class="col-3"> |
||||
|
<strong>To Date:</strong> |
||||
|
<p t-esc="to_date"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
<br/> |
||||
|
<table class="table table-sm"> |
||||
|
<thead> |
||||
|
<tr> |
||||
|
<th class="text-center">Sequence number</th> |
||||
|
<th class="text-center">Date</th> |
||||
|
<th class="text-center">Scrap order</th> |
||||
|
<th class="text-center">Product</th> |
||||
|
<th class="text-center">State</th> |
||||
|
</tr> |
||||
|
</thead> |
||||
|
<tbody> |
||||
|
<tr t-foreach="datas" t-as="line"> |
||||
|
<td class="text-center"> |
||||
|
<span t-esc="line['scrap_management_number']"/> |
||||
|
</td> |
||||
|
<td class="text-center"> |
||||
|
<span t-esc="line['date']"/> |
||||
|
</td> |
||||
|
<td class="text-center"> |
||||
|
<span t-esc="line['name']"/> |
||||
|
</td> |
||||
|
<td class="text-center"> |
||||
|
<span t-esc="line['product']"/> |
||||
|
</td> |
||||
|
<td class="text-center"> |
||||
|
<span t-esc="line['state']"/> |
||||
|
</td> |
||||
|
</tr> |
||||
|
</tbody> |
||||
|
</table> |
||||
|
</div> |
||||
|
</t> |
||||
|
</t> |
||||
|
</template> |
||||
|
</odoo> |
@ -0,0 +1,36 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Cybrosys Techno Solutions (Contact : odoo@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, models |
||||
|
|
||||
|
|
||||
|
class ScrapManagementPrint(models.AbstractModel): |
||||
|
""" This class defines a new model to print scrap management report""" |
||||
|
_name = 'report.company_scrap_management.report_scrap_management' |
||||
|
_description = "Scrap Management Report" |
||||
|
|
||||
|
@api.model |
||||
|
def _get_report_values(self, docids, data=None): |
||||
|
"""Function to print the report""" |
||||
|
scrap_management = self.env['scrap.management'].browse(docids) |
||||
|
return { |
||||
|
'scrap_management': scrap_management |
||||
|
} |
@ -0,0 +1,36 @@ |
|||||
|
<?xml version="1.0" encoding='utf-8'?> |
||||
|
<odoo> |
||||
|
<!-- Action for print pdf in product wise--> |
||||
|
<record id="action_scrap_management_product_wise" |
||||
|
model="ir.actions.report"> |
||||
|
<field name="name">Scrap Management Report</field> |
||||
|
<field name="model">scrap.management.report</field> |
||||
|
<field name="report_type">qweb-pdf</field> |
||||
|
<field name="report_name">company_scrap_management.report_scrap_management_product_wise</field> |
||||
|
<field name="report_file">company_scrap_management.report_scrap_management_product_wise</field> |
||||
|
<field name="binding_type" ref="model_scrap_management_report"/> |
||||
|
<field name="binding_type">report</field> |
||||
|
</record> |
||||
|
<!-- Action for print pdf in state wise--> |
||||
|
<record id="action_scrap_management_state_wise" |
||||
|
model="ir.actions.report"> |
||||
|
<field name="name">Scrap Management Report</field> |
||||
|
<field name="model">scrap.management.report</field> |
||||
|
<field name="report_type">qweb-pdf</field> |
||||
|
<field name="report_name">company_scrap_management.report_scrap_management_state_wise</field> |
||||
|
<field name="report_file">company_scrap_management.report_scrap_management_state_wise</field> |
||||
|
<field name="binding_type" ref="model_scrap_management_report"/> |
||||
|
<field name="binding_type">report</field> |
||||
|
</record> |
||||
|
<!-- Action for print pdf--> |
||||
|
<record id="action_scrap_management_form_print" |
||||
|
model="ir.actions.report"> |
||||
|
<field name="name">Scrap Management</field> |
||||
|
<field name="model">scrap.management</field> |
||||
|
<field name="report_type">qweb-pdf</field> |
||||
|
<field name="report_name">company_scrap_management.report_scrap_management</field> |
||||
|
<field name="report_file">report.company_scrap_management.report_scrap_management</field> |
||||
|
<field name="binding_model_id" ref="model_scrap_management"/> |
||||
|
<field name="binding_type">report</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,52 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Template for pdf report in state wise of scarp management--> |
||||
|
<template id="report_scrap_management_state_wise"> |
||||
|
<t t-call="web.html_container"> |
||||
|
<t t-call="web.external_layout"> |
||||
|
<div class="page"> |
||||
|
<center> |
||||
|
<h1>Scrap Management Report</h1> |
||||
|
</center> |
||||
|
<div class="row mt32 mb32"> |
||||
|
<div class="col-3"> |
||||
|
<strong>From Date:</strong> |
||||
|
<p t-esc="from_date"/> |
||||
|
</div> |
||||
|
<div class="col-3"> |
||||
|
<strong>To Date:</strong> |
||||
|
<p t-esc="to_date"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
<br/> |
||||
|
<table class="table table-sm"> |
||||
|
<thead> |
||||
|
<tr> |
||||
|
<th class="text-center">Sequence number</th> |
||||
|
<th class="text-center">Date</th> |
||||
|
<th class="text-center">Scrap order</th> |
||||
|
<th class="text-center">State</th> |
||||
|
</tr> |
||||
|
</thead> |
||||
|
<tbody> |
||||
|
<tr t-foreach="datas" t-as="line"> |
||||
|
<td class="text-center"> |
||||
|
<span t-esc="line['scrap_management_number']"/> |
||||
|
</td> |
||||
|
<td class="text-center"> |
||||
|
<span t-esc="line['date']"/> |
||||
|
</td> |
||||
|
<td class="text-center"> |
||||
|
<span t-esc="line['name']"/> |
||||
|
</td> |
||||
|
<td class="text-center"> |
||||
|
<span t-esc="line['state']"/> |
||||
|
</td> |
||||
|
</tr> |
||||
|
</tbody> |
||||
|
</table> |
||||
|
</div> |
||||
|
</t> |
||||
|
</t> |
||||
|
</template> |
||||
|
</odoo> |
@ -0,0 +1,61 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Template for pdf report of scarp management --> |
||||
|
<template id="report_scrap_management"> |
||||
|
<t t-call="web.html_container"> |
||||
|
<t t-call="web.external_layout"> |
||||
|
<div class="page"> |
||||
|
<center> |
||||
|
<h1>Scrap Management Form</h1> |
||||
|
</center> |
||||
|
<div class="row mt32 mb32"> |
||||
|
<div class="col-3"> |
||||
|
<strong>Sequence Number:</strong> |
||||
|
<h4> |
||||
|
<t t-esc="scrap_management.scrap_management_number"/> |
||||
|
</h4> |
||||
|
</div> |
||||
|
<br/> |
||||
|
<div class="col-3"> |
||||
|
<strong>Quantity:</strong> |
||||
|
<h6> |
||||
|
<t t-esc="scrap_management.scrap_order_id.scrap_qty"/> |
||||
|
</h6> |
||||
|
</div> |
||||
|
<br/> |
||||
|
<div class="col-3"> |
||||
|
<strong>Product:</strong> |
||||
|
<h6> |
||||
|
<t t-esc="scrap_management.scrap_order_id.product_id.name"/> |
||||
|
</h6> |
||||
|
</div> |
||||
|
</div> |
||||
|
<br/> |
||||
|
<table class="table table-sm"> |
||||
|
<thead> |
||||
|
<tr> |
||||
|
<th class="text-center">Components</th> |
||||
|
<th class="text-center">Dismantled quantity</th> |
||||
|
<th class="text-center">Useful quantity</th> |
||||
|
</tr> |
||||
|
</thead> |
||||
|
<tbody> |
||||
|
<tr t-foreach="scrap_management.scrap_management_line_ids" |
||||
|
t-as="line"> |
||||
|
<td class="text-center"> |
||||
|
<span t-esc="line.product_id['name']"/> |
||||
|
</td> |
||||
|
<td class="text-center"> |
||||
|
<span t-esc="line['dismantle_qty']"/> |
||||
|
</td> |
||||
|
<td class="text-center"> |
||||
|
<span t-esc="line['useful_qty']"/> |
||||
|
</td> |
||||
|
</tr> |
||||
|
</tbody> |
||||
|
</table> |
||||
|
</div> |
||||
|
</t> |
||||
|
</t> |
||||
|
</template> |
||||
|
</odoo> |
|
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 310 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 576 B |
After Width: | Height: | Size: 733 B |
After Width: | Height: | Size: 911 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 878 B |
After Width: | Height: | Size: 653 B |
After Width: | Height: | Size: 905 B |
After Width: | Height: | Size: 839 B |
After Width: | Height: | Size: 427 B |
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 988 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 80 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 565 B |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 43 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 85 KiB |
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 47 KiB |
After Width: | Height: | Size: 53 KiB |
After Width: | Height: | Size: 89 KiB |
After Width: | Height: | Size: 78 KiB |
After Width: | Height: | Size: 116 KiB |
After Width: | Height: | Size: 100 KiB |
After Width: | Height: | Size: 86 KiB |
After Width: | Height: | Size: 96 KiB |
After Width: | Height: | Size: 53 KiB |
After Width: | Height: | Size: 81 KiB |
After Width: | Height: | Size: 16 KiB |
@ -0,0 +1,619 @@ |
|||||
|
<!DOCTYPE html> |
||||
|
<html lang="en"> |
||||
|
|
||||
|
<head> |
||||
|
<meta charset="UTF-8"> |
||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||||
|
<title>Scrap Management Index</title> |
||||
|
<!-- Bootstrap CSS --> |
||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" |
||||
|
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> |
||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css"> |
||||
|
<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=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet"> |
||||
|
</head> |
||||
|
<body> |
||||
|
<section> |
||||
|
<div class="container" style="font-family: 'Inter', sans-serif !important;background-color: #fff !important;"> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between flex-wrap align-items-sm-center" |
||||
|
style="border-bottom:1px solid rgba(0, 0, 0, 0.22)"> |
||||
|
<div class="my-3"> |
||||
|
<img src="assets/misc/Cybrosys R.png" style="width:auto !important; height:40px !important"> |
||||
|
</div> |
||||
|
<div class="my-3 d-flex align-items-center"> |
||||
|
<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> |
||||
|
</div> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12 text-center d-flex align-items-center flex-column" |
||||
|
style="margin: 80px 0px !important;"> |
||||
|
<h1 style="font-size: 2.8rem;font-weight: 700; color: |
||||
|
#1A202C;"> |
||||
|
Scrap Management</h1> |
||||
|
<p class="my-3 mb-4" |
||||
|
style="max-width: 80%; font-weight: 400 !important; line-height: 32px; color: #718096;"> |
||||
|
Managing Scrap in a company and dismantling the product and reuse non defected component. |
||||
|
</p> |
||||
|
<div style="width: 80%; margin-top: 3rem;"> |
||||
|
<img src="assets/screenshots/hero.gif" class="img-responsive" width="100%" height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="container mt-5 mb-5"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> |
||||
|
<p class="m-0" style="font-weight: 600; font-size: 24px; color:#714b67 !important">Key Highlights |
||||
|
</p> |
||||
|
</div> |
||||
|
<div class="row py-4"> |
||||
|
<div class="col-md-6 col-sm-12 p-3"> |
||||
|
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
||||
|
background: #FFF; |
||||
|
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
||||
|
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
||||
|
display: flex; justify-content: center; align-items: center; |
||||
|
margin-right: 10px; flex-shrink: 0;"> |
||||
|
<i class="fa-solid fa-star " style="color: #fff;font-size:14px;"></i> |
||||
|
</div> |
||||
|
<div> |
||||
|
<p style="color: #1A202C;font-weight: 600; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;">Handle Scrap dismantle according to scrap order.</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-6 col-sm-12 p-3"> |
||||
|
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
||||
|
background: #FFF; |
||||
|
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
||||
|
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
||||
|
display: flex; justify-content: center; align-items: center; |
||||
|
margin-right: 10px; flex-shrink: 0;"> |
||||
|
<i class="fa-solid fa-star " style="color: #fff;font-size:14px;"></i> |
||||
|
</div> |
||||
|
<div> |
||||
|
<p style="color: #1A202C;font-weight: 600; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;"> Select operation type for scrap order.</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-6 col-sm-12 p-3"> |
||||
|
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
||||
|
background: #FFF; |
||||
|
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
||||
|
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
||||
|
display: flex; justify-content: center; align-items: center; |
||||
|
margin-right: 10px; flex-shrink: 0;"> |
||||
|
<i class="fa-solid fa-star " style="color: #fff;font-size:14px;"></i> |
||||
|
</div> |
||||
|
<div> |
||||
|
<p style="color: #1A202C;font-weight: 600; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;">Stock will be updated after dismantle.</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-6 col-sm-12 p-3"> |
||||
|
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
||||
|
background: #FFF; |
||||
|
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
||||
|
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
||||
|
display: flex; justify-content: center; align-items: center; |
||||
|
margin-right: 10px; flex-shrink: 0;"> |
||||
|
<i class="fa-solid fa-star " style="color: #fff;font-size:14px;"></i> |
||||
|
</div> |
||||
|
<div> |
||||
|
<p style="color: #1A202C;font-weight: 600; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;"> Product moves can be viewed.</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-6 col-sm-12 p-3"> |
||||
|
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
||||
|
background: #FFF; |
||||
|
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
||||
|
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
||||
|
display: flex; justify-content: center; align-items: center; |
||||
|
margin-right: 10px; flex-shrink: 0;"> |
||||
|
<i class="fa-solid fa-star " style="color: #fff;font-size:14px;"></i> |
||||
|
</div> |
||||
|
<div> |
||||
|
<p style="color: #1A202C;font-weight: 600; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;"> Get your scrap management report.</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="container rounded" > |
||||
|
<ul class="nav nav-tabs d-flex" style="width: fit-content;margin: 0 auto;gap: 1rem;"> |
||||
|
<li class="col text-center py-2 text-nowrap " |
||||
|
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"><a |
||||
|
class="active show" data-toggle="tab" href="#tab1" |
||||
|
style="color: #fff;font-weight: 500; background-color: #714B67; text-decoration: none;"> |
||||
|
<i class="fa-regular fa-image pr-2" style="color: #fff;"></i> |
||||
|
Screenshots</a></li> |
||||
|
<li class="col text-center py-2 text-nowrap " |
||||
|
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"><a |
||||
|
data-toggle="tab" href="#tab2" |
||||
|
style="color: #fff;font-weight: 500; text-decoration: none;"><i |
||||
|
class="fa-solid fa-star pr-2" style="color: #fff;"></i>Features</a></li> |
||||
|
<li class="col text-center py-2 text-nowrap " |
||||
|
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"><a |
||||
|
data-toggle="tab" href="#tab3" |
||||
|
style="color: #fff;font-weight: 500; text-decoration: none; background-color: #714B67;"><i |
||||
|
class="fa-solid fa-book-open pr-2" style="color: #fff;"></i>Released Notes</a></li> |
||||
|
</ul> |
||||
|
<div class="tab-content" style="background-color: rgba(121, 113, 119, 0.04);"> |
||||
|
<div id="tab1" class="tab-pane fade in active show"> |
||||
|
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/scrap_management_01.png" class="img-responsive" width="100%" height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Operation type for the scrap can be chosen when the order creation and only dismantle scrap order can be managed. |
||||
|
</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/scrap_management_02.png" class="img-responsive" width="100%" height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Scrap Orders can be chosen, On fetching components will be shown |
||||
|
</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/scrap_management_03.png" class="img-responsive" width="100%" height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Scrap management report |
||||
|
</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/scrap_management_04.png" class="img-responsive" width="100%" height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
On the basis product |
||||
|
</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div id="tab2" class="tab-pane fade"> |
||||
|
<div class="col-mg-12" style="padding: 1rem 4rem;"> |
||||
|
<ul style="list-style: none; padding: 1rem 0;font-weight: 500;"> |
||||
|
<li class="py-3" |
||||
|
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" |
||||
|
width="16px"></span>Handle Scrap dismantle according to scrap order. |
||||
|
</li> |
||||
|
<li class="py-3" |
||||
|
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" |
||||
|
width="16px"></span>Select operation type for scrap order. |
||||
|
</li> |
||||
|
<li class="py-3" |
||||
|
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" |
||||
|
width="16px"></span>Stock will be updated after dismantle. |
||||
|
</li> |
||||
|
<li class="py-3" |
||||
|
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" |
||||
|
width="16px"></span>Product moves can be viewed. |
||||
|
</li> |
||||
|
<li class="py-3" |
||||
|
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" |
||||
|
width="16px"></span>Get your scrap management report. |
||||
|
</li> |
||||
|
</ul> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div id="tab3" class="tab-pane fade"> |
||||
|
<div class="col-mg-12 active" style="padding: 1rem 4rem;"> |
||||
|
<div class="py-3" |
||||
|
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="d-flex mb-3" style="font-size: 0.8rem; font-weight: 500;"><span>Version |
||||
|
17.0.1.0.0</span><span class="px-2">|</span><span |
||||
|
style="color: #714B67;font-weight: 600;">Released on:01 Feb 2024</span> |
||||
|
</div> |
||||
|
<p class="m-0" |
||||
|
style=" color:#718096!important; font-size:1rem !important;line-height: 28px;"> |
||||
|
|
||||
|
Initial commit for Scrap Management.</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="container mt-5"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5"> |
||||
|
<p class="m-0" style="font-weight: 600; font-size: 24px; color:#000 !important">Related Products</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div id="myCarousel" class="carousel slide py-3" data-ride="carousel"> |
||||
|
<div class="carousel-inner"> |
||||
|
<div class="carousel-item active"> |
||||
|
<div class="row p-4"> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/17.0/whatsapp_redirect/" style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px; "> |
||||
|
<img src="assets/modules/1.jpg" alt="" width="100%" height="auto"> |
||||
|
|
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold">Send Whatsapp Message</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/17.0/login_user_detail/" style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px; "> |
||||
|
<img src="assets/modules/2.png" alt="" width="100%" height="auto"> |
||||
|
|
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold">User Log Details</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/17.0/project_dashboard_odoo/" style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px; "> |
||||
|
<img src="assets/modules/3.png" alt="" width="100%" height="auto"> |
||||
|
|
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold">Project Dashboard</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="carousel-item"> |
||||
|
<div class="row p-4"> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/17.0/barcode_scanning_sale_purchase/" style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px; "> |
||||
|
<img src="assets/modules/4.png" alt="" width="100%" height="auto"> |
||||
|
|
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold">Barcode Scanning Support for Sale and Purchase</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/17.0/customer_product_qrcode/" style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px;"> |
||||
|
<img src="assets/modules/5.jpg" alt="" width="100%" height="auto"> |
||||
|
|
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold">Customer Product QR Code</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/17.0/master_search/" style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px;"> |
||||
|
<img src="assets/modules/6.jpg" alt="" width="100%" height="auto"> |
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> Global Search</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<a class="carousel-control-prev" href="#myCarousel" data-slide="prev" style="width: 35px; color: #000;"> |
||||
|
<span class="carousel-control-prev-icon"> |
||||
|
<i class="fa fa-chevron-left" style="font-size: 24px;"></i> |
||||
|
</span> |
||||
|
</a> |
||||
|
<a class="carousel-control-next" href="#myCarousel" data-slide="next" style="width: 35px; color: #000;"> |
||||
|
<span class="carousel-control-next-icon"> |
||||
|
<i class="fa fa-chevron-right" style="font-size: 24px;"></i> |
||||
|
</span> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="container mt-5"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> |
||||
|
<p class="m-0" style="font-weight: 600; font-size: 24px; color:#000 !important">Our Services</p> |
||||
|
|
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="container my-5"> |
||||
|
<div class="row py-3"> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#13EA36 ; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/cogs.png" alt="service-icon" width="38px" height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Odoo Customization</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#DBC711; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/wrench.png" alt="service-icon" width="38px" height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Odoo Implementation</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> |
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#FF6B6B ; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/lifebuoy.png" alt="service-icon" width="38px" height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Odoo Support</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> |
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#FFA801 ; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/user.png" alt="service-icon" width="38px" height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Hire Odoo Developer</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> |
||||
|
|
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#54A0FF; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/puzzle.png" alt="service-icon" width="38px" height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Odoo Integration</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#6D7680 ; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/update.png" alt="service-icon" width="38px" height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Odoo Migration</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#786FA6 ; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/consultation.png" alt="service-icon" width="38px" height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Odoo Consultancy</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;position: relative;border-radius: 4px;"> |
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#F8A5C2 ; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/training.png" alt="service-icon" width="38px" height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Odoo Implementation</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#E6BE26; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/license.png" alt="service-icon" width="38px" height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Odoo Licensing Consultancy</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="container mt-5"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> |
||||
|
<p class="m-0" style="font-weight: 600; font-size: 24px; color:#000 !important">Our Industries</p> |
||||
|
|
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="container"> |
||||
|
<div class="row my-5 py-4"> |
||||
|
<div class="col-md-3 col-sm-6 p-0"> |
||||
|
<div class="d-flex flex-column h-100 " |
||||
|
style="border-right: 1px solid rgb(209, 209, 209); border-bottom: 1px solid rgb(209, 209, 209); padding: 30px; box-shadow: 6px 0 10px rgba(228, 227, 227, 0.373);"> |
||||
|
<img src="assets/icons/trading-black.png" width="42px" height="auto" alt=""> |
||||
|
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;">Trading</p> |
||||
|
<p>Easily procure and sell your products</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-3 col-sm-6 p-0"> |
||||
|
<div class="d-flex flex-column h-100" |
||||
|
style="border-right: 1px solid rgb(209, 209, 209);border-bottom: 1px solid rgb(209, 209, 209); padding: 30px;"> |
||||
|
<img src="assets/icons/pos-black.png" width="42px" height="auto" alt=""> |
||||
|
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;">POS</p> |
||||
|
<p>Easy configuration and convivial experience</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-3 col-sm-6 p-0"> |
||||
|
<div class="d-flex flex-column h-100" |
||||
|
style="border-right: 1px solid rgb(209, 209, 209);border-bottom: 1px solid rgba(0, 0, 0, 0.2); padding: 30px; box-shadow: 0 5px 10px rgba(228, 227, 227, 0.373)"> |
||||
|
<img src="assets/icons/education-black.png" width="42px" height="auto" alt=""> |
||||
|
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;">Education</p> |
||||
|
<p>A platform for educational management</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-3 col-sm-6 p-0"> |
||||
|
<div class="d-flex flex-column h-100" |
||||
|
style="border-bottom: 1px solid rgb(209, 209, 209); padding: 30px; "> |
||||
|
<img src="assets/icons/manufacturing-black.png" width="42px" height="auto" alt=""> |
||||
|
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;">Manufacturing</p> |
||||
|
<p>Plan, track and schedule your operations</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-3 col-sm-6 p-0"> |
||||
|
<div class="d-flex flex-column h-100" |
||||
|
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px;"> |
||||
|
<img src="assets/icons/ecom-black.png" width="42px" height="auto" alt=""> |
||||
|
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;">E-commerce & Website</p> |
||||
|
<p>Mobile friendly, awe-inspiring product pages</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-3 col-sm-6 p-0"> |
||||
|
<div class="d-flex flex-column h-100" |
||||
|
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px;box-shadow: 0 -5px 10px rgba(228, 227, 227, 0.373);"> |
||||
|
<img src="assets/icons/service-black.png" width="42px" height="auto" alt=""> |
||||
|
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;">Service Management</p> |
||||
|
<p>Keep track of services and invoice</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-3 col-sm-6 p-0"> |
||||
|
<div class="d-flex flex-column h-100" |
||||
|
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px; "> |
||||
|
<img src="assets/icons/restaurant-black.png" width="42px" height="auto" alt=""> |
||||
|
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;">Restaurant</p> |
||||
|
<p>Run your bar or restaurant methodically</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-3 col-sm-6 p-0"> |
||||
|
<div class="d-flex flex-column h-100" |
||||
|
style=" padding: 30px;box-shadow: -5px 0 10px rgba(228, 227, 227, 0.373);"> |
||||
|
<img src="assets/icons/hotel-black.png" width="42px" height="auto" alt=""> |
||||
|
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;">Hotel Management</p> |
||||
|
<p>An all-inclusive hotel management application</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="container mt-5"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5"> |
||||
|
<p class="m-0" style="font-weight: 600; font-size: 24px; color:#000 !important">Support</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="container my-5"> |
||||
|
<div class="row" style="background-color: #FFFAFE;"> |
||||
|
<div class="col-md-6 pb-4 d-flex align-items-center justify-content-center" |
||||
|
style="border-right: 1px solid #D9D9D9;"> |
||||
|
<div style="padding: 30px;"> |
||||
|
<div class="d-flex align-items-center"> |
||||
|
<img src="assets/misc/support (1) 1.svg" alt="" width="60px" style="margin-right: 12px;"> |
||||
|
<div style="padding: 0px 8px;"> |
||||
|
<span |
||||
|
style="color: #714B67;font-size: 24px;font-weight: 600;padding-bottom: 1rem;">Need |
||||
|
Help?</span> |
||||
|
<p class="m-0" style="color:#718096;">Got questions or need help? Get in touch.</p> |
||||
|
<div style="font-weight: 400;"><span><img src="assets/misc/support-email.svg" alt="" |
||||
|
width="18px" |
||||
|
style="filter: invert(1);margin-right: 0.8rem;"></span>odoo@cybrosys.com |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-6 pb-4 d-flex align-items-center justify-content-center"> |
||||
|
<div style="padding: 30px;"> |
||||
|
<div class="d-flex align-items-center"> |
||||
|
<img src="assets/misc/whatsapp 1.svg" alt="" width="60px" style="margin-right: 12px;"> |
||||
|
<div> |
||||
|
<span style="color: #714B67;font-size: 24px;font-weight: 600;">WhatsApp</span> |
||||
|
<p class="m-0" style="color:#718096;">Say hi to us on WhatsApp!</p> |
||||
|
<div style="font-weight: 400; font-size: 16px;"><span><img src="assets/misc/phone.svg" |
||||
|
alt="" width="14px" |
||||
|
style="filter: invert(1); margin-right: 0.8rem;"></span>+91 |
||||
|
99456767686</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</section> |
||||
|
<!-- Optional JavaScript --> |
||||
|
<!-- jQuery first, then Popper.js, then Bootstrap JS --> |
||||
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> |
||||
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,21 @@ |
|||||
|
<?xml version='1.0' encoding='utf-8'?> |
||||
|
<odoo> |
||||
|
<!-- Tree view of scrap management line --> |
||||
|
<record id="scrap_management_line_view_tree" model="ir.ui.view"> |
||||
|
<field name="name">scrap.management.line.view.tree</field> |
||||
|
<field name="model">scrap.management.line</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree editable="bottom"> |
||||
|
<field name="product_id"/> |
||||
|
<field name="dismantle_qty"/> |
||||
|
<field name="useful_qty"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- Action of scrap management line--> |
||||
|
<record id="scrap_management_line_action" model="ir.actions.act_window"> |
||||
|
<field name="name">Scrap Management Line</field> |
||||
|
<field name="res_model">scrap.management.line</field> |
||||
|
<field name="view_mode">tree</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,87 @@ |
|||||
|
<?xml version='1.0' encoding='utf-8'?> |
||||
|
<odoo> |
||||
|
<!-- Tree view of scrap management --> |
||||
|
<record id="scrap_management_view_tree" model="ir.ui.view"> |
||||
|
<field name="name">scrap.management.view.tree</field> |
||||
|
<field name="model">scrap.management</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree> |
||||
|
<field name="scrap_management_number"/> |
||||
|
<field name="scrap_order_id"/> |
||||
|
<field name="product_id"/> |
||||
|
<field name="qty"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- Form view of scrap management--> |
||||
|
<record id="scrap_management_view_form" model="ir.ui.view"> |
||||
|
<field name="name">scrap.management.view.form</field> |
||||
|
<field name="model">scrap.management</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form> |
||||
|
<header> |
||||
|
<button name="action_confirm" type="object" |
||||
|
class="oe_highlight" |
||||
|
string="Fetch Product" |
||||
|
invisible="state != 'draft'"/> |
||||
|
<button name="action_done" type="object" |
||||
|
class="oe_highlight" |
||||
|
string="Done" |
||||
|
invisible="state != 'confirm'"/> |
||||
|
<field name="state" widget="statusbar"/> |
||||
|
</header> |
||||
|
<sheet> |
||||
|
<div name="button_box" position="inside"> |
||||
|
<button name="action_product_moves" type="object" |
||||
|
class="oe_stat_button" icon="fa-exchange" |
||||
|
invsible="'state' != 'done'"> |
||||
|
<div class="o_field_widget o_stat_info"> |
||||
|
<span class="o_stat_value"> |
||||
|
Product Moves |
||||
|
</span> |
||||
|
</div> |
||||
|
</button> |
||||
|
</div> |
||||
|
<header> |
||||
|
<h1> |
||||
|
<field name="scrap_management_number"/> |
||||
|
</h1> |
||||
|
</header> |
||||
|
<br/> |
||||
|
<group> |
||||
|
<group> |
||||
|
<field name="scrap_order_id"/> |
||||
|
<field name="product_id"/> |
||||
|
<field name="bill_of_material_id"/> |
||||
|
<field name="qty"/> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="location_id"/> |
||||
|
<field name="date"/> |
||||
|
</group> |
||||
|
</group> |
||||
|
<notebook> |
||||
|
<page name="Components"> |
||||
|
<field name="scrap_management_line_ids"/> |
||||
|
</page> |
||||
|
</notebook> |
||||
|
</sheet> |
||||
|
<div class="oe_chatter"> |
||||
|
<field name="message_follower_ids" |
||||
|
groups="base.group_user"/> |
||||
|
<field name="message_ids"/> |
||||
|
</div> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- Action and menu of scrap management--> |
||||
|
<record id="scrap_management_action" model="ir.actions.act_window"> |
||||
|
<field name="name">Scrap Management</field> |
||||
|
<field name="res_model">scrap.management</field> |
||||
|
<field name="view_mode">tree,form</field> |
||||
|
</record> |
||||
|
<menuitem id="scrap_management_menu_action" name="Scrap Management" |
||||
|
action="scrap_management_action" |
||||
|
parent="stock.menu_stock_warehouse_mgmt" |
||||
|
sequence="220"/> |
||||
|
</odoo> |
@ -0,0 +1,20 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Inheriting the stock scrap--> |
||||
|
<record id="stock_scrap_form_view" model="ir.ui.view"> |
||||
|
<field name="name"> |
||||
|
stock.scrap.view.form.inherit.company.scrap.management |
||||
|
</field> |
||||
|
<field name="model">stock.scrap</field> |
||||
|
<field name="inherit_id" ref="stock.stock_scrap_form_view"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<field name="product_id" position="after"> |
||||
|
<field name="bill_of_material_id"/> |
||||
|
<field name="product_tmpl_id" invisible="1"/> |
||||
|
<field name="state_management" invisible="1"/> |
||||
|
<field name="typ_of_reuse" widget="radio" |
||||
|
invisible="bill_of_material_id == False"/> |
||||
|
</field> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -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 (Contact : odoo@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 scrap_management_report |
@ -0,0 +1,116 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Cybrosys Techno Solutions (Contact : odoo@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 fields, models |
||||
|
|
||||
|
|
||||
|
class ScrapManagementReport(models.TransientModel): |
||||
|
"""This class defining model for the wizard for printing scrap managment |
||||
|
report.""" |
||||
|
_name = 'scrap.management.report' |
||||
|
_description = 'Report of Scrap Management' |
||||
|
|
||||
|
filter = fields.Selection( |
||||
|
default="product_wise", selection=[('product_wise', 'Product Wise'), |
||||
|
('state_wise', 'State Wise')], |
||||
|
help="field to choose filter of report", string="Based On") |
||||
|
product_ids = fields.Many2many('product.product', |
||||
|
string="Product", |
||||
|
help="Field to choose product for report") |
||||
|
state = fields.Selection([('draft', 'Draft'), ('done', 'Done'), |
||||
|
('confirm', 'Confirm')], |
||||
|
default="done", string="State", |
||||
|
help="Field to specify state of report") |
||||
|
from_date = fields.Date(string="Start date", |
||||
|
help="Field to choose start date of report") |
||||
|
to_date = fields.Date(string="End date", |
||||
|
help="Field to end date filter of report") |
||||
|
|
||||
|
def action_print_pdf(self): |
||||
|
""" |
||||
|
Summary: |
||||
|
function to print pdf |
||||
|
Return: |
||||
|
pdf report |
||||
|
""" |
||||
|
if self.filter == 'product_wise': |
||||
|
query = """SELECT scrap_management.scrap_management_number, |
||||
|
scrap_management.scrap_order_id, |
||||
|
product_template.name->> 'en_US'AS product, |
||||
|
scrap_management.state,stock_scrap.product_id,scrap_management.date, |
||||
|
stock_scrap.name FROM scrap_management |
||||
|
inner join stock_scrap on |
||||
|
scrap_management.scrap_order_id= stock_scrap.id |
||||
|
inner join product_product on |
||||
|
product_product.id=stock_scrap.product_id |
||||
|
inner join product_template on |
||||
|
product_template.id=product_product.product_tmpl_id |
||||
|
""" |
||||
|
lst = [] |
||||
|
for product in self.product_ids: |
||||
|
lst.append(product.id) |
||||
|
if self.product_ids: |
||||
|
lst.append(0) |
||||
|
query += f""" where stock_scrap.product_id in {tuple(lst)}""" |
||||
|
if self.from_date: |
||||
|
query += f""" and scrap_management.date >= '{self.from_date}' """ |
||||
|
if self.from_date: |
||||
|
query += f""" and scrap_management.date <= '{self.to_date}' """ |
||||
|
self.env.cr.execute(query) |
||||
|
datas = self.env.cr.dictfetchall() |
||||
|
data = { |
||||
|
'form': self.read()[0], |
||||
|
'datas': datas, |
||||
|
'from_date': self.from_date, |
||||
|
'to_date': self.to_date |
||||
|
} |
||||
|
return self.env.ref( |
||||
|
'company_scrap_management' |
||||
|
'.action_scrap_management_product_wise').report_action( |
||||
|
None, |
||||
|
data=data) |
||||
|
if self.filter == 'state_wise': |
||||
|
query = """SELECT scrap_management.scrap_management_number, |
||||
|
stock_scrap.name,scrap_management.scrap_order_id, |
||||
|
scrap_management.state,stock_scrap.product_id,stock_scrap.name, |
||||
|
scrap_management.date FROM scrap_management |
||||
|
inner join stock_scrap |
||||
|
on scrap_management.scrap_order_id= stock_scrap.id |
||||
|
""" |
||||
|
if self.state: |
||||
|
query += f"""where scrap_management.state = '{self.state}' """ |
||||
|
if self.from_date: |
||||
|
query += f""" and scrap_management.date >= '{self.from_date}' """ |
||||
|
if self.from_date: |
||||
|
query += f""" and scrap_management.date <= '{self.to_date}' """ |
||||
|
self.env.cr.execute(query) |
||||
|
datas = self.env.cr.dictfetchall() |
||||
|
data = { |
||||
|
'form': self.read()[0], |
||||
|
'datas': datas, |
||||
|
'state': self.state, |
||||
|
'from_date': self.from_date, |
||||
|
'to_date': self.to_date |
||||
|
} |
||||
|
return self.env.ref( |
||||
|
'company_scrap_management' |
||||
|
'.action_scrap_management_state_wise').report_action(None, |
||||
|
data=data) |
@ -0,0 +1,48 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Form view of scrap management report--> |
||||
|
<record id="scrap_management_report_view_form" model="ir.ui.view"> |
||||
|
<field name="name">scrap.management.report.view.form</field> |
||||
|
<field name="model">scrap.management.report</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form string="Scrap Management Report"> |
||||
|
<group> |
||||
|
<group> |
||||
|
<field name="filter" widget="radio"/> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="product_ids" |
||||
|
widget="many2many_tags" |
||||
|
invisible="filter == 'state_wise'"/> |
||||
|
<field name="state" |
||||
|
invisible="filter == 'product_wise'"/> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="from_date"/> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="to_date"/> |
||||
|
</group> |
||||
|
<group> |
||||
|
<footer> |
||||
|
<button name="action_print_pdf" string="Print pdf" |
||||
|
type="object" class="oe_highlight"/> |
||||
|
</footer> |
||||
|
</group> |
||||
|
</group> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<!-- Action and menu of scrap management report--> |
||||
|
<record id="scrap_management_report_action" model="ir.actions.act_window"> |
||||
|
<field name="name">Scrap Management Report</field> |
||||
|
<field name="res_model">scrap.management.report</field> |
||||
|
<field name="view_mode">form</field> |
||||
|
<field name="target">new</field> |
||||
|
</record> |
||||
|
<menuitem id="scrap_management_report_menu" |
||||
|
name="Scrap Management Report" |
||||
|
action="scrap_management_report_action" |
||||
|
parent="stock.menu_warehouse_report" sequence="5"/> |
||||
|
</odoo> |