diff --git a/advanced_many2many_tags/README.rst b/advanced_many2many_tags/README.rst new file mode 100755 index 000000000..54ce87ca4 --- /dev/null +++ b/advanced_many2many_tags/README.rst @@ -0,0 +1,46 @@ +.. 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 + +Advanced Many2Many Tags +======================== +This module copy the text and open the form view of many2many tags in Odoo. + +Configuration +============= +*No Additional configuration is needed. + +License +------- +General Public License, Version 3 (AGPL-3). +(https://www.odoo.com/documentation/user/16.0/legal/licenses/licenses.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +Developer: Swetha Anand @cybrosys, 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/advanced_many2many_tags/__init__.py b/advanced_many2many_tags/__init__.py new file mode 100644 index 000000000..e063a185d --- /dev/null +++ b/advanced_many2many_tags/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Swetha Anand (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 . +# +############################################################################### diff --git a/advanced_many2many_tags/__manifest__.py b/advanced_many2many_tags/__manifest__.py new file mode 100644 index 000000000..ac63ef4ed --- /dev/null +++ b/advanced_many2many_tags/__manifest__.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Swetha Anand (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': 'Advanced Many2Many Tags', + 'version': '16.0.1.0.0', + 'category': 'Extra Tools', + 'summary': 'Copy the text and open the form view of many2many tags.', + 'description': """Copy text of Many2many tags.So we can paste it anywhere + as needed.Also open the form view of these Many2many fields.""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'images': ['static/description/banner.jpg'], + 'depends': ['base', 'web'], + 'assets': { + 'web.assets_backend': [ + 'advanced_many2many_tags/static/src/js/many2many_tags_field.js', + ] + }, + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/advanced_many2many_tags/doc/RELEASE_NOTES.md b/advanced_many2many_tags/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..60d9065c4 --- /dev/null +++ b/advanced_many2many_tags/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 18.04.2023 +#### Version 16.0.1.0.0 +#### ADD + +- Initial commit for Advanced Many2Many Tags diff --git a/advanced_many2many_tags/static/description/assets/icons/check.png b/advanced_many2many_tags/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/icons/check.png differ diff --git a/advanced_many2many_tags/static/description/assets/icons/chevron.png b/advanced_many2many_tags/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/icons/chevron.png differ diff --git a/advanced_many2many_tags/static/description/assets/icons/cogs.png b/advanced_many2many_tags/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/icons/cogs.png differ diff --git a/advanced_many2many_tags/static/description/assets/icons/consultation.png b/advanced_many2many_tags/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/icons/consultation.png differ diff --git a/advanced_many2many_tags/static/description/assets/icons/ecom-black.png b/advanced_many2many_tags/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/icons/ecom-black.png differ diff --git a/advanced_many2many_tags/static/description/assets/icons/education-black.png b/advanced_many2many_tags/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/icons/education-black.png differ diff --git a/advanced_many2many_tags/static/description/assets/icons/hotel-black.png b/advanced_many2many_tags/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/icons/hotel-black.png differ diff --git a/advanced_many2many_tags/static/description/assets/icons/license.png b/advanced_many2many_tags/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/icons/license.png differ diff --git a/advanced_many2many_tags/static/description/assets/icons/lifebuoy.png b/advanced_many2many_tags/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/icons/lifebuoy.png differ diff --git a/advanced_many2many_tags/static/description/assets/icons/manufacturing-black.png b/advanced_many2many_tags/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/icons/manufacturing-black.png differ diff --git a/advanced_many2many_tags/static/description/assets/icons/pos-black.png b/advanced_many2many_tags/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/icons/pos-black.png differ diff --git a/advanced_many2many_tags/static/description/assets/icons/puzzle.png b/advanced_many2many_tags/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/icons/puzzle.png differ diff --git a/advanced_many2many_tags/static/description/assets/icons/restaurant-black.png b/advanced_many2many_tags/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/icons/restaurant-black.png differ diff --git a/advanced_many2many_tags/static/description/assets/icons/service-black.png b/advanced_many2many_tags/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/icons/service-black.png differ diff --git a/advanced_many2many_tags/static/description/assets/icons/trading-black.png b/advanced_many2many_tags/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/icons/trading-black.png differ diff --git a/advanced_many2many_tags/static/description/assets/icons/training.png b/advanced_many2many_tags/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/icons/training.png differ diff --git a/advanced_many2many_tags/static/description/assets/icons/update.png b/advanced_many2many_tags/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/icons/update.png differ diff --git a/advanced_many2many_tags/static/description/assets/icons/user.png b/advanced_many2many_tags/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/icons/user.png differ diff --git a/advanced_many2many_tags/static/description/assets/icons/wrench.png b/advanced_many2many_tags/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/icons/wrench.png differ diff --git a/advanced_many2many_tags/static/description/assets/misc/categories.png b/advanced_many2many_tags/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/misc/categories.png differ diff --git a/advanced_many2many_tags/static/description/assets/misc/check-box.png b/advanced_many2many_tags/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/misc/check-box.png differ diff --git a/advanced_many2many_tags/static/description/assets/misc/compass.png b/advanced_many2many_tags/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/misc/compass.png differ diff --git a/advanced_many2many_tags/static/description/assets/misc/corporate.png b/advanced_many2many_tags/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/misc/corporate.png differ diff --git a/advanced_many2many_tags/static/description/assets/misc/customer-support.png b/advanced_many2many_tags/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/misc/customer-support.png differ diff --git a/advanced_many2many_tags/static/description/assets/misc/cybrosys-logo.png b/advanced_many2many_tags/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/misc/cybrosys-logo.png differ diff --git a/advanced_many2many_tags/static/description/assets/misc/features.png b/advanced_many2many_tags/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/misc/features.png differ diff --git a/advanced_many2many_tags/static/description/assets/misc/logo.png b/advanced_many2many_tags/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/misc/logo.png differ diff --git a/advanced_many2many_tags/static/description/assets/misc/pictures.png b/advanced_many2many_tags/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/misc/pictures.png differ diff --git a/advanced_many2many_tags/static/description/assets/misc/pie-chart.png b/advanced_many2many_tags/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/misc/pie-chart.png differ diff --git a/advanced_many2many_tags/static/description/assets/misc/right-arrow.png b/advanced_many2many_tags/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/misc/right-arrow.png differ diff --git a/advanced_many2many_tags/static/description/assets/misc/star.png b/advanced_many2many_tags/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/misc/star.png differ diff --git a/advanced_many2many_tags/static/description/assets/misc/support.png b/advanced_many2many_tags/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/misc/support.png differ diff --git a/advanced_many2many_tags/static/description/assets/misc/whatsapp.png b/advanced_many2many_tags/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/misc/whatsapp.png differ diff --git a/advanced_many2many_tags/static/description/assets/modules/1.gif b/advanced_many2many_tags/static/description/assets/modules/1.gif new file mode 100644 index 000000000..db040e0de Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/modules/1.gif differ diff --git a/advanced_many2many_tags/static/description/assets/modules/2.png b/advanced_many2many_tags/static/description/assets/modules/2.png new file mode 100644 index 000000000..3415917c2 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/modules/2.png differ diff --git a/advanced_many2many_tags/static/description/assets/modules/3.png b/advanced_many2many_tags/static/description/assets/modules/3.png new file mode 100644 index 000000000..a29119785 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/modules/3.png differ diff --git a/advanced_many2many_tags/static/description/assets/modules/4.png b/advanced_many2many_tags/static/description/assets/modules/4.png new file mode 100644 index 000000000..b55ddc812 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/modules/4.png differ diff --git a/advanced_many2many_tags/static/description/assets/modules/5.png b/advanced_many2many_tags/static/description/assets/modules/5.png new file mode 100644 index 000000000..25ed3e0b6 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/modules/5.png differ diff --git a/advanced_many2many_tags/static/description/assets/modules/6.png b/advanced_many2many_tags/static/description/assets/modules/6.png new file mode 100644 index 000000000..15b141248 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/modules/6.png differ diff --git a/advanced_many2many_tags/static/description/assets/screenshots/adv_01.png b/advanced_many2many_tags/static/description/assets/screenshots/adv_01.png new file mode 100644 index 000000000..97ecefec0 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/screenshots/adv_01.png differ diff --git a/advanced_many2many_tags/static/description/assets/screenshots/adv_02.png b/advanced_many2many_tags/static/description/assets/screenshots/adv_02.png new file mode 100644 index 000000000..94c01adc9 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/screenshots/adv_02.png differ diff --git a/advanced_many2many_tags/static/description/assets/screenshots/adv_03.png b/advanced_many2many_tags/static/description/assets/screenshots/adv_03.png new file mode 100644 index 000000000..1dbbb2912 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/screenshots/adv_03.png differ diff --git a/advanced_many2many_tags/static/description/assets/screenshots/adv_04.png b/advanced_many2many_tags/static/description/assets/screenshots/adv_04.png new file mode 100644 index 000000000..63d749162 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/screenshots/adv_04.png differ diff --git a/advanced_many2many_tags/static/description/assets/screenshots/adv_05.png b/advanced_many2many_tags/static/description/assets/screenshots/adv_05.png new file mode 100644 index 000000000..4e7774867 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/screenshots/adv_05.png differ diff --git a/advanced_many2many_tags/static/description/assets/screenshots/hero.gif b/advanced_many2many_tags/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..1efd9c435 Binary files /dev/null and b/advanced_many2many_tags/static/description/assets/screenshots/hero.gif differ diff --git a/advanced_many2many_tags/static/description/banner.jpg b/advanced_many2many_tags/static/description/banner.jpg new file mode 100644 index 000000000..3a137625e Binary files /dev/null and b/advanced_many2many_tags/static/description/banner.jpg differ diff --git a/advanced_many2many_tags/static/description/icon.png b/advanced_many2many_tags/static/description/icon.png new file mode 100644 index 000000000..0463e94b0 Binary files /dev/null and b/advanced_many2many_tags/static/description/icon.png differ diff --git a/advanced_many2many_tags/static/description/index.html b/advanced_many2many_tags/static/description/index.html new file mode 100644 index 000000000..e34694fe3 --- /dev/null +++ b/advanced_many2many_tags/static/description/index.html @@ -0,0 +1,548 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+ +

+ Advanced Many2many Tags

+

Copy the text and open the form view of many2many tags.

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

Explore This + Module

+
+ + + + +
+
+ +
+

Overview +

+
+
+
+ This App will help to copy the text of many2many fields on click and we can paste it any where needed. + it also allows to open the form view of the many2many field on clicking them. + +
+
+ + + +
+
+ +
+

Features +

+
+
+
+ + Can copy the text of many2many fields. +
+
+ + Can open the form view of many2many fields. +
+
+ + + + +
+
+ +
+

Screenshots +

+
+
+
+
+

Many2many fields. +

+

Click in many2many fields.

+ +
+ +
+

Copy. +

+

Click on copy text on the wizard to copy text of the field .

+ +
+ +
+

Copied.

+

Can paste the copied text anywhere as needed.

+ +
+ +
+

Open Form.

+

Click on open form view on the wizard to open form view of the field .

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

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

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

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/advanced_many2many_tags/static/src/js/many2many_tags_field.js b/advanced_many2many_tags/static/src/js/many2many_tags_field.js new file mode 100644 index 000000000..672060963 --- /dev/null +++ b/advanced_many2many_tags/static/src/js/many2many_tags_field.js @@ -0,0 +1,65 @@ +/** @odoo-module **/ +import { _t } from 'web.core'; +import { useService } from "@web/core/utils/hooks"; +import { Many2ManyTagsFieldColorEditable } from "@web/views/fields/many2many_tags/many2many_tags_field"; +import { patch } from "@web/core/utils/patch"; +const Dialog = require('web.Dialog'); + +patch(Many2ManyTagsFieldColorEditable.prototype, '/advanced_many2many_tags/static/src/js/many2many_tags_field.js', { + /*Here Many2ManyTagsFieldColorEditable is patched to over ride onBadgeClick()*/ + setup() { + this._super.apply(this, arguments); + this.notification = useService("notification"); + this.action = useService("action"); + }, + onBadgeClick(ev, record) { + /*This function is override to open a dialog box on click of + many2many field and the value is copied if copy button is clicked . + If open form view is clicked then form view of the field is opened.*/ + var copytext = ev.target.innerText; + var buttons = [ + { + text: _t("Ok"), + classes: 'btn-primary', + close: true, + }, + ]; + new Dialog(self, { + size: 'medium', + buttons: [ + { + text: _t("Copy Text"), classes: 'btn-primary', close: true, + click: () => { + navigator.clipboard.writeText(copytext); + this.notification.add( + this.env._t("Copied the text: " + copytext), + { + title: this.env._t("Success"), + type: "success", + }, + ); + }, + }, + { + text: _t("Open Form View"), classes: 'btn-primary', close: true, + click: () => { + this.action.doAction({ + type: 'ir.actions.act_window', + res_model: this.props.relation, + res_id: record.data.id, + views: [[false, 'form']], + target: 'current', + }); + }, + }, + { + text: _t("Cancel"), close: true + }, + ], + $content: $('
', { + text: _t(" If you want to copy text click 'Copy Text'. If you want to open form view click 'Open Form View'. "), + }), + }).open(); + return this._super.apply(this, arguments); + } +}) \ No newline at end of file