diff --git a/digital_signature/README.rst b/digital_signature/README.rst new file mode 100644 index 000000000..7ccc3e935 --- /dev/null +++ b/digital_signature/README.rst @@ -0,0 +1,41 @@ +Digital Signature In Purchase Order, Invoice, Inventory +======================================================= +* Digital Signature in Purchase Order, Invoice, Inventory + +Installation +============ + - www.odoo.com/documentation/15.0/setup/install.html + - Install our custom addon + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.odoo.com/documentation/user/13.0/legal/licenses/licenses.html) + +Company +------- +* 'Cybrosys Techno Solutions `__ + +Credits +------- +* Developer: +(V15) Noorjahan @ Cybrosys + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit https://www.cybrosys.com + +Further information +=================== +HTML Description: ``__ + diff --git a/digital_signature/__init__.py b/digital_signature/__init__.py new file mode 100644 index 000000000..3367fdfdb --- /dev/null +++ b/digital_signature/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from . import models diff --git a/digital_signature/__manifest__.py b/digital_signature/__manifest__.py new file mode 100644 index 000000000..96d899aad --- /dev/null +++ b/digital_signature/__manifest__.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +{ + 'name': 'Digital Signature In Purchase Order, Invoice, Inventory', + 'summary': 'Digital Signature in Purchase Order, Invoice, Inventory V15', + 'version': '15.0.1.0.0', + 'category': 'Tools', + 'description': """Digital Signature in Purchase Order, Invoice, Inventory V15""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'depends': ['purchase', 'stock', 'account'], + 'data': [ + 'views/res_config_settings.xml', + 'views/purchase_order.xml', + 'views/inventory.xml', + 'views/invoice.xml', + 'views/purchase_report_inherit.xml', + 'views/stock_picking_report.xml', + 'views/invoice_report.xml', + ], + 'installable': True, + 'application': False, + 'images': ['static/description/banner.png'], + 'license': 'LGPL-3', +} diff --git a/digital_signature/doc/RELEASE_NOTES.md b/digital_signature/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..05d28f03c --- /dev/null +++ b/digital_signature/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 01.07.2022 +#### Version 15.0.1.0.0 +#### ADD +- Initial commit for Odoo 15 Digital Signature + diff --git a/digital_signature/models/__init__.py b/digital_signature/models/__init__.py new file mode 100644 index 000000000..1c39c870c --- /dev/null +++ b/digital_signature/models/__init__.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from . import res_config_settings +from . import purchase_order +from . import inventory +from . import invoice \ No newline at end of file diff --git a/digital_signature/models/inventory.py b/digital_signature/models/inventory.py new file mode 100644 index 000000000..3484c617f --- /dev/null +++ b/digital_signature/models/inventory.py @@ -0,0 +1,72 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from odoo import models, fields, api, _ +from odoo.exceptions import Warning, UserError + + +class InventoryInherit(models.Model): + _inherit = "stock.picking" + + def _default_show_sign(self): + return self.env['ir.config_parameter'].sudo().get_param( + 'digital_signature.show_digital_sign_inventory') + + def _default_enable_options(self): + return self.env['ir.config_parameter'].sudo().get_param( + 'digital_signature.enable_options_inventory') + + digital_sign = fields.Binary(string='Signature') + sign_by = fields.Char(string='Signed By') + designation = fields.Char(string='Designation') + sign_on = fields.Datetime(string='Signed On') + show_sign = fields.Boolean(default=_default_show_sign, + compute='_compute_show_sign') + enable_option = fields.Boolean(default=_default_enable_options, + compute='_compute_enable_optiion') + sign_applicable = fields.Selection([ + ('picking_operations', 'Picking Operations'), + ('delivery', 'Delivery Slip'), + ('both', 'Both'), + ], string="Sign Applicable inside", compute='_compute_sign_applicable') + + def button_validate(self): + res = super(InventoryInherit, self).button_validate() + if self.env['ir.config_parameter'].sudo().get_param( + 'digital_signature.confirm_sign_inventory') and self.digital_sign is False: + raise UserError('Signature is missing') + return res + + def _compute_show_sign(self): + show_signature = self._default_show_sign() + for record in self: + record.show_sign = show_signature + + def _compute_enable_optiion(self): + enable_others = self._default_enable_options() + for record in self: + record.enable_option = enable_others + + def _compute_sign_applicable(self): + for rec in self: + rec.sign_applicable = self.env['ir.config_parameter'].sudo().get_param( + 'digital_signature.sign_applicable') diff --git a/digital_signature/models/invoice.py b/digital_signature/models/invoice.py new file mode 100644 index 000000000..740a6b540 --- /dev/null +++ b/digital_signature/models/invoice.py @@ -0,0 +1,80 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from odoo import models, fields, api, _ +from odoo.exceptions import Warning, UserError + + +class InvoiceInherit(models.Model): + _inherit = "account.move" + + @api.model + def _default_show_sign(self): + return self.env['ir.config_parameter'].sudo().get_param( + 'digital_signature.show_digital_sign_invoice') + + @api.model + def _default_enable_sign(self): + return self.env['ir.config_parameter'].sudo().get_param( + 'digital_signature.enable_options_invoice') + + @api.model + def _default_show_sign_bill(self): + return self.env['ir.config_parameter'].sudo().get_param( + 'digital_signature.show_digital_sign_bill') + + digital_sign = fields.Binary(string='Signature') + sign_by = fields.Char(string='Signed By') + designation = fields.Char(string='Designation') + sign_on = fields.Datetime(string='Signed On') + show_signature = fields.Boolean('Show Signature', + default=_default_show_sign, + compute='_compute_show_signature') + show_sign_bill = fields.Boolean('Show Signature', + default=_default_show_sign_bill, + compute='_compute_show_sign_bill') + enable_others = fields.Boolean(default=_default_enable_sign, + compute='_compute_enable_others') + + def action_post(self): + res = super(InvoiceInherit, self).action_post() + if self.env[ + 'ir.config_parameter'].sudo().get_param( + 'digital_signature.confirm_sign_invoice') and self.digital_sign is False: + raise UserError(_("Signature is missing")) + + return res + + def _compute_show_signature(self): + show_signature = self._default_show_sign() + for record in self: + record.show_signature = show_signature + + def _compute_enable_others(self): + enable_others = self._default_enable_sign + for record in self: + record.enable_others = enable_others + + def _compute_show_sign_bill(self): + show_sign_bill = self._default_show_sign_bill() + for record in self: + record.show_sign_bill = show_sign_bill diff --git a/digital_signature/models/purchase_order.py b/digital_signature/models/purchase_order.py new file mode 100644 index 000000000..eaf1974e8 --- /dev/null +++ b/digital_signature/models/purchase_order.py @@ -0,0 +1,67 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from odoo import models, fields, api, _ +from odoo.exceptions import Warning, UserError + + +class PurchaseOrderInherit(models.Model): + _inherit = "purchase.order" + + @api.model + def _default_show_sign(self): + return self.env['ir.config_parameter'].sudo().get_param( + 'digital_signature.show_digital_sign_po') + + @api.model + def _default_enable_sign(self): + return self.env['ir.config_parameter'].sudo().get_param( + 'digital_signature.enable_options_po') + + digital_sign = fields.Binary(string='Signature') + sign_by = fields.Char(string='Signed By') + designation = fields.Char(string='Designation') + sign_on = fields.Datetime(string='Signed On') + show_signature = fields.Boolean('Show Signature', + default=_default_show_sign, + compute='_compute_show_signature') + enable_others = fields.Boolean(default=_default_enable_sign, + compute='_compute_enable_others') + + def button_confirm(self): + res = super(PurchaseOrderInherit, self).button_confirm() + if self.env[ + 'ir.config_parameter'].sudo().get_param( + 'digital_signature.confirm_sign_po') and self.digital_sign is False: + raise UserError(_("Signature is missing")) + + return res + + def _compute_show_signature(self): + show_signature = self._default_show_sign() + for record in self: + record.show_signature = show_signature + + def _compute_enable_others(self): + enable_others = self._default_enable_sign + for record in self: + record.enable_others = enable_others diff --git a/digital_signature/models/res_config_settings.py b/digital_signature/models/res_config_settings.py new file mode 100644 index 000000000..7dfad3378 --- /dev/null +++ b/digital_signature/models/res_config_settings.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from odoo import models, fields, api, _ + + +class ResConfigurationInherit(models.TransientModel): + _inherit = 'res.config.settings' + + show_digital_sign_po = fields.Boolean(config_parameter='digital_signature.show_digital_sign_po') + enable_options_po = fields.Boolean(default=True, config_parameter='digital_signature.enable_options_po') + confirm_sign_po = fields.Boolean(config_parameter='digital_signature.confirm_sign_po') + show_digital_sign_inventory = fields.Boolean(config_parameter='digital_signature.show_digital_sign_inventory') + enable_options_inventory = fields.Boolean(default=True, config_parameter='digital_signature.enable_options_inventory') + sign_applicable = fields.Selection([ + ('picking_operations', 'Picking Operations'), + ('delivery', 'Delivery Slip'), + ('both', 'Both'), + ], string="Sign Applicable inside", + default="picking_operations", + config_parameter='digital_signature.sign_applicable') + confirm_sign_inventory = fields.Boolean(config_parameter='digital_signature.confirm_sign_inventory') + show_digital_sign_invoice = fields.Boolean(config_parameter='digital_signature.show_digital_sign_invoice') + enable_options_invoice = fields.Boolean(config_parameter='digital_signature.enable_options_invoice') + confirm_sign_invoice = fields.Boolean(config_parameter='digital_signature.confirm_sign_invoice') + show_digital_sign_bill = fields.Boolean(config_parameter='digital_signature.show_digital_sign_bill') + diff --git a/digital_signature/static/description/assets/arrow-circle-black.png b/digital_signature/static/description/assets/arrow-circle-black.png new file mode 100644 index 000000000..e8948eb73 Binary files /dev/null and b/digital_signature/static/description/assets/arrow-circle-black.png differ diff --git a/digital_signature/static/description/assets/arrow-circle-magenta.png b/digital_signature/static/description/assets/arrow-circle-magenta.png new file mode 100644 index 000000000..91c3c11b8 Binary files /dev/null and b/digital_signature/static/description/assets/arrow-circle-magenta.png differ diff --git a/digital_signature/static/description/assets/hero.png b/digital_signature/static/description/assets/hero.png new file mode 100644 index 000000000..482f1d136 Binary files /dev/null and b/digital_signature/static/description/assets/hero.png differ diff --git a/digital_signature/static/description/assets/icons/check.png b/digital_signature/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/digital_signature/static/description/assets/icons/check.png differ diff --git a/digital_signature/static/description/assets/icons/cogs.png b/digital_signature/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/digital_signature/static/description/assets/icons/cogs.png differ diff --git a/digital_signature/static/description/assets/icons/consultation.png b/digital_signature/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/digital_signature/static/description/assets/icons/consultation.png differ diff --git a/digital_signature/static/description/assets/icons/ecom-black.png b/digital_signature/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/digital_signature/static/description/assets/icons/ecom-black.png differ diff --git a/digital_signature/static/description/assets/icons/education-black.png b/digital_signature/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/digital_signature/static/description/assets/icons/education-black.png differ diff --git a/digital_signature/static/description/assets/icons/hotel-black.png b/digital_signature/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/digital_signature/static/description/assets/icons/hotel-black.png differ diff --git a/digital_signature/static/description/assets/icons/license.png b/digital_signature/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/digital_signature/static/description/assets/icons/license.png differ diff --git a/digital_signature/static/description/assets/icons/lifebuoy.png b/digital_signature/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/digital_signature/static/description/assets/icons/lifebuoy.png differ diff --git a/digital_signature/static/description/assets/icons/logo.png b/digital_signature/static/description/assets/icons/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/digital_signature/static/description/assets/icons/logo.png differ diff --git a/digital_signature/static/description/assets/icons/manufacturing-black.png b/digital_signature/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/digital_signature/static/description/assets/icons/manufacturing-black.png differ diff --git a/digital_signature/static/description/assets/icons/pos-black.png b/digital_signature/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/digital_signature/static/description/assets/icons/pos-black.png differ diff --git a/digital_signature/static/description/assets/icons/puzzle.png b/digital_signature/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/digital_signature/static/description/assets/icons/puzzle.png differ diff --git a/digital_signature/static/description/assets/icons/restaurant-black.png b/digital_signature/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/digital_signature/static/description/assets/icons/restaurant-black.png differ diff --git a/digital_signature/static/description/assets/icons/service-black.png b/digital_signature/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/digital_signature/static/description/assets/icons/service-black.png differ diff --git a/digital_signature/static/description/assets/icons/trading-black.png b/digital_signature/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/digital_signature/static/description/assets/icons/trading-black.png differ diff --git a/digital_signature/static/description/assets/icons/training.png b/digital_signature/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/digital_signature/static/description/assets/icons/training.png differ diff --git a/digital_signature/static/description/assets/icons/update.png b/digital_signature/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/digital_signature/static/description/assets/icons/update.png differ diff --git a/digital_signature/static/description/assets/icons/user.png b/digital_signature/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/digital_signature/static/description/assets/icons/user.png differ diff --git a/digital_signature/static/description/assets/icons/wrench.png b/digital_signature/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/digital_signature/static/description/assets/icons/wrench.png differ diff --git a/digital_signature/static/description/assets/modules/barcode_scanning.png b/digital_signature/static/description/assets/modules/barcode_scanning.png new file mode 100644 index 000000000..01a9e99f7 Binary files /dev/null and b/digital_signature/static/description/assets/modules/barcode_scanning.png differ diff --git a/digital_signature/static/description/assets/modules/barcode_scanning_support.png b/digital_signature/static/description/assets/modules/barcode_scanning_support.png new file mode 100644 index 000000000..dbf3f71e9 Binary files /dev/null and b/digital_signature/static/description/assets/modules/barcode_scanning_support.png differ diff --git a/digital_signature/static/description/assets/modules/dynamic_financial_report.jpg b/digital_signature/static/description/assets/modules/dynamic_financial_report.jpg new file mode 100644 index 000000000..c79986ab0 Binary files /dev/null and b/digital_signature/static/description/assets/modules/dynamic_financial_report.jpg differ diff --git a/digital_signature/static/description/assets/modules/invoice.jpg b/digital_signature/static/description/assets/modules/invoice.jpg new file mode 100644 index 000000000..26fb9d33f Binary files /dev/null and b/digital_signature/static/description/assets/modules/invoice.jpg differ diff --git a/digital_signature/static/description/assets/modules/support_package.jpg b/digital_signature/static/description/assets/modules/support_package.jpg new file mode 100644 index 000000000..5f7084b86 Binary files /dev/null and b/digital_signature/static/description/assets/modules/support_package.jpg differ diff --git a/digital_signature/static/description/assets/modules/whatsapp-mail-messaging.jpg b/digital_signature/static/description/assets/modules/whatsapp-mail-messaging.jpg new file mode 100644 index 000000000..c7874c7bf Binary files /dev/null and b/digital_signature/static/description/assets/modules/whatsapp-mail-messaging.jpg differ diff --git a/digital_signature/static/description/assets/respnsive-img.png b/digital_signature/static/description/assets/respnsive-img.png new file mode 100644 index 000000000..9373d784a Binary files /dev/null and b/digital_signature/static/description/assets/respnsive-img.png differ diff --git a/digital_signature/static/description/assets/screenshots/hero.gif b/digital_signature/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..e23ca4351 Binary files /dev/null and b/digital_signature/static/description/assets/screenshots/hero.gif differ diff --git a/digital_signature/static/description/assets/screenshots/settings_purchase.png b/digital_signature/static/description/assets/screenshots/settings_purchase.png new file mode 100644 index 000000000..b85670bfb Binary files /dev/null and b/digital_signature/static/description/assets/screenshots/settings_purchase.png differ diff --git a/digital_signature/static/description/assets/screenshots/sticky_header.png b/digital_signature/static/description/assets/screenshots/sticky_header.png new file mode 100644 index 000000000..9685ef6fb Binary files /dev/null and b/digital_signature/static/description/assets/screenshots/sticky_header.png differ diff --git a/digital_signature/static/description/banner.png b/digital_signature/static/description/banner.png new file mode 100644 index 000000000..cf52775ae Binary files /dev/null and b/digital_signature/static/description/banner.png differ diff --git a/digital_signature/static/description/icon.png b/digital_signature/static/description/icon.png new file mode 100644 index 000000000..e2ab6aae9 Binary files /dev/null and b/digital_signature/static/description/icon.png differ diff --git a/digital_signature/static/description/images/bill.png b/digital_signature/static/description/images/bill.png new file mode 100644 index 000000000..883f12551 Binary files /dev/null and b/digital_signature/static/description/images/bill.png differ diff --git a/digital_signature/static/description/images/delivery.png b/digital_signature/static/description/images/delivery.png new file mode 100644 index 000000000..694a17d44 Binary files /dev/null and b/digital_signature/static/description/images/delivery.png differ diff --git a/digital_signature/static/description/images/invoice.png b/digital_signature/static/description/images/invoice.png new file mode 100644 index 000000000..38a777c5a Binary files /dev/null and b/digital_signature/static/description/images/invoice.png differ diff --git a/digital_signature/static/description/images/picking.png b/digital_signature/static/description/images/picking.png new file mode 100644 index 000000000..cf5baeb6c Binary files /dev/null and b/digital_signature/static/description/images/picking.png differ diff --git a/digital_signature/static/description/images/purchase_option.png b/digital_signature/static/description/images/purchase_option.png new file mode 100644 index 000000000..932e92eab Binary files /dev/null and b/digital_signature/static/description/images/purchase_option.png differ diff --git a/digital_signature/static/description/images/purchase_order.png b/digital_signature/static/description/images/purchase_order.png new file mode 100644 index 000000000..cf16b2d95 Binary files /dev/null and b/digital_signature/static/description/images/purchase_order.png differ diff --git a/digital_signature/static/description/images/settings_inventory.png b/digital_signature/static/description/images/settings_inventory.png new file mode 100644 index 000000000..0bb6e5aba Binary files /dev/null and b/digital_signature/static/description/images/settings_inventory.png differ diff --git a/digital_signature/static/description/images/settings_invoice.png b/digital_signature/static/description/images/settings_invoice.png new file mode 100644 index 000000000..0ce014401 Binary files /dev/null and b/digital_signature/static/description/images/settings_invoice.png differ diff --git a/digital_signature/static/description/images/settings_purchase.png b/digital_signature/static/description/images/settings_purchase.png new file mode 100644 index 000000000..b85670bfb Binary files /dev/null and b/digital_signature/static/description/images/settings_purchase.png differ diff --git a/digital_signature/static/description/images/signature_purchase.png b/digital_signature/static/description/images/signature_purchase.png new file mode 100644 index 000000000..7446e8b0b Binary files /dev/null and b/digital_signature/static/description/images/signature_purchase.png differ diff --git a/digital_signature/static/description/images/warning_purchase.png b/digital_signature/static/description/images/warning_purchase.png new file mode 100644 index 000000000..fd21b2752 Binary files /dev/null and b/digital_signature/static/description/images/warning_purchase.png differ diff --git a/digital_signature/static/description/index.html b/digital_signature/static/description/index.html new file mode 100644 index 000000000..45d4223cd --- /dev/null +++ b/digital_signature/static/description/index.html @@ -0,0 +1,627 @@ +
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+ +
+
+
+
+ +
+
+
+

+ Digital Signature In Purchase, Inventory, Invoice

+

+ A Module for adding Digital Signatures in Purchase, Inventory, Invoices +

+ +
+
+ + + +
+
+

+ Overview +

+
+ +
+

+ This module helps to add the digital signature in purchase order, delivery slip, picking operations, customer invoices and vendor bills, and other details like signed by, designation, and date. Configurations for setting the signature as mandatory, if it is missing raise a warning.

+

+ +
+ + +
+
+

+ Features +

+
+ +
+
+ +
+
+

+ Print digital signature in reports

+
+
+ +
+
+ +
+
+

+ Enable other options to add signature details

+
+
+ +
+
+ +
+
+

+ Check signature before Confirmations +

+
+
+ +
+ +
+
+

+ Screenshots +

+
+ +
+

+ Settings in Purchase Module to Show Signature in Purchase Order +

+ +
+ +
+

+ Enable Other Options to add extra signature details, Check signature before confirmation to raise a warning When signature is missing

+ +
+ +
+

+ Digital Signature Fields in Purchase Order

+ +
+ +
+

+ Digital Signature in Pdf Report

+ +
+ +
+

+ Raise warning when signature is missing

+ +
+ +
+

+ Signature Configuration in Inventory Settings

+ +
+ +
+

+ Signature Configuration in Invoice Settings

+ +
+ +
+

+ Digital Signature in Picking Operation

+ +
+ +
+

+ Digital Signature in Delivery Slip

+ +
+ +
+

+ Digital Signature in Customer Invoice +

+ +
+ +
+

+ Digital Signature in Vendor Bill

+ +
+ +
+ +
+
+

Suggested Products

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

Our Services

+
+
+ +
+
+ +
+
+ Odoo + Customization
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Support
+
+ + +
+
+ +
+
+ Hire + Odoo + Developer
+
+ +
+
+ +
+
+ Odoo + Integration
+
+ +
+
+ +
+
+ Odoo + Migration
+
+ + +
+
+ +
+
+ Odoo + Consultancy
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Licensing Consultancy
+
+
+
+ + + +
+
+
+

Our Industries

+
+
+ +
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+ +
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+ +
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+ +
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

+
+
+ +
+
+ +
+ E-commerce & Website +
+

+ Mobile + friendly, + awe-inspiring product pages

+
+
+ +
+
+ +
+ Service Management +
+

+ Keep track of + services and invoice

+
+
+ +
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

+
+
+ +
+
+ +
+ Hotel Management +
+

+ An + all-inclusive + hotel management application

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

Need Help?

+
+
+
+ + +
+ +
+ + +
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ + +
\ No newline at end of file diff --git a/digital_signature/views/inventory.xml b/digital_signature/views/inventory.xml new file mode 100644 index 000000000..6509325df --- /dev/null +++ b/digital_signature/views/inventory.xml @@ -0,0 +1,31 @@ + + + + inventory.view.form.inherit + stock.picking + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/digital_signature/views/invoice.xml b/digital_signature/views/invoice.xml new file mode 100644 index 000000000..449cf834f --- /dev/null +++ b/digital_signature/views/invoice.xml @@ -0,0 +1,50 @@ + + + + account.move.inherit + account.move + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/digital_signature/views/invoice_report.xml b/digital_signature/views/invoice_report.xml new file mode 100644 index 000000000..a8a43b4c1 --- /dev/null +++ b/digital_signature/views/invoice_report.xml @@ -0,0 +1,27 @@ + + + + diff --git a/digital_signature/views/purchase_order.xml b/digital_signature/views/purchase_order.xml new file mode 100644 index 000000000..ac8142bf4 --- /dev/null +++ b/digital_signature/views/purchase_order.xml @@ -0,0 +1,31 @@ + + + + purchase.order.view.form.inherit + purchase.order + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/digital_signature/views/purchase_report_inherit.xml b/digital_signature/views/purchase_report_inherit.xml new file mode 100644 index 000000000..bec1b745f --- /dev/null +++ b/digital_signature/views/purchase_report_inherit.xml @@ -0,0 +1,29 @@ + + + + + + diff --git a/digital_signature/views/res_config_settings.xml b/digital_signature/views/res_config_settings.xml new file mode 100644 index 000000000..71a8203b2 --- /dev/null +++ b/digital_signature/views/res_config_settings.xml @@ -0,0 +1,217 @@ + + + + + res.config.settings.view.form.inherit.purchase + res.config.settings + + + + +

Digital Signature

+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+ + +
+ +
+
+
+ + + res.config.settings.view.form.inherit.stock + res.config.settings + + + + +

Digital Signature

+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+
+ + + + + res.config.settings.view.form.inherit.invoice + res.config.settings + + + + +

Digital Signature

+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+ + + diff --git a/digital_signature/views/stock_picking_report.xml b/digital_signature/views/stock_picking_report.xml new file mode 100644 index 000000000..644d4574d --- /dev/null +++ b/digital_signature/views/stock_picking_report.xml @@ -0,0 +1,61 @@ + + + + + + \ No newline at end of file diff --git a/one2many_search/README.rst b/one2many_search/README.rst new file mode 100644 index 000000000..e91c3e071 --- /dev/null +++ b/one2many_search/README.rst @@ -0,0 +1,42 @@ +One2many Search +=============== +* Quick Search Feature For One2many Fields In Odoo + +Installation +============ + - www.odoo.com/documentation/15.0/setup/install.html + - Install our custom addon + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.odoo.com/documentation/user/15.0/legal/licenses/licenses.html) + +Company +------- +* 'Cybrosys Techno Solutions `__ + +Credits +------- +* Developer: +(v15) Shijin @ Cybrosys + + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit https://www.cybrosys.com + +Further information +=================== +HTML Description: ``__ + diff --git a/one2many_search/__init__.py b/one2many_search/__init__.py new file mode 100755 index 000000000..e3cd5ea36 --- /dev/null +++ b/one2many_search/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# diff --git a/one2many_search/__manifest__.py b/one2many_search/__manifest__.py new file mode 100755 index 000000000..37134e2b0 --- /dev/null +++ b/one2many_search/__manifest__.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +{ + 'name': "One2many Search Widget Odoo15", + "version": "15.0.1.0.0", + 'description': "Quick Search Feature For One2many Fields In Odoo", + 'summary': 'Quick Search Feature For One2many Fields In Odoo', + "website": "https://www.cybrosys.com", + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'category': 'Tools', + "author": "Cybrosys Techno Solutions", + "license": "LGPL-3", + 'depends': ['web'], + 'assets': { + 'web.assets_backend': [ + '/one2many_search/static/src/css/header.css', + '/one2many_search/static/src/js/one2manySearch.js' + ], + 'web.assets_qweb': [ + 'one2many_search/static/src/xml/one2manysearch.xml', + ], + }, + "installable": True, + "application": False, + 'images': ['static/description/banner.png'], + 'auto_install': False, +} diff --git a/one2many_search/doc/RELEASE_NOTES.md b/one2many_search/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..72d13dc81 --- /dev/null +++ b/one2many_search/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 02.08.2022 +#### Version 15.0.1.0.0 +#### ADD +- Initial commit for one2many_search + diff --git a/one2many_search/static/description/assets/icons/check.png b/one2many_search/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/one2many_search/static/description/assets/icons/check.png differ diff --git a/one2many_search/static/description/assets/icons/chevron.png b/one2many_search/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/one2many_search/static/description/assets/icons/chevron.png differ diff --git a/one2many_search/static/description/assets/icons/cogs.png b/one2many_search/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/one2many_search/static/description/assets/icons/cogs.png differ diff --git a/one2many_search/static/description/assets/icons/consultation.png b/one2many_search/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/one2many_search/static/description/assets/icons/consultation.png differ diff --git a/one2many_search/static/description/assets/icons/ecom-black.png b/one2many_search/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/one2many_search/static/description/assets/icons/ecom-black.png differ diff --git a/one2many_search/static/description/assets/icons/education-black.png b/one2many_search/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/one2many_search/static/description/assets/icons/education-black.png differ diff --git a/one2many_search/static/description/assets/icons/hotel-black.png b/one2many_search/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/one2many_search/static/description/assets/icons/hotel-black.png differ diff --git a/one2many_search/static/description/assets/icons/license.png b/one2many_search/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/one2many_search/static/description/assets/icons/license.png differ diff --git a/one2many_search/static/description/assets/icons/lifebuoy.png b/one2many_search/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/one2many_search/static/description/assets/icons/lifebuoy.png differ diff --git a/one2many_search/static/description/assets/icons/manufacturing-black.png b/one2many_search/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/one2many_search/static/description/assets/icons/manufacturing-black.png differ diff --git a/one2many_search/static/description/assets/icons/pos-black.png b/one2many_search/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/one2many_search/static/description/assets/icons/pos-black.png differ diff --git a/one2many_search/static/description/assets/icons/puzzle.png b/one2many_search/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/one2many_search/static/description/assets/icons/puzzle.png differ diff --git a/one2many_search/static/description/assets/icons/restaurant-black.png b/one2many_search/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/one2many_search/static/description/assets/icons/restaurant-black.png differ diff --git a/one2many_search/static/description/assets/icons/service-black.png b/one2many_search/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/one2many_search/static/description/assets/icons/service-black.png differ diff --git a/one2many_search/static/description/assets/icons/trading-black.png b/one2many_search/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/one2many_search/static/description/assets/icons/trading-black.png differ diff --git a/one2many_search/static/description/assets/icons/training.png b/one2many_search/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/one2many_search/static/description/assets/icons/training.png differ diff --git a/one2many_search/static/description/assets/icons/update.png b/one2many_search/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/one2many_search/static/description/assets/icons/update.png differ diff --git a/one2many_search/static/description/assets/icons/user.png b/one2many_search/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/one2many_search/static/description/assets/icons/user.png differ diff --git a/one2many_search/static/description/assets/icons/wrench.png b/one2many_search/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/one2many_search/static/description/assets/icons/wrench.png differ diff --git a/one2many_search/static/description/assets/modules/1.png b/one2many_search/static/description/assets/modules/1.png new file mode 100644 index 000000000..3ad04ecfd Binary files /dev/null and b/one2many_search/static/description/assets/modules/1.png differ diff --git a/one2many_search/static/description/assets/modules/2.png b/one2many_search/static/description/assets/modules/2.png new file mode 100644 index 000000000..499b1a72f Binary files /dev/null and b/one2many_search/static/description/assets/modules/2.png differ diff --git a/one2many_search/static/description/assets/modules/3.png b/one2many_search/static/description/assets/modules/3.png new file mode 100644 index 000000000..5238bdeab Binary files /dev/null and b/one2many_search/static/description/assets/modules/3.png differ diff --git a/one2many_search/static/description/assets/modules/4.png b/one2many_search/static/description/assets/modules/4.png new file mode 100644 index 000000000..7f2815273 Binary files /dev/null and b/one2many_search/static/description/assets/modules/4.png differ diff --git a/one2many_search/static/description/assets/modules/5.png b/one2many_search/static/description/assets/modules/5.png new file mode 100644 index 000000000..cfb5be33c Binary files /dev/null and b/one2many_search/static/description/assets/modules/5.png differ diff --git a/one2many_search/static/description/assets/modules/6.png b/one2many_search/static/description/assets/modules/6.png new file mode 100644 index 000000000..f01b10060 Binary files /dev/null and b/one2many_search/static/description/assets/modules/6.png differ diff --git a/one2many_search/static/description/assets/modules/approval_image.png b/one2many_search/static/description/assets/modules/approval_image.png new file mode 100644 index 000000000..84fe94e80 Binary files /dev/null and b/one2many_search/static/description/assets/modules/approval_image.png differ diff --git a/one2many_search/static/description/assets/modules/dynamic_image.png b/one2many_search/static/description/assets/modules/dynamic_image.png new file mode 100644 index 000000000..f55c47e0f Binary files /dev/null and b/one2many_search/static/description/assets/modules/dynamic_image.png differ diff --git a/one2many_search/static/description/assets/modules/list_view_image.png b/one2many_search/static/description/assets/modules/list_view_image.png new file mode 100644 index 000000000..510d36ae9 Binary files /dev/null and b/one2many_search/static/description/assets/modules/list_view_image.png differ diff --git a/one2many_search/static/description/assets/modules/multiple_ref_image.png b/one2many_search/static/description/assets/modules/multiple_ref_image.png new file mode 100644 index 000000000..3fe90e552 Binary files /dev/null and b/one2many_search/static/description/assets/modules/multiple_ref_image.png differ diff --git a/one2many_search/static/description/assets/modules/print_image.png b/one2many_search/static/description/assets/modules/print_image.png new file mode 100644 index 000000000..b470725a1 Binary files /dev/null and b/one2many_search/static/description/assets/modules/print_image.png differ diff --git a/one2many_search/static/description/assets/modules/product_return_image.png b/one2many_search/static/description/assets/modules/product_return_image.png new file mode 100644 index 000000000..3afc14722 Binary files /dev/null and b/one2many_search/static/description/assets/modules/product_return_image.png differ diff --git a/one2many_search/static/description/assets/screenshots/1.png b/one2many_search/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..890818bc5 Binary files /dev/null and b/one2many_search/static/description/assets/screenshots/1.png differ diff --git a/one2many_search/static/description/assets/screenshots/2.png b/one2many_search/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..92e47d74b Binary files /dev/null and b/one2many_search/static/description/assets/screenshots/2.png differ diff --git a/one2many_search/static/description/assets/screenshots/3.png b/one2many_search/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..222c31758 Binary files /dev/null and b/one2many_search/static/description/assets/screenshots/3.png differ diff --git a/one2many_search/static/description/banner.png b/one2many_search/static/description/banner.png new file mode 100644 index 000000000..caf2a8ff4 Binary files /dev/null and b/one2many_search/static/description/banner.png differ diff --git a/one2many_search/static/description/icon.png b/one2many_search/static/description/icon.png new file mode 100644 index 000000000..ffb4bf482 Binary files /dev/null and b/one2many_search/static/description/icon.png differ diff --git a/one2many_search/static/description/index.html b/one2many_search/static/description/index.html new file mode 100644 index 000000000..79e5c4f90 --- /dev/null +++ b/one2many_search/static/description/index.html @@ -0,0 +1,558 @@ +
+
+
+

+ One2many Search Widget In Odoo15

+

+ Quick Search Feature For One2many Fields In Odoo +

+ +
+
+ + + + +
+
+

+ Overview +

+
+ +
+

+ This module helps to enable quick search option in any One2Many field in odoo. + This widget will work on any one2many either it will be odoo's default one2many or Custom addons one2many. You just need to add widget in XML file. +

+ +
+
+ +
+
+

+ Features +

+
+ +
+
+
+ +
+
+

+ Community & Enterprise Support

+

+ Available in Odoo 15.0 Community and Enterprise. +

+
+
+
+ +
+
+
+ +
+
+

+ Quick Search In One2many

+

+ User can search from One2many with the help of this widget +

+
+
+
+ +
+
+
+ +
+
+

+ Adding Widget

+

+ <field name="one2many_field" widget="one2many_search" /> +

+
+
+
+ + + +
+ +
+
+

+ Screenshots +

+
+
+

+ Adding 'one2many_search' widget in One2many field

+

+

+ +
+ +
+

+ One2many field view after adding the widget

+

+

+ +
+ +
+

+ Searching keyword

+

+

+ Tree view is re-aranged accodring to the search + +
+ +
+ + +
+
+

Suggested Products

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

Our Services

+
+
+ +
+
+ +
+
+ Odoo + Customization
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Support
+
+ + +
+
+ +
+
+ Hire + Odoo + Developer
+
+ +
+
+ +
+
+ Odoo + Integration
+
+ +
+
+ +
+
+ Odoo + Migration
+
+ + +
+
+ +
+
+ Odoo + Consultancy
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Licensing Consultancy
+
+
+
+ + + +
+
+
+

Our Industries

+
+
+ +
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+ +
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+ +
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+ +
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

+
+
+ +
+
+ +
+ E-commerce & Website +
+

+ Mobile + friendly, + awe-inspiring product pages

+
+
+ +
+
+ +
+ Service Management +
+

+ Keep track of + services and invoice

+
+
+ +
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

+
+
+ +
+
+ +
+ Hotel Management +
+

+ An + all-inclusive + hotel management application

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

Need Help?

+
+
+
+ + +
+ +
+ + +
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ + +
\ No newline at end of file diff --git a/one2many_search/static/src/css/header.css b/one2many_search/static/src/css/header.css new file mode 100644 index 000000000..d5dfca1dd --- /dev/null +++ b/one2many_search/static/src/css/header.css @@ -0,0 +1,10 @@ + +.oe_search_value{ + border-radius: 25px; + border: 2px solid #eceff2; + padding: 10px; + width: 600px; + height: 20px; + color:#495057 + font-size: 16px; +} \ No newline at end of file diff --git a/one2many_search/static/src/js/one2manySearch.js b/one2many_search/static/src/js/one2manySearch.js new file mode 100755 index 000000000..f1550e81e --- /dev/null +++ b/one2many_search/static/src/js/one2manySearch.js @@ -0,0 +1,27 @@ +odoo.define('one2many_search.search', function (require) +{"use strict"; + var registry = require('web.field_registry'); + var fields = require('web.relational_fields'); + + var One2ManySearch = fields.FieldOne2Many.extend({ + template: 'One2ManySearch', + events: _.extend({}, fields.FieldOne2Many.prototype.events, { + 'keyup .oe_search_value': '_onKeyUp', + }), + + _onKeyUp: function (event) { + var self = this; + self.$el.find('table').addClass('oe_one2many'); + var value = $(event.currentTarget).val().toLowerCase(); + var $el = $(this.$el) + $(".oe_one2many tr:not(:lt(1))").filter(function() { + $(this).toggle($(this).text().toLowerCase().indexOf(value) > -1) + }); + }, + + }); + registry.add('one2many_search', One2ManySearch); + return { + One2ManySearch: One2ManySearch, + }; +}); \ No newline at end of file diff --git a/one2many_search/static/src/xml/one2manysearch.xml b/one2many_search/static/src/xml/one2manysearch.xml new file mode 100644 index 000000000..c269ff13d --- /dev/null +++ b/one2many_search/static/src/xml/one2manysearch.xml @@ -0,0 +1,15 @@ + + + + +
+
+ + +
+
+ +
+
+