diff --git a/odoo_screen_recording/README.rst b/odoo_screen_recording/README.rst new file mode 100644 index 000000000..c9e0d97c1 --- /dev/null +++ b/odoo_screen_recording/README.rst @@ -0,0 +1,45 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +Odoo Screen Recording +================================================ +* Odoo Screen Recording to record and store your screen time. + +Installation +============ + - www.odoo.com/documentation/16.0/setup/install.html + - Install our custom addons + +License +------- +General Public License, Version 3 (AGPL v3). +(https://www.odoo.com/documentation/16.0/legal/licenses.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developer:(V16) Megha AP + +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 https://www.cybrosys.com + +Further information +=================== +HTML Description: ``__ \ No newline at end of file diff --git a/odoo_screen_recording/__init__.py b/odoo_screen_recording/__init__.py new file mode 100644 index 000000000..e083b5998 --- /dev/null +++ b/odoo_screen_recording/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Megha AP (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/odoo_screen_recording/__manifest__.py b/odoo_screen_recording/__manifest__.py new file mode 100644 index 000000000..b74fdd27a --- /dev/null +++ b/odoo_screen_recording/__manifest__.py @@ -0,0 +1,54 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Megha A P (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': "Odoo Screen Recording", + 'version': '16.0.1.0.0', + 'category': "Extra Tools", + 'summary': """Record your screen any time and store it for further use + in odoo""", + 'description': 'Screen recording in Odoo helps to record multiple screen ' + 'at a time to store or monitor the screen activities', + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'images': [ + 'static/description/banner.jpg' + ], + 'depends': ['base'], + 'data': [ + 'security/ir.model.access.csv', + 'views/video_store_views.xml' + ], + 'assets': { + 'web.assets_backend': [ + '/odoo_screen_recording/static/src/js/button_systray.js', + '/odoo_screen_recording/static/src/xml/button_systray.xml', + '/odoo_screen_recording/static/src/js/video_preview_widget.js', + '/odoo_screen_recording/static/src/xml/video_preview_widget.xml', + ] + }, + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/odoo_screen_recording/doc/RELEASE_NOTES.md b/odoo_screen_recording/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..3fe00f99d --- /dev/null +++ b/odoo_screen_recording/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 28.06.2023 +#### Version 16.0.1.0.0 +#### ADD +- Initial commit for Odoo Screen Recording \ No newline at end of file diff --git a/odoo_screen_recording/models/__init__.py b/odoo_screen_recording/models/__init__.py new file mode 100644 index 000000000..e6778243a --- /dev/null +++ b/odoo_screen_recording/models/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Megha AP (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 video_store diff --git a/odoo_screen_recording/models/video_store.py b/odoo_screen_recording/models/video_store.py new file mode 100644 index 000000000..62d5eb51b --- /dev/null +++ b/odoo_screen_recording/models/video_store.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Megha AP (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 VideoStore(models.Model): + """In this model you can store recoded data as a record and view it + later""" + _name = 'video.store' + _description = 'Screen record video storage' + _rec_name = 'date' + + date = fields.Datetime(string='Date', default=fields.Datetime.now, + help="Date of screen capture") + description = fields.Char(string='Description', + help='Add description for recording') + video = fields.Char(string='Screen Record', + help="Recorded videos can be view here") + + @api.model + def video_record(self, url): + """function used to create a record when the screen record is + stopped""" + self.create({'description': '', 'video': url}) + return True diff --git a/odoo_screen_recording/security/ir.model.access.csv b/odoo_screen_recording/security/ir.model.access.csv new file mode 100644 index 000000000..c1505aeaa --- /dev/null +++ b/odoo_screen_recording/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_model_video_store,video.store,model_video_store,base.group_user,1,1,1,1 diff --git a/odoo_screen_recording/static/description/assets/icons/check.png b/odoo_screen_recording/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/odoo_screen_recording/static/description/assets/icons/check.png differ diff --git a/odoo_screen_recording/static/description/assets/icons/chevron.png b/odoo_screen_recording/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/odoo_screen_recording/static/description/assets/icons/chevron.png differ diff --git a/odoo_screen_recording/static/description/assets/icons/cogs.png b/odoo_screen_recording/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/odoo_screen_recording/static/description/assets/icons/cogs.png differ diff --git a/odoo_screen_recording/static/description/assets/icons/consultation.png b/odoo_screen_recording/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/odoo_screen_recording/static/description/assets/icons/consultation.png differ diff --git a/odoo_screen_recording/static/description/assets/icons/ecom-black.png b/odoo_screen_recording/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/odoo_screen_recording/static/description/assets/icons/ecom-black.png differ diff --git a/odoo_screen_recording/static/description/assets/icons/education-black.png b/odoo_screen_recording/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/odoo_screen_recording/static/description/assets/icons/education-black.png differ diff --git a/odoo_screen_recording/static/description/assets/icons/hotel-black.png b/odoo_screen_recording/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/odoo_screen_recording/static/description/assets/icons/hotel-black.png differ diff --git a/odoo_screen_recording/static/description/assets/icons/license.png b/odoo_screen_recording/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/odoo_screen_recording/static/description/assets/icons/license.png differ diff --git a/odoo_screen_recording/static/description/assets/icons/lifebuoy.png b/odoo_screen_recording/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/odoo_screen_recording/static/description/assets/icons/lifebuoy.png differ diff --git a/odoo_screen_recording/static/description/assets/icons/manufacturing-black.png b/odoo_screen_recording/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/odoo_screen_recording/static/description/assets/icons/manufacturing-black.png differ diff --git a/odoo_screen_recording/static/description/assets/icons/pos-black.png b/odoo_screen_recording/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/odoo_screen_recording/static/description/assets/icons/pos-black.png differ diff --git a/odoo_screen_recording/static/description/assets/icons/puzzle.png b/odoo_screen_recording/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/odoo_screen_recording/static/description/assets/icons/puzzle.png differ diff --git a/odoo_screen_recording/static/description/assets/icons/restaurant-black.png b/odoo_screen_recording/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/odoo_screen_recording/static/description/assets/icons/restaurant-black.png differ diff --git a/odoo_screen_recording/static/description/assets/icons/service-black.png b/odoo_screen_recording/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/odoo_screen_recording/static/description/assets/icons/service-black.png differ diff --git a/odoo_screen_recording/static/description/assets/icons/trading-black.png b/odoo_screen_recording/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/odoo_screen_recording/static/description/assets/icons/trading-black.png differ diff --git a/odoo_screen_recording/static/description/assets/icons/training.png b/odoo_screen_recording/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/odoo_screen_recording/static/description/assets/icons/training.png differ diff --git a/odoo_screen_recording/static/description/assets/icons/update.png b/odoo_screen_recording/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/odoo_screen_recording/static/description/assets/icons/update.png differ diff --git a/odoo_screen_recording/static/description/assets/icons/user.png b/odoo_screen_recording/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/odoo_screen_recording/static/description/assets/icons/user.png differ diff --git a/odoo_screen_recording/static/description/assets/icons/wrench.png b/odoo_screen_recording/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/odoo_screen_recording/static/description/assets/icons/wrench.png differ diff --git a/odoo_screen_recording/static/description/assets/misc/categories.png b/odoo_screen_recording/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/odoo_screen_recording/static/description/assets/misc/categories.png differ diff --git a/odoo_screen_recording/static/description/assets/misc/check-box.png b/odoo_screen_recording/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/odoo_screen_recording/static/description/assets/misc/check-box.png differ diff --git a/odoo_screen_recording/static/description/assets/misc/compass.png b/odoo_screen_recording/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/odoo_screen_recording/static/description/assets/misc/compass.png differ diff --git a/odoo_screen_recording/static/description/assets/misc/corporate.png b/odoo_screen_recording/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/odoo_screen_recording/static/description/assets/misc/corporate.png differ diff --git a/odoo_screen_recording/static/description/assets/misc/customer-support.png b/odoo_screen_recording/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/odoo_screen_recording/static/description/assets/misc/customer-support.png differ diff --git a/odoo_screen_recording/static/description/assets/misc/cybrosys-logo.png b/odoo_screen_recording/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/odoo_screen_recording/static/description/assets/misc/cybrosys-logo.png differ diff --git a/odoo_screen_recording/static/description/assets/misc/features.png b/odoo_screen_recording/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/odoo_screen_recording/static/description/assets/misc/features.png differ diff --git a/odoo_screen_recording/static/description/assets/misc/logo.png b/odoo_screen_recording/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/odoo_screen_recording/static/description/assets/misc/logo.png differ diff --git a/odoo_screen_recording/static/description/assets/misc/pictures.png b/odoo_screen_recording/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/odoo_screen_recording/static/description/assets/misc/pictures.png differ diff --git a/odoo_screen_recording/static/description/assets/misc/pie-chart.png b/odoo_screen_recording/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/odoo_screen_recording/static/description/assets/misc/pie-chart.png differ diff --git a/odoo_screen_recording/static/description/assets/misc/right-arrow.png b/odoo_screen_recording/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/odoo_screen_recording/static/description/assets/misc/right-arrow.png differ diff --git a/odoo_screen_recording/static/description/assets/misc/star.png b/odoo_screen_recording/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/odoo_screen_recording/static/description/assets/misc/star.png differ diff --git a/odoo_screen_recording/static/description/assets/misc/support.png b/odoo_screen_recording/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/odoo_screen_recording/static/description/assets/misc/support.png differ diff --git a/odoo_screen_recording/static/description/assets/misc/whatsapp.png b/odoo_screen_recording/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/odoo_screen_recording/static/description/assets/misc/whatsapp.png differ diff --git a/odoo_screen_recording/static/description/assets/modules/1.png b/odoo_screen_recording/static/description/assets/modules/1.png new file mode 100644 index 000000000..5238bdeab Binary files /dev/null and b/odoo_screen_recording/static/description/assets/modules/1.png differ diff --git a/odoo_screen_recording/static/description/assets/modules/2.png b/odoo_screen_recording/static/description/assets/modules/2.png new file mode 100644 index 000000000..1ae7cfe3b Binary files /dev/null and b/odoo_screen_recording/static/description/assets/modules/2.png differ diff --git a/odoo_screen_recording/static/description/assets/modules/3.png b/odoo_screen_recording/static/description/assets/modules/3.png new file mode 100644 index 000000000..3c3ff1afb Binary files /dev/null and b/odoo_screen_recording/static/description/assets/modules/3.png differ diff --git a/odoo_screen_recording/static/description/assets/modules/4.png b/odoo_screen_recording/static/description/assets/modules/4.png new file mode 100644 index 000000000..3fae4631e Binary files /dev/null and b/odoo_screen_recording/static/description/assets/modules/4.png differ diff --git a/odoo_screen_recording/static/description/assets/modules/5.gif b/odoo_screen_recording/static/description/assets/modules/5.gif new file mode 100644 index 000000000..2a5f8e659 Binary files /dev/null and b/odoo_screen_recording/static/description/assets/modules/5.gif differ diff --git a/odoo_screen_recording/static/description/assets/modules/6.png b/odoo_screen_recording/static/description/assets/modules/6.png new file mode 100644 index 000000000..7f2815273 Binary files /dev/null and b/odoo_screen_recording/static/description/assets/modules/6.png differ diff --git a/odoo_screen_recording/static/description/assets/screenshots/01.png b/odoo_screen_recording/static/description/assets/screenshots/01.png new file mode 100644 index 000000000..35ea3895e Binary files /dev/null and b/odoo_screen_recording/static/description/assets/screenshots/01.png differ diff --git a/odoo_screen_recording/static/description/assets/screenshots/02.png b/odoo_screen_recording/static/description/assets/screenshots/02.png new file mode 100644 index 000000000..1fa40f063 Binary files /dev/null and b/odoo_screen_recording/static/description/assets/screenshots/02.png differ diff --git a/odoo_screen_recording/static/description/assets/screenshots/03.png b/odoo_screen_recording/static/description/assets/screenshots/03.png new file mode 100644 index 000000000..3a92e6b18 Binary files /dev/null and b/odoo_screen_recording/static/description/assets/screenshots/03.png differ diff --git a/odoo_screen_recording/static/description/assets/screenshots/04.png b/odoo_screen_recording/static/description/assets/screenshots/04.png new file mode 100644 index 000000000..6ac6d9fe9 Binary files /dev/null and b/odoo_screen_recording/static/description/assets/screenshots/04.png differ diff --git a/odoo_screen_recording/static/description/assets/screenshots/05.png b/odoo_screen_recording/static/description/assets/screenshots/05.png new file mode 100644 index 000000000..c5b6f356a Binary files /dev/null and b/odoo_screen_recording/static/description/assets/screenshots/05.png differ diff --git a/odoo_screen_recording/static/description/assets/screenshots/06.png b/odoo_screen_recording/static/description/assets/screenshots/06.png new file mode 100644 index 000000000..fee2f4ba9 Binary files /dev/null and b/odoo_screen_recording/static/description/assets/screenshots/06.png differ diff --git a/odoo_screen_recording/static/description/assets/screenshots/07.png b/odoo_screen_recording/static/description/assets/screenshots/07.png new file mode 100644 index 000000000..e5202229f Binary files /dev/null and b/odoo_screen_recording/static/description/assets/screenshots/07.png differ diff --git a/odoo_screen_recording/static/description/assets/screenshots/v16-hero.gif b/odoo_screen_recording/static/description/assets/screenshots/v16-hero.gif new file mode 100644 index 000000000..9f78312eb Binary files /dev/null and b/odoo_screen_recording/static/description/assets/screenshots/v16-hero.gif differ diff --git a/odoo_screen_recording/static/description/banner.jpg b/odoo_screen_recording/static/description/banner.jpg new file mode 100644 index 000000000..69f1c55d5 Binary files /dev/null and b/odoo_screen_recording/static/description/banner.jpg differ diff --git a/odoo_screen_recording/static/description/icon.png b/odoo_screen_recording/static/description/icon.png new file mode 100644 index 000000000..c98fd40e4 Binary files /dev/null and b/odoo_screen_recording/static/description/icon.png differ diff --git a/odoo_screen_recording/static/description/index.html b/odoo_screen_recording/static/description/index.html new file mode 100644 index 000000000..46ce7465b --- /dev/null +++ b/odoo_screen_recording/static/description/index.html @@ -0,0 +1,583 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+
+ +
+
+
+ +

+ Odoo Screen Recording

+

+ Record your screen with odoo and store it for future

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

Explore This + Module

+
+ + + + +
+
+ +
+

Overview +

+
+
+
+ This application allows to record your screen and store and view recorded video. +
+
+ + + +
+
+ +
+

Features +

+
+
+
+
+ + Enterprise & Community Support. +
+
+ + + Allows to record your entire screen, window or chrome tabs +
+
+ + + Can record multiple screens at a time +
+
+ + + Can store the recordings in odoo + +
+
+ + + Able to view and play recorded video in odoo itself +
+
+
+ + + +
+
+ +
+

Screenshots +

+
+
+
+ +
+

+ You can see a white camera icon for record your screen +

+ +
+ +
+

+ After clicking camera icon there is a popup showing options for share your screen, here you can see option to select tabs

+ +
+ +
+

+ Here you can see options to choose corresponding window

+ +
+ +
+

+ you can choose entire screen also. By clicking share button you can start recording. +

+ +
+
+

+ You can view the white camera icon changes to green when its started recording, you can stop recording by clicking stop sharing, +

+ +
+
+

+ In "Screen Capture" module you can view all the recorded videos, +

+ +
+
+

+ You can see the corresponding date, time and video in the form view. You can also add description if needed.Also, you can play the video too, +

+ +
+
+

+ You can record multiple screens at a time using this app, that is while recording entire screen you can record a single tab or single window according to your need by clicking camera icon. +

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

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/odoo_screen_recording/static/src/js/button_systray.js b/odoo_screen_recording/static/src/js/button_systray.js new file mode 100644 index 000000000..5f6287ce3 --- /dev/null +++ b/odoo_screen_recording/static/src/js/button_systray.js @@ -0,0 +1,58 @@ +/** @odoo-module **/ +import SystrayMenu from 'web.SystrayMenu'; +import Widget from 'web.Widget'; +import rpc from 'web.rpc'; +//Used to capture screen when button click according to selected screen + +var ExampleWidget = Widget.extend({ + template: 'ScreenCaptureSystray', + events: { + 'click #capture_screen': '_onClick', + }, + async _onClick(){ + try { + let stream = await navigator.mediaDevices.getDisplayMedia({ + video: true + }) + let icon = document.querySelector(".record"); + icon.style.color = '#28a745'; + const mime = MediaRecorder.isTypeSupported("video/webm; codecs=vp9") + ? "video/webm; codecs=vp9" + : "video/webm" + let mediaRecorder = new MediaRecorder(stream, { + mimeType: mime + }) + let chunks = [] + mediaRecorder.addEventListener('dataavailable', function(e) { + chunks.push(e.data) + }) + mediaRecorder.addEventListener('stop', function(){ + let icon = document.querySelector(".record"); + icon.style.color = 'white'; + let blob = new Blob(chunks, { + type: chunks[0].type + }) + const blobToBase64 = blob => { + const reader = new FileReader(); + reader.readAsDataURL(blob); + return new Promise(resolve => { + reader.onloadend = () => { + resolve(reader.result); + }; + }); + }; + blobToBase64(blob).then(res => { + // res is base64 now + rpc.query({ + model: 'video.store', + method: 'video_record', + args: [res], + }).then(function(response){}); + }); + }) + mediaRecorder.start() + } catch(e){} + } +}); +SystrayMenu.Items.push(ExampleWidget); +export default ExampleWidget; \ No newline at end of file diff --git a/odoo_screen_recording/static/src/js/video_preview_widget.js b/odoo_screen_recording/static/src/js/video_preview_widget.js new file mode 100644 index 000000000..03dcb1064 --- /dev/null +++ b/odoo_screen_recording/static/src/js/video_preview_widget.js @@ -0,0 +1,16 @@ +/** @odoo-module **/ +import {registry} from "@web/core/registry"; +//Used to add widget to view the recorded video in the form view +const {Component, useRef, onMounted} = owl; + +export class VideoWidget extends Component { + static template = 'VideoWidget' + setup() { + onMounted(this.mount); + super.setup(); + } + mount() { + $('source').attr('src', this.props.value); + } +} +registry.category("fields").add("videoWidget", VideoWidget); \ No newline at end of file diff --git a/odoo_screen_recording/static/src/xml/button_systray.xml b/odoo_screen_recording/static/src/xml/button_systray.xml new file mode 100644 index 000000000..0790a50ea --- /dev/null +++ b/odoo_screen_recording/static/src/xml/button_systray.xml @@ -0,0 +1,16 @@ + + + + +
+
+
+ +
+
+
+
+
\ No newline at end of file diff --git a/odoo_screen_recording/static/src/xml/video_preview_widget.xml b/odoo_screen_recording/static/src/xml/video_preview_widget.xml new file mode 100644 index 000000000..f7ae01b76 --- /dev/null +++ b/odoo_screen_recording/static/src/xml/video_preview_widget.xml @@ -0,0 +1,11 @@ + + + + +
+ +
+
+
\ No newline at end of file diff --git a/odoo_screen_recording/views/video_store_views.xml b/odoo_screen_recording/views/video_store_views.xml new file mode 100644 index 000000000..91d2574b5 --- /dev/null +++ b/odoo_screen_recording/views/video_store_views.xml @@ -0,0 +1,45 @@ + + + + + video.store.view.tree + video.store + + + + + + + + + video.store.view.form + video.store + +
+ + + + + + + + + + + +
+
+
+ + Screen Capture + video.store + tree,kanban,form + +

+ Record your screen +

+
+
+ +
\ No newline at end of file