diff --git a/pdf_report_with_sign/README.rst b/pdf_report_with_sign/README.rst new file mode 100644 index 000000000..76b3e1a5e --- /dev/null +++ b/pdf_report_with_sign/README.rst @@ -0,0 +1,42 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: AGPL-3 + +Reports With Signature +====================== +Signature in all PDF Reports + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +General Public License, Version 3 (AGPL v3). +(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) + +Credits +------- +Developer: (V15) Ammu Raj, 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 `__ + +Further information +=================== +HTML Description: ``__ diff --git a/pdf_report_with_sign/__init__.py b/pdf_report_with_sign/__init__.py new file mode 100644 index 000000000..d9e93b8e8 --- /dev/null +++ b/pdf_report_with_sign/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Ammu Raj (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 . +# +################################################################################ +from . import models diff --git a/pdf_report_with_sign/__manifest__.py b/pdf_report_with_sign/__manifest__.py new file mode 100644 index 000000000..3fda3eaf8 --- /dev/null +++ b/pdf_report_with_sign/__manifest__.py @@ -0,0 +1,42 @@ + # -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Ammu Raj (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 . +# +################################################################################ +{ + 'name': 'Reports With Signature', + 'version': '15.0.1.0.0', + 'category': 'Productivity', + 'summary': """PDF reports with signature""", + 'description': """Allows to print the signature in all pdf reports""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['web', 'hr'], + 'data': [ + 'views/res_company_views.xml', + 'report/pdf_with_signature_templates.xml', + ], + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/README.rst b/pdf_report_with_sign/auto_logout_idle_user_odoo/README.rst new file mode 100644 index 000000000..4e3e88663 --- /dev/null +++ b/pdf_report_with_sign/auto_logout_idle_user_odoo/README.rst @@ -0,0 +1,48 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Logout Idle User +================ +Auto logout idle user with fixed time + +Configuration +============= +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developer: (V16) Yadhukrishnan k, Contact: odoo@cybrosys.com + +License +------- +Affero General Public License, Version 3 `(AGPL v3). +`__ + +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 `__ + +Further information +=================== +HTML Description: ``__ + + diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/__init__.py b/pdf_report_with_sign/auto_logout_idle_user_odoo/__init__.py new file mode 100644 index 000000000..1e015eaa4 --- /dev/null +++ b/pdf_report_with_sign/auto_logout_idle_user_odoo/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Yadhukrishnan K (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 . +################################################################################ +from . import controllers +from . import models diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/__manifest__.py b/pdf_report_with_sign/auto_logout_idle_user_odoo/__manifest__.py new file mode 100644 index 000000000..ba2b7cd41 --- /dev/null +++ b/pdf_report_with_sign/auto_logout_idle_user_odoo/__manifest__.py @@ -0,0 +1,49 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Yadhukrishnan K (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 . +################################################################################ +{ + 'name': 'Logout Idle User', + 'version': '15.0.1.0.0', + 'summary': 'Auto logout idle user with fixed time', + 'description': """User can fix the timer in the user's profile, if the user + is in idle mode the user will logout from session automatically""", + 'category': 'Extra Tools', + 'author': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'license': 'AGPL-3', + 'depends': ['base'], + 'images': ['static/description/banner.png'], + 'data': [ + 'views/res_users_views.xml' + ], + 'assets': { + 'web.assets_backend': [ + '/auto_logout_idle_user_odoo/static/src/js/systray.js', + '/auto_logout_idle_user_odoo/static/src/css/systray.css' + ], + 'web.assets_qweb': [ + '/auto_logout_idle_user_odoo/static/src/xml/systray.xml', ] + }, + 'application': False, + 'installable': True, + 'auto_install': False +} diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/controllers/__init__.py b/pdf_report_with_sign/auto_logout_idle_user_odoo/controllers/__init__.py new file mode 100644 index 000000000..7a9ee874c --- /dev/null +++ b/pdf_report_with_sign/auto_logout_idle_user_odoo/controllers/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Yadhukrishnan K (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 . +################################################################################ +from . import auto_logout_idle_user_odoo diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/controllers/auto_logout_idle_user_odoo.py b/pdf_report_with_sign/auto_logout_idle_user_odoo/controllers/auto_logout_idle_user_odoo.py new file mode 100644 index 000000000..976a8edee --- /dev/null +++ b/pdf_report_with_sign/auto_logout_idle_user_odoo/controllers/auto_logout_idle_user_odoo.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Yadhukrishnan K (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 . +################################################################################ +from odoo import http +from odoo.http import request + + +class AutoLogoutIdleUSer(http.Controller): + """ + The EasyLanguageSelector passing minute that selected in the login user + account. + Methods: + get_idle_time(self): + when the page is loaded adding total activated languages options + to the selection field. + return a list variable. + """ + + @http.route('/get_idle_time/timer', auth='user', type='json') + def get_idle_time(self): + """ + Summery: + Getting value that selected from the login user account and pass it + to the js function. + return: + type:It is a variable, that contain selected minutes. + """ + return request.env.user.idle_time if request.env.user.enable_idle\ + else False diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/doc/RELEASE_NOTES.md b/pdf_report_with_sign/auto_logout_idle_user_odoo/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..ad696c914 --- /dev/null +++ b/pdf_report_with_sign/auto_logout_idle_user_odoo/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 06.10.2023 +#### Version 15.0.1.0.0 +##### ADD +- Initial Commit for Logout Idle User diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/models/__init__.py b/pdf_report_with_sign/auto_logout_idle_user_odoo/models/__init__.py new file mode 100644 index 000000000..af6528027 --- /dev/null +++ b/pdf_report_with_sign/auto_logout_idle_user_odoo/models/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Yadhukrishnan K (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 . +################################################################################ +from . import res_users diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/models/res_users.py b/pdf_report_with_sign/auto_logout_idle_user_odoo/models/res_users.py new file mode 100644 index 000000000..56dae2f5f --- /dev/null +++ b/pdf_report_with_sign/auto_logout_idle_user_odoo/models/res_users.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Yadhukrishnan K (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 . +################################################################################ +from odoo import fields, models + + +class Users(models.Model): + """ Inherit and adding some fields to the 'res.users'""" + _inherit = "res.users" + + enable_idle = fields.Boolean(string="Enable Idle Time", + help="Enable Idle Timer") + idle_time = fields.Integer(string="Idle Time (In minutes)", default=10, + help="Set Idle Time For theis User") + + _sql_constraints = [ + ('positive_idle_time', 'CHECK(idle_time >= 1)', + 'Idle Time should be a positive number.'), + ] diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/check.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/check.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/chevron.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/chevron.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/cogs.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/cogs.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/consultation.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/consultation.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/ecom-black.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/ecom-black.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/education-black.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/education-black.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/hotel-black.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/hotel-black.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/license.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/license.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/lifebuoy.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/lifebuoy.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/manufacturing-black.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/manufacturing-black.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/pos-black.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/pos-black.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/puzzle.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/puzzle.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/restaurant-black.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/restaurant-black.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/service-black.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/service-black.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/trading-black.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/trading-black.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/training.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/training.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/update.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/update.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/user.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/user.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/wrench.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/icons/wrench.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/categories.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/categories.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/check-box.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/check-box.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/compass.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/compass.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/corporate.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/corporate.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/customer-support.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/customer-support.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/cybrosys-logo.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/cybrosys-logo.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/features.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/features.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/logo.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/logo.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/pictures.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/pictures.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/pie-chart.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/pie-chart.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/right-arrow.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/right-arrow.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/star.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/star.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/support.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/support.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/whatsapp.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/misc/whatsapp.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/modules/1.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/modules/1.png new file mode 100644 index 000000000..5238bdeab Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/modules/1.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/modules/2.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/modules/2.png new file mode 100644 index 000000000..1ae7cfe3b Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/modules/2.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/modules/3.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/modules/3.png new file mode 100644 index 000000000..3c3ff1afb Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/modules/3.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/modules/4.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/modules/4.png new file mode 100644 index 000000000..3fae4631e Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/modules/4.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/modules/5.gif b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/modules/5.gif new file mode 100644 index 000000000..2a5f8e659 Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/modules/5.gif differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/modules/6.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/modules/6.png new file mode 100644 index 000000000..7f2815273 Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/modules/6.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/screenshots/Screenshot2.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/screenshots/Screenshot2.png new file mode 100644 index 000000000..7820ab893 Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/screenshots/Screenshot2.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/screenshots/Screenshot3.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/screenshots/Screenshot3.png new file mode 100644 index 000000000..3c8155148 Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/screenshots/Screenshot3.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/screenshots/hero.gif b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..ec7113c9c Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/screenshots/hero.gif differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/screenshots/screenshot.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/screenshots/screenshot.png new file mode 100644 index 000000000..e59544669 Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/assets/screenshots/screenshot.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/banner.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/banner.png new file mode 100644 index 000000000..8171370f7 Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/banner.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/icon.png b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/icon.png new file mode 100644 index 000000000..e686f89d0 Binary files /dev/null and b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/icon.png differ diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/index.html b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/index.html new file mode 100644 index 000000000..5767b34a9 --- /dev/null +++ b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/description/index.html @@ -0,0 +1,535 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+ +

+ Logout Idle User +

+

Logout the user in idle mode.

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

Explore This + Module

+
+ + + + +
+
+ +
+

Overview +

+
+
+
+ When the user in idle mode, this module redirect to the login page after a fixed time. +
+ +
+ + + +
+
+ +
+

Features +

+
+
+
+
+ + A protection to your odoo session. +
+
+
+
+ + User can set their idle time in their profile. +
+
+
+ + + +
+
+ +
+

Screenshots +

+
+
+
+ +
+

Idle Timer

+

User need to enable the option idle timer under Settings -> Users & Companies-> Users Preferences after that set time for idle.

+ +
+ +
+

Timer On Systray +

+

After completion of above step a timer will be displayed in the systray +

+ +
+ +
+

Logout User +

+

After completion of timer the user will be logout automatically. +

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

Related + Products +

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

Our Services +

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

Our + Industries +

+
+ +
+
+
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+ +
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+ +
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+ +
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

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

+ Mobile + friendly, + awe-inspiring product pages

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

+ Keep track of + services and invoice

+
+
+ +
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

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

+ An + all-inclusive + hotel management application

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

Support +

+
+
+
+
+
+
+ +
+
+

Need Help?

+

Got questions or need help? Get in touch.

+ +

+ odoo@cybrosys.com

+
+
+
+
+
+
+
+ +
+
+

WhatsApp

+

Say hi to us on WhatsApp!

+ +

+91 86068 + 27707

+
+
+
+
+
+
+
+ +
+
+
+ \ No newline at end of file diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/src/css/systray.css b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/src/css/systray.css new file mode 100644 index 000000000..9c4956384 --- /dev/null +++ b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/src/css/systray.css @@ -0,0 +1,8 @@ +#div-timer{ + color:#fff; + display:flex; + margin-top:10px; +} +#div-timer i{ + padding: 4px; +} diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/src/js/systray.js b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/src/js/systray.js new file mode 100644 index 000000000..83333a02e --- /dev/null +++ b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/src/js/systray.js @@ -0,0 +1,79 @@ +/** @odoo-module **/ +import SystrayMenu from 'web.SystrayMenu'; +import Widget from 'web.Widget'; +var ajax = require('web.ajax'); +var TimerWidget = Widget.extend({ + template: 'TimerSystray', + /** + function run before loading the page to call methode "get_idle_time" + */ + willStart: function() { + var self = this; + return this._super().then(function() { + self.get_idle_time(); + }); + }, + /** + Getting minutes through python for the corresponding user in the backend + */ + get_idle_time: function() { + var self = this + var now = new Date().getTime(); + ajax.rpc('/get_idle_time/timer').then(function(data) { + if (data != false) { + self.minutes = data + self.idle_timer() + } + }) + }, + /** + passing values of the countdown to the xml + */ + idle_timer: function() { + var nowt = new Date().getTime(); + var date = new Date(nowt); + var self = this; + date.setMinutes(date.getMinutes() + this.minutes); + var updatedTimestamp = date.getTime(); + /** Running the count down using setInterval function */ + var idle = setInterval(function() { + var now = new Date().getTime(); + var distance = updatedTimestamp - now; + var days = Math.floor(distance / (1000 * 60 * 60 * 24)); + var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); + var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); + var seconds = Math.floor((distance % (1000 * 60)) / 1000); + if (hours && days) { + self.el.querySelector("#idle_timer").innerHTML = " " + days + "d " + hours + "h " + minutes + "m " + seconds + "s "; + } else if (hours) { + self.el.querySelector("#idle_timer").innerHTML = " " + hours + "h " + minutes + "m " + seconds + "s "; + } else { + self.el.querySelector("#idle_timer").innerHTML = " " + minutes + "m " + seconds + "s "; + } + /** if the countdown is zero the link is redirect to the login page*/ + if (distance < 0) { + clearInterval(idle); + self.el.querySelector("#idle_timer").innerHTML = "EXPIRED"; + location.replace("/web/session/logout") + } + }, 1000); + /** + * Reset the idle time + */ + function resetTimer(){ + var nowt = new Date().getTime(); + var date = new Date(nowt); + date.setMinutes(date.getMinutes() + self.minutes); + updatedTimestamp = date.getTime(); + } + /** + * Calling the resetTimer() for each event + */ + const events = ['mousemove', 'keypress', 'click', 'touchstart', 'mousedown', 'load']; + for (const event of events) { + document.addEventListener(event, resetTimer); + } + }, +}); +SystrayMenu.Items.push(TimerWidget); +export default TimerWidget; \ No newline at end of file diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/static/src/xml/systray.xml b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/src/xml/systray.xml new file mode 100644 index 000000000..07e711c7d --- /dev/null +++ b/pdf_report_with_sign/auto_logout_idle_user_odoo/static/src/xml/systray.xml @@ -0,0 +1,11 @@ + + + + +
+
+

+

+
+
+
\ No newline at end of file diff --git a/pdf_report_with_sign/auto_logout_idle_user_odoo/views/res_users_views.xml b/pdf_report_with_sign/auto_logout_idle_user_odoo/views/res_users_views.xml new file mode 100644 index 000000000..0beb2264d --- /dev/null +++ b/pdf_report_with_sign/auto_logout_idle_user_odoo/views/res_users_views.xml @@ -0,0 +1,19 @@ + + + + + view.users.form.inherit.auto.logout.idle.user.odoo + res.users + + + + + + + + + + + + + diff --git a/pdf_report_with_sign/doc/RELEASE_NOTES.md b/pdf_report_with_sign/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..58d365d8b --- /dev/null +++ b/pdf_report_with_sign/doc/RELEASE_NOTES.md @@ -0,0 +1,5 @@ +## Module +#### 18.08.2023 +#### Version 15.0.1.0.0 +##### ADD +- Initial Commit for Reports With Signature diff --git a/pdf_report_with_sign/follower_restrict/README.rst b/pdf_report_with_sign/follower_restrict/README.rst new file mode 100644 index 000000000..c9e134186 --- /dev/null +++ b/pdf_report_with_sign/follower_restrict/README.rst @@ -0,0 +1,46 @@ +.. image:: https://img.shields.io/badge/license-LGPL--3-green.svg + :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 + +Follower Restrict +================= +This module help you to remove follower when a Sale,Purchase and Invoice is confirmed. + +Configuration +============= +Enable the 'Disable Follower' option in General settings. + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) + +Credits +------- +Developer: (V15) Ayana KP, 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 `__ + +Further information +=================== +HTML Description: ``__ diff --git a/pdf_report_with_sign/follower_restrict/__init__.py b/pdf_report_with_sign/follower_restrict/__init__.py new file mode 100644 index 000000000..b793e8806 --- /dev/null +++ b/pdf_report_with_sign/follower_restrict/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. + +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Ayana KP (odoo@cybrosys.com) +# +# This program is free software: you can modify +# it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# along with this program. If not, see . +# +############################################################################### +from . import models diff --git a/pdf_report_with_sign/follower_restrict/__manifest__.py b/pdf_report_with_sign/follower_restrict/__manifest__.py new file mode 100644 index 000000000..37f10789e --- /dev/null +++ b/pdf_report_with_sign/follower_restrict/__manifest__.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. + +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Ayana KP (odoo@cybrosys.com) +# +# This program is free software: you can modify +# it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# along with this program. If not, see . +# +################################################################################ +{ + 'name': "Follower Restrict", + 'version': '15.0.1.0.0', + 'category': 'Extra Tools,Sales,Purchase', + 'summary': """Restrict Followers in Sale and Purchase Module""", + 'description': """ Restrict adding the follower while confirming the sale + order,purchase order and invoicing """, + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['sale_management', 'purchase'], + 'data': [ + 'views/res_config_settings_views.xml', + ], + 'images': ['static/description/banner.jpg'], + 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/pdf_report_with_sign/follower_restrict/doc/RELEASE_NOTES.md b/pdf_report_with_sign/follower_restrict/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..997379fbd --- /dev/null +++ b/pdf_report_with_sign/follower_restrict/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 25.10.2023 +#### Version 15.0.1.0.0 +#### ADD +- Initial commit for Follower Restrict diff --git a/pdf_report_with_sign/follower_restrict/models/__init__.py b/pdf_report_with_sign/follower_restrict/models/__init__.py new file mode 100644 index 000000000..b7bdd1c12 --- /dev/null +++ b/pdf_report_with_sign/follower_restrict/models/__init__.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. + +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Ayana KP (odoo@cybrosys.com) +# +# This program is free software: you can modify +# it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# along with this program. If not, see . +# +############################################################################### +from . import account_move +from . import purchase_order +from . import res_config_settings +from . import sale_order diff --git a/pdf_report_with_sign/follower_restrict/models/account_move.py b/pdf_report_with_sign/follower_restrict/models/account_move.py new file mode 100644 index 000000000..17888564b --- /dev/null +++ b/pdf_report_with_sign/follower_restrict/models/account_move.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. + +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Ayana KP (odoo@cybrosys.com) +# +# This program is free software: you can modify +# it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# along with this program. If not, see . +# +############################################################################### +from odoo import models + + +class AccountMove(models.Model): + """Inherits the account move for restrict follower while invoicing""" + _inherit = 'account.move' + + def action_post(self): + """Check whether 'Disable Follower' is enabled. + Check whether user and customer are same. + If not unsubscribe the customer from followers list.""" + result = super(AccountMove, self).action_post() + if self.env['ir.config_parameter'].get_param( + "follower_restrict.disable_followers"): + user_partner = self.user_id.partner_id.id if self.user_id else False + unsubscribe_followers = [follower.partner_id.id for follower in + self.message_follower_ids if + follower.partner_id.id != user_partner] + if unsubscribe_followers: + self.message_unsubscribe(unsubscribe_followers) + return result diff --git a/pdf_report_with_sign/follower_restrict/models/purchase_order.py b/pdf_report_with_sign/follower_restrict/models/purchase_order.py new file mode 100644 index 000000000..ab4f51e69 --- /dev/null +++ b/pdf_report_with_sign/follower_restrict/models/purchase_order.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. + +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Ayana KP (odoo@cybrosys.com) +# +# This program is free software: you can modify +# it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# along with this program. If not, see . +# +############################################################################### +from odoo import models + + +class PurchaseOrder(models.Model): + """Inherits the purchase order for disable the follower""" + _inherit = 'purchase.order' + + def button_confirm(self): + """Check whether 'Disable Follower' is enabled. + Check whether user and vendor are same. + If not unsubscribe the vendor from followers list.""" + result = super(PurchaseOrder, self).button_confirm() + if self.env['ir.config_parameter'].get_param( + "follower_restrict.disable_followers"): + user_partner = self.user_id.partner_id.id if self.user_id else False + unsubscribe_followers = [follower.partner_id.id for follower in + self.message_follower_ids if + follower.partner_id.id != user_partner] + if unsubscribe_followers: + self.message_unsubscribe(unsubscribe_followers) + return result diff --git a/pdf_report_with_sign/follower_restrict/models/res_config_settings.py b/pdf_report_with_sign/follower_restrict/models/res_config_settings.py new file mode 100644 index 000000000..badc472bd --- /dev/null +++ b/pdf_report_with_sign/follower_restrict/models/res_config_settings.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. + +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Ayana KP (odoo@cybrosys.com) +# +# This program is free software: you can modify +# it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# along with this program. If not, see . +# +############################################################################### +from odoo import fields, models + + +class ResConfigSettings(models.TransientModel): + """Inherits the config settings for adding disable option""" + _inherit = 'res.config.settings' + + disable_followers = fields.Boolean( + "Disable Follower", + config_parameter="follower_restrict.disable_followers", + help="Enable the follower restrict") diff --git a/pdf_report_with_sign/follower_restrict/models/sale_order.py b/pdf_report_with_sign/follower_restrict/models/sale_order.py new file mode 100644 index 000000000..072b606b8 --- /dev/null +++ b/pdf_report_with_sign/follower_restrict/models/sale_order.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. + +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Ayana KP (odoo@cybrosys.com) +# +# This program is free software: you can modify +# it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# along with this program. If not, see . +# +############################################################################### +from odoo import models + + +class SaleOrder(models.Model): + """Inherits the sale order for disable the follower""" + _inherit = 'sale.order' + + def action_confirm(self): + """Check whether 'Disable Follower' is enabled. + Check whether user and customer are same. + If not unsubscribe the customer from followers list""" + result = super(SaleOrder, self).action_confirm() + if self.env['ir.config_parameter'].get_param( + "follower_restrict.disable_followers"): + user_partner = self.user_id.partner_id.id if self.user_id else False + unsubscribe_followers = [follower.partner_id.id for follower in + self.message_follower_ids if + follower.partner_id.id != user_partner] + if unsubscribe_followers: + self.message_unsubscribe(unsubscribe_followers) + return result diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/icons/check.png b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/check.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/icons/chevron.png b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/chevron.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/icons/cogs.png b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/cogs.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/icons/consultation.png b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/consultation.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/icons/ecom-black.png b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/ecom-black.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/icons/education-black.png b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/education-black.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/icons/hotel-black.png b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/hotel-black.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/icons/license.png b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/license.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/icons/lifebuoy.png b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/lifebuoy.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/icons/manufacturing-black.png b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/manufacturing-black.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/icons/pos-black.png b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/pos-black.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/icons/puzzle.png b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/puzzle.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/icons/restaurant-black.png b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/restaurant-black.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/icons/service-black.png b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/service-black.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/icons/trading-black.png b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/trading-black.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/icons/training.png b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/training.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/icons/update.png b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/update.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/icons/user.png b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/user.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/icons/wrench.png b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/icons/wrench.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/misc/categories.png b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/categories.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/misc/check-box.png b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/check-box.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/misc/compass.png b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/compass.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/misc/corporate.png b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/corporate.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/misc/customer-support.png b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/customer-support.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/misc/cybrosys-logo.png b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/cybrosys-logo.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/misc/features.png b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/features.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/misc/logo.png b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/logo.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/misc/pictures.png b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/pictures.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/misc/pie-chart.png b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/pie-chart.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/misc/right-arrow.png b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/right-arrow.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/misc/star.png b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/star.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/misc/support.png b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/support.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/misc/whatsapp.png b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/misc/whatsapp.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/module/module_image (1).png b/pdf_report_with_sign/follower_restrict/static/description/assets/module/module_image (1).png new file mode 100644 index 000000000..6f654cfdb Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/module/module_image (1).png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/module/module_image (2).png b/pdf_report_with_sign/follower_restrict/static/description/assets/module/module_image (2).png new file mode 100644 index 000000000..09e2d45b2 Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/module/module_image (2).png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/module/module_image (3).png b/pdf_report_with_sign/follower_restrict/static/description/assets/module/module_image (3).png new file mode 100644 index 000000000..737c0a22f Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/module/module_image (3).png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/module/module_image (4).png b/pdf_report_with_sign/follower_restrict/static/description/assets/module/module_image (4).png new file mode 100644 index 000000000..5d23539cd Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/module/module_image (4).png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/module/module_image (5).png b/pdf_report_with_sign/follower_restrict/static/description/assets/module/module_image (5).png new file mode 100644 index 000000000..6bc155887 Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/module/module_image (5).png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/module/module_image.png b/pdf_report_with_sign/follower_restrict/static/description/assets/module/module_image.png new file mode 100644 index 000000000..6bc155887 Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/module/module_image.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/screenshots/1-Settings.png b/pdf_report_with_sign/follower_restrict/static/description/assets/screenshots/1-Settings.png new file mode 100644 index 000000000..88d981111 Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/screenshots/1-Settings.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/screenshots/2-sale.png b/pdf_report_with_sign/follower_restrict/static/description/assets/screenshots/2-sale.png new file mode 100644 index 000000000..0d78169be Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/screenshots/2-sale.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/screenshots/3-Purchase.png b/pdf_report_with_sign/follower_restrict/static/description/assets/screenshots/3-Purchase.png new file mode 100644 index 000000000..d6ab29528 Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/screenshots/3-Purchase.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/screenshots/4-Invoice.png b/pdf_report_with_sign/follower_restrict/static/description/assets/screenshots/4-Invoice.png new file mode 100644 index 000000000..87bff5a16 Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/screenshots/4-Invoice.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/assets/screenshots/hero.gif b/pdf_report_with_sign/follower_restrict/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..fa6d64799 Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/assets/screenshots/hero.gif differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/banner.jpg b/pdf_report_with_sign/follower_restrict/static/description/banner.jpg new file mode 100644 index 000000000..a8123e227 Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/banner.jpg differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/icon.png b/pdf_report_with_sign/follower_restrict/static/description/icon.png new file mode 100644 index 000000000..670d843fb Binary files /dev/null and b/pdf_report_with_sign/follower_restrict/static/description/icon.png differ diff --git a/pdf_report_with_sign/follower_restrict/static/description/index.html b/pdf_report_with_sign/follower_restrict/static/description/index.html new file mode 100644 index 000000000..c6dc33b3c --- /dev/null +++ b/pdf_report_with_sign/follower_restrict/static/description/index.html @@ -0,0 +1,574 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+ +

+ Follower Restrict

+

Restrict the Customer or Vendor to be a Follower.

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

Explore This + Module

+
+ + + + +
+
+ +
+

Overview +

+
+
+
+ This module helps to effectively prevent customers or vendors from automatically becoming followers when confirming a sale/purchase order, thus offering greater control over your interactions and engagements. +
+
+ + + +
+
+ +
+

Features +

+
+
+
+
+ + Can Restrict Customer to be a Follower. +
+
+ + Can Restrict Vendor to be a Follower. +
+ +
+
+ +
+ + Available in Odoo 16.0 + Community, Enterprise and Odoo.sh. +
+ +
+
+ + + +
+
+ +
+

Screenshots +

+
+
+
+ +
+

Enable the 'Disable Follower' in General Settings. +

+

Access the General Settings and proceed to enable the 'Disable Follower' option. Once you've enabled it, click on the SAVE button and refresh the page to ensure the settings take effect. +

+ +
+ +
+

Create a Sale Order. +

+

While confirming a Sale order, we can see that only the user is added to the follower. Here + the customer is restricted to be a follower.

+ +
+
+

Create a Purchase Order. +

+

While confirming a Purchase order, we can see that only the user is added to the follower. Here + the vendor is restricted to be a follower.

+ +
+ +
+

Create a Invoice. +

+

While confirming a Invoice, we can see that only the user is added to the follower. Here + the customer is restricted to be a follower.

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

Related + Products +

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

Our Services +

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

Our + Industries +

+
+ +
+
+
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+ +
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+ +
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+ +
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

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

+ Mobile + friendly, + awe-inspiring product pages

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

+ Keep track of + services and invoice

+
+
+ +
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

+
+
+
+
+ +
+ Hotel Management +
+

+ An + all-inclusive + hotel management application

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

Support +

+
+
+
+
+
+
+ +
+
+

Need Help?

+

Got questions or need help? Get in touch.

+ +

+ odoo@cybrosys.com

+
+
+
+
+
+
+
+ +
+
+

WhatsApp

+

Say hi to us on WhatsApp!

+ +

+91 86068 + 27707

+
+
+
+
+
+
+
+ +
+
+
+ diff --git a/pdf_report_with_sign/follower_restrict/views/res_config_settings_views.xml b/pdf_report_with_sign/follower_restrict/views/res_config_settings_views.xml new file mode 100644 index 000000000..bfff2fb03 --- /dev/null +++ b/pdf_report_with_sign/follower_restrict/views/res_config_settings_views.xml @@ -0,0 +1,32 @@ + + + + + res.config.settings.view.form.inherit.follower.restrict + + res.config.settings + + + + +

Follower

+
+
+
+ +
+
+
+
+
+
+
+
+
diff --git a/pdf_report_with_sign/listview_change_background_color/README.rst b/pdf_report_with_sign/listview_change_background_color/README.rst new file mode 100644 index 000000000..fc05271a3 --- /dev/null +++ b/pdf_report_with_sign/listview_change_background_color/README.rst @@ -0,0 +1,46 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Listview Change Background Color +================================ +This module allow change background colors of most priority records in tree/list view very easily and quickly. + +Configuration +============= +* No additional configuration is required + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +General Public License, Version 3 (AGPL v3). +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +Developer: (V15) Ammu Raj, 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 `__ + +Further information +=================== +HTML Description: ``__ diff --git a/pdf_report_with_sign/listview_change_background_color/__init__.py b/pdf_report_with_sign/listview_change_background_color/__init__.py new file mode 100644 index 000000000..d9e93b8e8 --- /dev/null +++ b/pdf_report_with_sign/listview_change_background_color/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Ammu Raj (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 . +# +################################################################################ +from . import models diff --git a/pdf_report_with_sign/listview_change_background_color/__manifest__.py b/pdf_report_with_sign/listview_change_background_color/__manifest__.py new file mode 100644 index 000000000..3fc511e1f --- /dev/null +++ b/pdf_report_with_sign/listview_change_background_color/__manifest__.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Ammu Raj (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 . +# +################################################################################ +{ + 'name': 'Listview Change Background Color', + 'version': '15.0.1.0.0', + 'category': 'Extra Tools', + 'summary': """Change background colors of tree/list view""", + 'description': "Change background colors of most priority records in " + "tree/list view very easily And quickly", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['web'], + 'data': [ + 'security/ir.model.access.csv', + ], + 'assets': { + 'web.assets_backend': [ + 'listview_change_background_color/static/src/js/color_picker.js', + ]}, + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/pdf_report_with_sign/listview_change_background_color/doc/RELEASE_NOTES.md b/pdf_report_with_sign/listview_change_background_color/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..332dfde98 --- /dev/null +++ b/pdf_report_with_sign/listview_change_background_color/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 26.09.2023 +#### Version 15.0.1.0.0 +#### ADD +- Initial commit for Listview Change Background Color diff --git a/pdf_report_with_sign/listview_change_background_color/models/__init__.py b/pdf_report_with_sign/listview_change_background_color/models/__init__.py new file mode 100644 index 000000000..efb463e6b --- /dev/null +++ b/pdf_report_with_sign/listview_change_background_color/models/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Ammu Raj (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 . +# +################################################################################ +from . import color_picker diff --git a/pdf_report_with_sign/listview_change_background_color/models/color_picker.py b/pdf_report_with_sign/listview_change_background_color/models/color_picker.py new file mode 100644 index 000000000..0730ab39c --- /dev/null +++ b/pdf_report_with_sign/listview_change_background_color/models/color_picker.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Ammu Raj(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 . +# +################################################################################ +from odoo import api, fields, models + + +class ColorPicker(models.Model): + """We can store the fields on this model temporarily and used to save""" + _name = 'color.picker' + _description = "Color Picker" + + record = fields.Integer(string="Record Id", help='Record id of color') + res_model = fields.Char(string="Model", help='Corresponding model') + color = fields.Char(string="Color", help='Color code') + + @api.model + def get_color_picker_model_and_id(self, **kwargs): + """We can get the all records, models and colors""" + record = self.search([('record', '=', kwargs['record']), + ('res_model', '=', kwargs['model_name'])]) + if record: + record.write({'color': kwargs['record_color']}) + else: + self.create({ + 'record': kwargs['record'], + 'res_model': kwargs['model_name'], + 'color': kwargs['record_color'], + }) diff --git a/pdf_report_with_sign/listview_change_background_color/security/ir.model.access.csv b/pdf_report_with_sign/listview_change_background_color/security/ir.model.access.csv new file mode 100644 index 000000000..d1c03de3b --- /dev/null +++ b/pdf_report_with_sign/listview_change_background_color/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_color_picker_user,access.color.picker.user,model_color_picker,base.group_user,1,1,1,1 diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/check.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/check.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/chevron.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/chevron.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/cogs.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/cogs.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/consultation.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/consultation.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/ecom-black.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/ecom-black.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/education-black.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/education-black.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/hotel-black.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/hotel-black.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/license.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/license.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/lifebuoy.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/lifebuoy.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/manufacturing-black.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/manufacturing-black.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/pos-black.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/pos-black.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/puzzle.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/puzzle.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/restaurant-black.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/restaurant-black.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/service-black.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/service-black.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/trading-black.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/trading-black.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/training.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/training.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/update.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/update.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/user.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/user.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/wrench.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/icons/wrench.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/categories.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/categories.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/check-box.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/check-box.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/compass.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/compass.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/corporate.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/corporate.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/customer-support.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/customer-support.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/cybrosys-logo.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/cybrosys-logo.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/features.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/features.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/logo.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/logo.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/pictures.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/pictures.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/pie-chart.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/pie-chart.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/right-arrow.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/right-arrow.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/star.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/star.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/support.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/support.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/whatsapp.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/misc/whatsapp.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/modules/1.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/modules/1.png new file mode 100644 index 000000000..8177cb06a Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/modules/1.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/modules/2.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/modules/2.png new file mode 100644 index 000000000..f9e4f9035 Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/modules/2.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/modules/3.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/modules/3.png new file mode 100644 index 000000000..3b6a99a25 Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/modules/3.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/modules/4.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/modules/4.png new file mode 100644 index 000000000..7accf4696 Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/modules/4.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/modules/5.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/modules/5.png new file mode 100644 index 000000000..7e5d02c10 Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/modules/5.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/modules/6.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/modules/6.png new file mode 100644 index 000000000..80f9ff96f Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/modules/6.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/screenshots/Color1.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/screenshots/Color1.png new file mode 100644 index 000000000..6fe911618 Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/screenshots/Color1.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/screenshots/Color2.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/screenshots/Color2.png new file mode 100644 index 000000000..39aa814b1 Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/screenshots/Color2.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/screenshots/Color3.png b/pdf_report_with_sign/listview_change_background_color/static/description/assets/screenshots/Color3.png new file mode 100644 index 000000000..29d6c3c4f Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/screenshots/Color3.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/assets/screenshots/hero.gif b/pdf_report_with_sign/listview_change_background_color/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..3bd3f0ef0 Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/assets/screenshots/hero.gif differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/banner.jpg b/pdf_report_with_sign/listview_change_background_color/static/description/banner.jpg new file mode 100644 index 000000000..cbf7d22a3 Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/banner.jpg differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/icon.png b/pdf_report_with_sign/listview_change_background_color/static/description/icon.png new file mode 100644 index 000000000..2216ed8a5 Binary files /dev/null and b/pdf_report_with_sign/listview_change_background_color/static/description/icon.png differ diff --git a/pdf_report_with_sign/listview_change_background_color/static/description/index.html b/pdf_report_with_sign/listview_change_background_color/static/description/index.html new file mode 100644 index 000000000..454461fd5 --- /dev/null +++ b/pdf_report_with_sign/listview_change_background_color/static/description/index.html @@ -0,0 +1,523 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+ +

+ Listview Change Background Color +

+

Change Background + Colors of Most Priority Records in Tree/List View Very Easily and Quickly

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

Explore This + Module

+
+ + + + +
+
+ +
+

Overview +

+
+
+
+ Change the color of important or favorite records from listview / treeview. + Which helps to save your time in search the records manually all the time. No need to worry, now you can review + most priority records very easily and quickly. It is available for any listview / treeview. You can customize + color based upon relevant records and needs. +
+
+ + + +
+
+ +
+

Features +

+
+
+
+
+ + Its available for all modules(tree/list View) +
+
+ + You can change background colors of most priority records very easily and quickly +
+
+ + You can highlight important or favorite records from listview / treeview for any module +
+
+ + It is available for any listview / treeview regardless of pagination limit +
+
+ + You can choose any colors for any listview records +
+
+
+ + +
+
+ +
+

Screenshots +

+
+
+
+
+

Listview Change + Background Color + +

+

Go to Tree View -> + We can see an icon to change color of the tree view -> click on it +

+ +
+
+

->Choose the color

+ +
+
+

->See the colored tree + View

+ +
+
+
+ + +
+
+ +
+

Related + Products +

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

Our Services +

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

Our + Industries +

+
+
+
+
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

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

+ Mobile + friendly, + awe-inspiring product pages

+
+
+
+
+ +
+ Service Management +
+

+ Keep track of + services and invoice

+
+
+
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

+
+
+
+
+ +
+ Hotel Management +
+

+ An + all-inclusive + hotel management application

+
+
+
+
+ + +
+
+ +
+

Support +

+
+
+
+
+
+
+ +
+
+

Need Help?

+

Got questions or need help? Get in touch.

+ +

+ odoo@cybrosys.com

+
+
+
+
+
+
+
+ +
+
+

WhatsApp

+

Say hi to us on WhatsApp!

+ +

+91 86068 + 27707

+
+
+
+
+
+
+
+ +
+
+
+ \ No newline at end of file diff --git a/pdf_report_with_sign/listview_change_background_color/static/src/js/color_picker.js b/pdf_report_with_sign/listview_change_background_color/static/src/js/color_picker.js new file mode 100644 index 000000000..eb4f025ad --- /dev/null +++ b/pdf_report_with_sign/listview_change_background_color/static/src/js/color_picker.js @@ -0,0 +1,100 @@ +odoo.define('listview_change_background_color.colorpicker', function (require) { +"use strict"; + +var ListRenderer = require('web.ListRenderer'); +var dom = require('web.dom'); +var rpc = require('web.rpc'); + +ListRenderer.include({ +events: _.extend({}, ListRenderer.prototype.events, { + 'click .color_picker': 'click_colorpicker', + 'change .color_picker': 'click_colorpicker', +}), +/** + * The _renderView function for calling the get_color() + * @override + */ +_renderView: function () { + var self = this; + return this._super.apply(this, arguments).then(function () { + self.get_color(); + }); + }, +/** + * When click the color label the selected color is passing to + * the color.picker model with current model and res_id + */ +click_colorpicker: function(ev) { + let res_id = ev.target.dataset.id; + ev.stopPropagation(); + var color = ev.target.value + var res_model = this.state.model; + rpc.query({ + model: 'color.picker', + method: 'get_color_picker_model_and_id', + kwargs: { + record: res_id, + model_name: res_model, + record_color: color, + }, + }); + ev.target.parentNode.parentNode.style.backgroundColor = color +}, +/** + * Rendering checkbox having input type color + */ +_renderSelectorColor: function(tag, record) { + dom.renderCheckbox().find("input[type='checkbox']").prop('disabled'); + return $('<' + tag + '>') + .append($('')); +}, +/** + * Override _renderHeader to add color heading. + * @override + */ +_renderHeader: function() { + var $thead = this._super.apply(this, arguments); + if (this.hasSelectors) { + $thead.find('th.o_list_record_selector').after($('', { + class: 'o_list_serial_number_header' + }).html('Color')); + } + return $thead; +}, +/** + * Override _renderRow to add color in dataset. + * @override + */ +_renderRow: function(record) { + const $tr = this._super(...arguments); + if (this.hasSelectors) { + $tr.find('.o_list_record_selector').after(this._renderSelectorColor('td', record)); + } + return $tr; +}, +/** + * The function will search the coloured rows and the color is set to the background color of rows + */ +get_color: function() { + var current_model = this.state.model; + this.$el.find('.o_data_row').ready(() => { + let tr_list = this.$el.find('.o_data_row') + rpc.query({ + model: 'color.picker', + method: 'search_read', + domain: [ + ['res_model', '=', current_model] + ], + }).then(function(data) { + Array.prototype.forEach.call(tr_list, function(tr) { + data.forEach((item) => { + if (tr.firstChild.nextElementSibling.firstChild.dataset.id == item.record) { + tr.style.backgroundColor = item.color + } + }); + }); + }); + }) +}, +}); +}); diff --git a/pdf_report_with_sign/manufacturing_timesheet/README.rst b/pdf_report_with_sign/manufacturing_timesheet/README.rst new file mode 100644 index 000000000..3459902f2 --- /dev/null +++ b/pdf_report_with_sign/manufacturing_timesheet/README.rst @@ -0,0 +1,46 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Manufacturing (MRP) Timesheet +============================= +This module will help you to create timesheet for manufacturing orders according to the work order time tracking. + +Configuration +============= +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +Affero General Public License v3.0 (AGPL v3) +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +Developer : (V15) Mohammed Irfan T ,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 `__ + +Further information +=================== +HTML Description: ``__ diff --git a/pdf_report_with_sign/manufacturing_timesheet/__init__.py b/pdf_report_with_sign/manufacturing_timesheet/__init__.py new file mode 100644 index 000000000..f88dcb87b --- /dev/null +++ b/pdf_report_with_sign/manufacturing_timesheet/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Mohammed Irfan T(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 . +# +############################################################################### +from . import models diff --git a/pdf_report_with_sign/manufacturing_timesheet/__manifest__.py b/pdf_report_with_sign/manufacturing_timesheet/__manifest__.py new file mode 100644 index 000000000..b1e8c00cc --- /dev/null +++ b/pdf_report_with_sign/manufacturing_timesheet/__manifest__.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Mohammed Irfan T(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 . +# +############################################################################### +{ + 'name': 'Manufacturing (MRP) Timesheet', + 'version': '15.0.1.0.0', + 'category': 'Manufacturing,Project', + 'summary': 'This module will help to implementing a timesheet for ' + 'manufacturing orders ', + 'description': """ This module will help you to create timesheet for + manufacturing orders according to the work order time tracking.Separate + Project and tasks will be created for managing manufacturing orders""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['mrp', 'hr_timesheet', 'project'], + 'data': [ + 'views/account_analytic_line_views.xml', + 'views/mrp_production_views.xml', + 'views/project_project_views.xml', + 'views/mrp_workorder_views.xml', + ], + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/pdf_report_with_sign/manufacturing_timesheet/doc/RELEASE_NOTES.md b/pdf_report_with_sign/manufacturing_timesheet/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..6c721c567 --- /dev/null +++ b/pdf_report_with_sign/manufacturing_timesheet/doc/RELEASE_NOTES.md @@ -0,0 +1,5 @@ +## Module +#### 16.10.2023 +#### Version 15.0.1.0.0 +#### ADD +-Initial Commit for Manufacturing (MRP) Timesheet. diff --git a/pdf_report_with_sign/manufacturing_timesheet/models/__init__.py b/pdf_report_with_sign/manufacturing_timesheet/models/__init__.py new file mode 100644 index 000000000..f02b03f74 --- /dev/null +++ b/pdf_report_with_sign/manufacturing_timesheet/models/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Mohammed Irfan T(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 . +# +############################################################################### +from . import account_analytic_line +from . import mrp_workorder +from . import project_project diff --git a/pdf_report_with_sign/manufacturing_timesheet/models/account_analytic_line.py b/pdf_report_with_sign/manufacturing_timesheet/models/account_analytic_line.py new file mode 100644 index 000000000..2e4c220f7 --- /dev/null +++ b/pdf_report_with_sign/manufacturing_timesheet/models/account_analytic_line.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Mohammed Irfan T(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 . +# +############################################################################### +from odoo import fields, models + + +class AccountAnalyticLine(models.Model): + """Inherited model account_analytic_line to add a new field related + to manufacturing timesheet.""" + _inherit = 'account.analytic.line' + + is_manufacturing = fields.Boolean(string='Is Manufacturing', + invisible=True, + help='This boolean will help to ' + 'recognise the timesheet related to' + ' manufacturing.') diff --git a/pdf_report_with_sign/manufacturing_timesheet/models/mrp_workorder.py b/pdf_report_with_sign/manufacturing_timesheet/models/mrp_workorder.py new file mode 100644 index 000000000..0d89f48b3 --- /dev/null +++ b/pdf_report_with_sign/manufacturing_timesheet/models/mrp_workorder.py @@ -0,0 +1,147 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Mohammed Irfan T(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 . +# +############################################################################### +from datetime import datetime +from odoo import fields, models + + +class MrpWorkorder(models.Model): + """Inherited model mrp_workorder to add field and functions related to + manufacturing timesheet. + Methods: + button_start(self): + Supering the function of start button to start the time of + timesheet. + button_pending(self): + Supering the function of pause button to set timesheet in + progress state. + button_finish(self): + Supering the function of done button to calculate total + time in timesheet.""" + _inherit = 'mrp.workorder' + + employee_id = fields.Many2one('hr.employee', string='Employee', + required=True, + help='Employee in work order', store=True) + + def button_start(self): + """ Supering the function of start button to start the timer + of timesheet. + Boolean: Returns true""" + res = super(MrpWorkorder, self).button_start() + project = self.env['project.project'].search( + [('name', '=', ("MO: {}".format(self.production_id.name)))]) + if project: + task_id = project.task_ids.search([('name', '=', ( + "{} in {} for {} on {}".format( + self.name, self.workcenter_id.name, + self.product_id.display_name, + str(self.date_planned_start))))]) + if not task_id: + task_id = self.env['project.task'].create({ + 'name': ("{} in {} for {} on {}".format( + self.name, self.workcenter_id.name, + self.product_id.display_name, str( + self.date_planned_start))), + 'project_id': project.id, + 'date_assign': self.date_planned_start, + 'date_deadline': self.date_planned_finished, + 'planned_hours': self.duration_expected, + }) + self.env['account.analytic.line'].create({ + 'task_id': task_id.id, + 'date': datetime.today(), + 'name': ("{} in {} for {}".format( + self.name, self.workcenter_id.name, + self.product_id.display_name)), + 'employee_id': self.employee_id.id, + 'is_manufacturing': True + }) + else: + project_id = self.env['project.project'].create( + {'name': ("MO: {}".format(self.production_id.name)), + 'is_manufacturing': True}) + task_id = project_id.task_ids.search([('name', '=', ( + "{} in {} for {} on {}".format( + self.name, self.workcenter_id.name, + self.product_id.display_name, + str(self.date_planned_start))))]) + if not task_id: + task_id = self.env['project.task'].create({ + 'name': ("{} in {} for {} on {}".format( + self.name, self.workcenter_id.name, + self.product_id.display_name, str( + self.date_planned_start))), + 'project_id': project_id.id, + 'date_assign': self.date_planned_start, + 'date_deadline': self.date_planned_finished, + 'planned_hours': self.duration_expected, + }) + self.env['account.analytic.line'].create({ + 'task_id': task_id.id, + 'date': datetime.today(), + 'name': ("{} in {} for {}".format( + self.name, self.workcenter_id.name, + self.product_id.display_name)), + 'employee_id': self.employee_id.id, + 'is_manufacturing': True + }) + return res + + def button_pending(self): + """ Supering the function of pause button to set timesheet in + progress state. + Boolean: Returns true""" + res = super(MrpWorkorder, self).button_pending() + project = self.env['project.project'].search( + [('name', '=', ("MO: {}".format(self.production_id.name)))]) + task_id = project.task_ids.search([('name', '=', ( + "{} in {} for {} on {}".format(self.name, self.workcenter_id.name, + self.product_id.display_name, + str(self.date_planned_start))))]) + task_id.write({ + 'planned_hours': self.duration_expected + }) + timesheet = task_id.mapped('timesheet_ids') + [rec.write({ + 'unit_amount': self.duration, + }) for rec in timesheet] + return res + + def button_finish(self): + """ Supering the function of done button to calculate total time in + timesheet. + Boolean: Returns true""" + res = super(MrpWorkorder, self).button_finish() + project = self.env['project.project'].search( + [('name', '=', ("MO: {}".format(self.production_id.name)))]) + task_id = project.task_ids.search([('name', '=', ( + "{} in {} for {} on {}".format(self.name, self.workcenter_id.name, + self.product_id.display_name, + str(self.date_planned_start))))]) + task_id.write({ + 'planned_hours': self.duration_expected + }) + timesheet = task_id.mapped('timesheet_ids') + [rec.write({ + 'unit_amount': self.duration, + }) for rec in timesheet] + return res diff --git a/pdf_report_with_sign/manufacturing_timesheet/models/project_project.py b/pdf_report_with_sign/manufacturing_timesheet/models/project_project.py new file mode 100644 index 000000000..18a68da01 --- /dev/null +++ b/pdf_report_with_sign/manufacturing_timesheet/models/project_project.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Mohammed Irfan T(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 . +# +############################################################################### +from odoo import fields, models + + +class ProjectProject(models.Model): + """Inherited model project_project to add a new field related to + manufacturing timesheet""" + _inherit = 'project.project' + + is_manufacturing = fields.Boolean(string='Is Manufacturing', + help='This boolean will help to ' + 'recognise the projects related to ' + 'manufacturing.') diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/check.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/check.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/chevron.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/chevron.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/cogs.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/cogs.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/consultation.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/consultation.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/ecom-black.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/ecom-black.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/education-black.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/education-black.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/hotel-black.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/hotel-black.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/license.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/license.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/lifebuoy.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/lifebuoy.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/manufacturing-black.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/manufacturing-black.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/pos-black.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/pos-black.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/puzzle.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/puzzle.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/restaurant-black.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/restaurant-black.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/service-black.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/service-black.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/trading-black.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/trading-black.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/training.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/training.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/update.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/update.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/user.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/user.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/wrench.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/icons/wrench.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/categories.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/categories.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/check-box.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/check-box.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/compass.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/compass.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/corporate.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/corporate.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/customer-support.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/customer-support.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/cybrosys-logo.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/cybrosys-logo.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/features.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/features.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/logo.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/logo.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/pictures.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/pictures.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/pie-chart.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/pie-chart.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/right-arrow.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/right-arrow.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/star.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/star.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/support.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/support.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/whatsapp.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/misc/whatsapp.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/modules/cancel_mrp_order.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/modules/cancel_mrp_order.png new file mode 100644 index 000000000..eb7ebcdff Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/modules/cancel_mrp_order.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/modules/manufacturing_report.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/modules/manufacturing_report.png new file mode 100644 index 000000000..bea96ebc8 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/modules/manufacturing_report.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/modules/project_task_timer.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/modules/project_task_timer.png new file mode 100644 index 000000000..8eb268300 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/modules/project_task_timer.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/modules/serial_no_from_mo.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/modules/serial_no_from_mo.png new file mode 100644 index 000000000..25507105a Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/modules/serial_no_from_mo.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/modules/simple_order.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/modules/simple_order.png new file mode 100644 index 000000000..c000dae7a Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/modules/simple_order.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/modules/task_checklist.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/modules/task_checklist.png new file mode 100644 index 000000000..a371728b3 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/modules/task_checklist.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/1.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..f19ba68e9 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/1.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/10.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/10.png new file mode 100644 index 000000000..72eea3f47 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/10.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/11.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/11.png new file mode 100644 index 000000000..a536ce40b Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/11.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/12.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/12.png new file mode 100644 index 000000000..4ccc1da97 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/12.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/2.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..f219e5fcb Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/2.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/3.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..849d64edb Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/3.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/4.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..a82065f86 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/4.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/5.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..8219794f3 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/5.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/6.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..97e9d9067 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/6.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/7.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/7.png new file mode 100644 index 000000000..5cca3eb72 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/7.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/8.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/8.png new file mode 100644 index 000000000..a5bffb53d Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/8.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/9.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/9.png new file mode 100644 index 000000000..a779ec8ec Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/9.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/hero.gif b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..0eefa2599 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/assets/screenshots/hero.gif differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/banner.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/banner.png new file mode 100644 index 000000000..b23e3d477 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/banner.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/icon.png b/pdf_report_with_sign/manufacturing_timesheet/static/description/icon.png new file mode 100644 index 000000000..099d1b808 Binary files /dev/null and b/pdf_report_with_sign/manufacturing_timesheet/static/description/icon.png differ diff --git a/pdf_report_with_sign/manufacturing_timesheet/static/description/index.html b/pdf_report_with_sign/manufacturing_timesheet/static/description/index.html new file mode 100644 index 000000000..2ae5f8c06 --- /dev/null +++ b/pdf_report_with_sign/manufacturing_timesheet/static/description/index.html @@ -0,0 +1,643 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+ +

+ Manufacturing (MRP) Timesheet

+

+ Add Timesheet For Manufacturing.

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

+ Explore This + Module

+
+ + + +
+
+ +
+

+ Overview +

+
+
+
+ This module will help you to create timesheet for manufacturing orders + according to the work order time tracking.Separate Project and tasks + will be created for managing manufacturing orders. +
+
+ + +
+
+ +
+

+ Features +

+
+
+
+
+ + Timesheets for manufacturing. +
+
+ + Can choose employee from work order itself. +
+
+ + Using project and tasks makes it more easy. +
+
+ + A project will be created in the name of Manufacturing Order , and task will be created in the name of work order. The time tracking of the work order will be added as timesheet. +
+
+
+
+
+ + +
+
+ +
+

+ Screenshots +

+
+
+
+
+

+ Enable Work Orders in the configuration settings of + Manufacturing to view work orders tab. +

+ +
+
+

+ If enabled, the Work order tab will be added. And there will be + an option to choose the Employee for the corresponding work + order. +

+ +
+
+

+ If you click on the Start button of work order,a project and + task will be created to the corresponding manufacturing order + and work order. There will a boolean field inside the project + to identify it as manufacturing order. +

+ + + +
+
+

+ Inside the task,you can see the timesheet created in the + name of employee that selected in the work order. +

+ +
+
+

+ If you click on the Pause button of work order, the tracked + time will be added to corresponding timesheet,and it will show + the current progress. +

+ + +
+
+

+ If you click on the Done button of work order, the tracked time + will be added to corresponding timesheet. +

+ + +
+
+

+ There will be separate menu for the Timesheet that related to + the manufacturing orders. +

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

+ Related + Products +

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

+ Our Services +

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

+ Our + Industries +

+
+
+
+
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

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

+ Mobile + friendly, + awe-inspiring product pages

+
+
+
+
+ +
+ Service Management +
+

+ Keep track of + services and invoice

+
+
+
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

+
+
+
+
+ +
+ Hotel Management +
+

+ An + all-inclusive + hotel management application

+
+
+
+
+ + +
+
+ +
+

+ Support +

+
+
+
+
+
+
+ +
+
+

Need Help?

+

Got questions or need help? + Get in touch.

+ +

+ odoo@cybrosys.com

+
+
+
+
+
+
+
+ +
+
+

WhatsApp

+

Say hi to us on WhatsApp!

+ +

+ +91 86068 + 27707

+
+
+
+
+
+
+
+ +
+
+
+ \ No newline at end of file diff --git a/pdf_report_with_sign/manufacturing_timesheet/views/account_analytic_line_views.xml b/pdf_report_with_sign/manufacturing_timesheet/views/account_analytic_line_views.xml new file mode 100644 index 000000000..c44d64d99 --- /dev/null +++ b/pdf_report_with_sign/manufacturing_timesheet/views/account_analytic_line_views.xml @@ -0,0 +1,53 @@ + + + + + account.analytic.line.view.tree.inherit.manufacturing.timesheet + account.analytic.line + + + + + + + + + + account.analytic.line.view.tree.inherit.manufacturing.timesheet + account.analytic.line + + + + + + + + + + Timesheet + ir.actions.act_window + account.analytic.line + tree + {'create': False} + [('is_manufacturing','=',True)] + + +

+ No Timesheet +

+
+
+ + +
diff --git a/pdf_report_with_sign/manufacturing_timesheet/views/mrp_production_views.xml b/pdf_report_with_sign/manufacturing_timesheet/views/mrp_production_views.xml new file mode 100644 index 000000000..35b88f723 --- /dev/null +++ b/pdf_report_with_sign/manufacturing_timesheet/views/mrp_production_views.xml @@ -0,0 +1,78 @@ + + + + + mrp.production.view.form.inherit.manufacturing.timesheet + mrp.production + + + + + + + + + + + + + + + + + + + + + + + + + + + + +