diff --git a/developer_mode/README.rst b/developer_mode/README.rst new file mode 100644 index 000000000..e73a255ab --- /dev/null +++ b/developer_mode/README.rst @@ -0,0 +1,21 @@ +================================ + Automatic Developer Mode v15 +================================ + +Odoo Developers, Keep smiling for the below reasons: + + * Automatically Trigger Developer Mode. + * Separate Group for 'Odoo Developers'. + * Upgrade Modules Easily. + * Recently Upgraded Filter. + +Credits +------- +* `Nilmar Shereef < odoo@cybsosys.com >` +* `Saritha < odoo@cybsosys.com >` + + +Further information +=================== +HTML Description: ``__ + diff --git a/developer_mode/__init__.py b/developer_mode/__init__.py new file mode 100644 index 000000000..7b06ec255 --- /dev/null +++ b/developer_mode/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +################################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies (). +# Author: Cybrosys Techno Solutions () +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################### + +from . import controllers diff --git a/developer_mode/__manifest__.py b/developer_mode/__manifest__.py new file mode 100644 index 000000000..d88e3563b --- /dev/null +++ b/developer_mode/__manifest__.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +################################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies (). +# Author: Cybrosys Techno Solutions () +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################### + +{ + 'name': "Automatic Developer Mode", + 'summary': """Automatically Activate Developer Mode""", + 'description': """Automatically Activate Developer Mode""", + 'version': '15.0.1.0.0', + 'author': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'category': 'Extra Tools', + 'depends': ['base', 'web', 'base_setup'], + 'data': [ + 'security/security_data.xml', + 'views/developer_mode_view.xml', + ], + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, +} diff --git a/developer_mode/controllers/__init__.py b/developer_mode/controllers/__init__.py new file mode 100644 index 000000000..55f364efd --- /dev/null +++ b/developer_mode/controllers/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +################################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies (). +# Author: Cybrosys Techno Solutions () +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################### + +from . import main diff --git a/developer_mode/controllers/main.py b/developer_mode/controllers/main.py new file mode 100644 index 000000000..57f7e178f --- /dev/null +++ b/developer_mode/controllers/main.py @@ -0,0 +1,50 @@ +# -*- coding: utf-8 -*- +################################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies (). +# Author: Cybrosys Techno Solutions () +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################### + +import odoo +from odoo import http, _ +from odoo.http import request +from odoo.addons.web.controllers.main import Home, ensure_db + + +class AutoDeveloperMode(Home): + + def _login_redirect(self, uid, redirect=None): + if redirect: + return redirect + else: + odoo_technician = request.env.user.has_group('developer_mode.odoo_developer_group') + if odoo_technician: + return '/web?debug=1' + else: + return '/web' + + + + + + + + + + diff --git a/developer_mode/doc/RELEASE_NOTES.md b/developer_mode/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..3b1c25efb --- /dev/null +++ b/developer_mode/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 22.09.2021 +#### Version 15.0.1.0.0 +#### ADD +- Initial Commit diff --git a/developer_mode/security/security_data.xml b/developer_mode/security/security_data.xml new file mode 100644 index 000000000..ee75040a7 --- /dev/null +++ b/developer_mode/security/security_data.xml @@ -0,0 +1,12 @@ + + + + + + Odoo Developer + + + + + + diff --git a/developer_mode/static/description/assets/icons/check.png b/developer_mode/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/developer_mode/static/description/assets/icons/check.png differ diff --git a/developer_mode/static/description/assets/icons/chevron.png b/developer_mode/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/developer_mode/static/description/assets/icons/chevron.png differ diff --git a/developer_mode/static/description/assets/icons/cogs.png b/developer_mode/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/developer_mode/static/description/assets/icons/cogs.png differ diff --git a/developer_mode/static/description/assets/icons/consultation.png b/developer_mode/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/developer_mode/static/description/assets/icons/consultation.png differ diff --git a/developer_mode/static/description/assets/icons/ecom-black.png b/developer_mode/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/developer_mode/static/description/assets/icons/ecom-black.png differ diff --git a/developer_mode/static/description/assets/icons/education-black.png b/developer_mode/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/developer_mode/static/description/assets/icons/education-black.png differ diff --git a/developer_mode/static/description/assets/icons/hotel-black.png b/developer_mode/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/developer_mode/static/description/assets/icons/hotel-black.png differ diff --git a/developer_mode/static/description/assets/icons/license.png b/developer_mode/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/developer_mode/static/description/assets/icons/license.png differ diff --git a/developer_mode/static/description/assets/icons/lifebuoy.png b/developer_mode/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/developer_mode/static/description/assets/icons/lifebuoy.png differ diff --git a/developer_mode/static/description/assets/icons/logo.png b/developer_mode/static/description/assets/icons/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/developer_mode/static/description/assets/icons/logo.png differ diff --git a/developer_mode/static/description/assets/icons/manufacturing-black.png b/developer_mode/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/developer_mode/static/description/assets/icons/manufacturing-black.png differ diff --git a/developer_mode/static/description/assets/icons/pos-black.png b/developer_mode/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/developer_mode/static/description/assets/icons/pos-black.png differ diff --git a/developer_mode/static/description/assets/icons/puzzle.png b/developer_mode/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/developer_mode/static/description/assets/icons/puzzle.png differ diff --git a/developer_mode/static/description/assets/icons/restaurant-black.png b/developer_mode/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/developer_mode/static/description/assets/icons/restaurant-black.png differ diff --git a/developer_mode/static/description/assets/icons/service-black.png b/developer_mode/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/developer_mode/static/description/assets/icons/service-black.png differ diff --git a/developer_mode/static/description/assets/icons/trading-black.png b/developer_mode/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/developer_mode/static/description/assets/icons/trading-black.png differ diff --git a/developer_mode/static/description/assets/icons/training.png b/developer_mode/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/developer_mode/static/description/assets/icons/training.png differ diff --git a/developer_mode/static/description/assets/icons/update.png b/developer_mode/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/developer_mode/static/description/assets/icons/update.png differ diff --git a/developer_mode/static/description/assets/icons/user.png b/developer_mode/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/developer_mode/static/description/assets/icons/user.png differ diff --git a/developer_mode/static/description/assets/icons/wrench.png b/developer_mode/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/developer_mode/static/description/assets/icons/wrench.png differ diff --git a/developer_mode/static/description/assets/modules/approval_image.png b/developer_mode/static/description/assets/modules/approval_image.png new file mode 100644 index 000000000..84fe94e80 Binary files /dev/null and b/developer_mode/static/description/assets/modules/approval_image.png differ diff --git a/developer_mode/static/description/assets/modules/budget_image.png b/developer_mode/static/description/assets/modules/budget_image.png new file mode 100644 index 000000000..fe6aa6fe4 Binary files /dev/null and b/developer_mode/static/description/assets/modules/budget_image.png differ diff --git a/developer_mode/static/description/assets/modules/export_image.png b/developer_mode/static/description/assets/modules/export_image.png new file mode 100644 index 000000000..4e4ea0e51 Binary files /dev/null and b/developer_mode/static/description/assets/modules/export_image.png differ diff --git a/developer_mode/static/description/assets/modules/magento_image.png b/developer_mode/static/description/assets/modules/magento_image.png new file mode 100644 index 000000000..39de0820f Binary files /dev/null and b/developer_mode/static/description/assets/modules/magento_image.png differ diff --git a/developer_mode/static/description/assets/modules/pos_image.png b/developer_mode/static/description/assets/modules/pos_image.png new file mode 100644 index 000000000..c5932894b Binary files /dev/null and b/developer_mode/static/description/assets/modules/pos_image.png differ diff --git a/developer_mode/static/description/assets/modules/shopify_image.png b/developer_mode/static/description/assets/modules/shopify_image.png new file mode 100644 index 000000000..c6d92c16d Binary files /dev/null and b/developer_mode/static/description/assets/modules/shopify_image.png differ diff --git a/developer_mode/static/description/assets/screenshots/hero.png b/developer_mode/static/description/assets/screenshots/hero.png new file mode 100644 index 000000000..6199282b8 Binary files /dev/null and b/developer_mode/static/description/assets/screenshots/hero.png differ diff --git a/developer_mode/static/description/assets/screenshots/screenshot1.png b/developer_mode/static/description/assets/screenshots/screenshot1.png new file mode 100644 index 000000000..9fd9da1ba Binary files /dev/null and b/developer_mode/static/description/assets/screenshots/screenshot1.png differ diff --git a/developer_mode/static/description/assets/screenshots/screenshot2.png b/developer_mode/static/description/assets/screenshots/screenshot2.png new file mode 100644 index 000000000..350a2421f Binary files /dev/null and b/developer_mode/static/description/assets/screenshots/screenshot2.png differ diff --git a/developer_mode/static/description/assets/screenshots/screenshot3.png b/developer_mode/static/description/assets/screenshots/screenshot3.png new file mode 100644 index 000000000..3e9aa8325 Binary files /dev/null and b/developer_mode/static/description/assets/screenshots/screenshot3.png differ diff --git a/developer_mode/static/description/banner.png b/developer_mode/static/description/banner.png new file mode 100644 index 000000000..903a921af Binary files /dev/null and b/developer_mode/static/description/banner.png differ diff --git a/developer_mode/static/description/cybro_logo.png b/developer_mode/static/description/cybro_logo.png new file mode 100644 index 000000000..bb309114c Binary files /dev/null and b/developer_mode/static/description/cybro_logo.png differ diff --git a/developer_mode/static/description/icon.png b/developer_mode/static/description/icon.png new file mode 100644 index 000000000..9a72f8643 Binary files /dev/null and b/developer_mode/static/description/icon.png differ diff --git a/developer_mode/static/description/index.html b/developer_mode/static/description/index.html new file mode 100644 index 000000000..d344c4a36 --- /dev/null +++ b/developer_mode/static/description/index.html @@ -0,0 +1,604 @@ +
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+ +
+
+
+
+ +
+
+
+

+ Automatic Developer Mode

+

+ Developers, Keep up your smile! +

+ +
+
+ + + + +
+
+

+ Overview +

+
+ +
+

+ This module makes you free from activating developer mode operations repeatedly.When you login, It will + trigger the DEVELOPER MODE automatically.It also helps in identification of running DB and make + upgradation of modules easier.

+ +
+
+ +
+
+

+ Configuration +

+
+ +
+

+ You have to enable 'Odoo Developer' group for respective users (Except Admin)in settings & you have to + re-login after the module installation.

+ +
+
+ + +
+
+

+ Features +

+
+ +
+
+ +
+
+

+ Automatically Trigger Developer Mode

+ +
+
+
+
+ +
+
+

+ Separate Group for 'Odoo Developers'

+ +
+
+ +
+
+ +
+
+

+ Upgrade Modules Easily

+ +
+
+ + +
+ +
+
+

+ Screenshots +

+
+
+

+ Enable Odoo Developer

+

+ Enable as odoo developer,Goto users > Select user > Enable Odoo developer

+ +
+ +
+

+ Automate Developer Mode

+

+ As shown here, Simply automate the developer mode. It helps developer in several perspective. +

+ +
+ +
+

+ Easy Upgrade Modules

+

+ Easily upgrade any module without going the module form. +

+ +
+ + +
+ + +
+
+

Suggested Products

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

Our Services

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

Our Industries

+
+
+ +
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+ +
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+ +
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+ +
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

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

+ Mobile + friendly, + awe-inspiring product pages

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

+ Keep track of + services and invoice

+
+
+ +
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

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

+ An + all-inclusive + hotel management application

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

Need Help?

+
+
+
+ + +
+ +
+ +
+ +
+ WhatsApp +
+
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ + +
\ No newline at end of file diff --git a/developer_mode/views/developer_mode_view.xml b/developer_mode/views/developer_mode_view.xml new file mode 100644 index 000000000..0e814b2af --- /dev/null +++ b/developer_mode/views/developer_mode_view.xml @@ -0,0 +1,20 @@ + + + + + + Modules Kanban + + ir.module.module + + + + + + + + + + +