diff --git a/advanced_chatter_view/README.rst b/advanced_chatter_view/README.rst new file mode 100644 index 000000000..d8efba8fd --- /dev/null +++ b/advanced_chatter_view/README.rst @@ -0,0 +1,45 @@ +.. image:: https://img.shields.io/badge/licence-LGPL--3-blue.svg + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 + +Advanced Chatter View +================== +* Advanced Chatter View module for Odoo 16. + +Installation +============ + - www.odoo.com/documentation/16.0/setup/install.html + - Install our custom addon + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.odoo.com/documentation/user/16.0/legal/licenses/licenses.html) + +Company +------- +* 'Cybrosys Techno Solutions '__ + +Credits +------- +* Developer: +(V16) Afra M P @cybrosys + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit https://www.cybrosys.com + +Further information +=================== +HTML Description: ``__ + diff --git a/advanced_chatter_view/__init__.py b/advanced_chatter_view/__init__.py new file mode 100644 index 000000000..2cf984e74 --- /dev/null +++ b/advanced_chatter_view/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Afra MP (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# diff --git a/advanced_chatter_view/__manifest__.py b/advanced_chatter_view/__manifest__.py new file mode 100644 index 000000000..c20a6a67d --- /dev/null +++ b/advanced_chatter_view/__manifest__.py @@ -0,0 +1,49 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Afra MP (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +{ + 'name': 'Advanced Chatter View', + 'version': '16.0.1.0.0', + 'category': 'Productivity/Discuss', + 'summary': """Advanced odoo chatter view.""", + 'description': """This module is used to view advanced chatter.""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['base', 'mail'], + 'assets': { + 'web.assets_backend': [ + "https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css", + 'advanced_chatter_view/static/src/css/chatter_topbar.css', + 'advanced_chatter_view/static/src/js/chatter_container.js', + 'advanced_chatter_view/static/src/xml/chatter_topbar.xml', + 'advanced_chatter_view/static/src/xml/chatter.xml', + 'advanced_chatter_view/static/src/xml/chatter_container.xml' + ], + }, + 'images': [ + 'static/description/banner.png'], + 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/advanced_chatter_view/doc/RELEASE_NOTES.md b/advanced_chatter_view/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..cab262349 --- /dev/null +++ b/advanced_chatter_view/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 15.03.2023 +#### Version 16.0.1.0.0 +#### ADD +- Initial commit for Advanced Chatter View \ No newline at end of file diff --git a/advanced_chatter_view/static/description/assets/icons/check.png b/advanced_chatter_view/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/advanced_chatter_view/static/description/assets/icons/check.png differ diff --git a/advanced_chatter_view/static/description/assets/icons/chevron.png b/advanced_chatter_view/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/advanced_chatter_view/static/description/assets/icons/chevron.png differ diff --git a/advanced_chatter_view/static/description/assets/icons/cogs.png b/advanced_chatter_view/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/advanced_chatter_view/static/description/assets/icons/cogs.png differ diff --git a/advanced_chatter_view/static/description/assets/icons/consultation.png b/advanced_chatter_view/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/advanced_chatter_view/static/description/assets/icons/consultation.png differ diff --git a/advanced_chatter_view/static/description/assets/icons/ecom-black.png b/advanced_chatter_view/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/advanced_chatter_view/static/description/assets/icons/ecom-black.png differ diff --git a/advanced_chatter_view/static/description/assets/icons/education-black.png b/advanced_chatter_view/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/advanced_chatter_view/static/description/assets/icons/education-black.png differ diff --git a/advanced_chatter_view/static/description/assets/icons/hotel-black.png b/advanced_chatter_view/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/advanced_chatter_view/static/description/assets/icons/hotel-black.png differ diff --git a/advanced_chatter_view/static/description/assets/icons/license.png b/advanced_chatter_view/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/advanced_chatter_view/static/description/assets/icons/license.png differ diff --git a/advanced_chatter_view/static/description/assets/icons/lifebuoy.png b/advanced_chatter_view/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/advanced_chatter_view/static/description/assets/icons/lifebuoy.png differ diff --git a/advanced_chatter_view/static/description/assets/icons/manufacturing-black.png b/advanced_chatter_view/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/advanced_chatter_view/static/description/assets/icons/manufacturing-black.png differ diff --git a/advanced_chatter_view/static/description/assets/icons/pos-black.png b/advanced_chatter_view/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/advanced_chatter_view/static/description/assets/icons/pos-black.png differ diff --git a/advanced_chatter_view/static/description/assets/icons/puzzle.png b/advanced_chatter_view/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/advanced_chatter_view/static/description/assets/icons/puzzle.png differ diff --git a/advanced_chatter_view/static/description/assets/icons/restaurant-black.png b/advanced_chatter_view/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/advanced_chatter_view/static/description/assets/icons/restaurant-black.png differ diff --git a/advanced_chatter_view/static/description/assets/icons/service-black.png b/advanced_chatter_view/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/advanced_chatter_view/static/description/assets/icons/service-black.png differ diff --git a/advanced_chatter_view/static/description/assets/icons/trading-black.png b/advanced_chatter_view/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/advanced_chatter_view/static/description/assets/icons/trading-black.png differ diff --git a/advanced_chatter_view/static/description/assets/icons/training.png b/advanced_chatter_view/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/advanced_chatter_view/static/description/assets/icons/training.png differ diff --git a/advanced_chatter_view/static/description/assets/icons/update.png b/advanced_chatter_view/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/advanced_chatter_view/static/description/assets/icons/update.png differ diff --git a/advanced_chatter_view/static/description/assets/icons/user.png b/advanced_chatter_view/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/advanced_chatter_view/static/description/assets/icons/user.png differ diff --git a/advanced_chatter_view/static/description/assets/icons/wrench.png b/advanced_chatter_view/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/advanced_chatter_view/static/description/assets/icons/wrench.png differ diff --git a/advanced_chatter_view/static/description/assets/misc/categories.png b/advanced_chatter_view/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/advanced_chatter_view/static/description/assets/misc/categories.png differ diff --git a/advanced_chatter_view/static/description/assets/misc/check-box.png b/advanced_chatter_view/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/advanced_chatter_view/static/description/assets/misc/check-box.png differ diff --git a/advanced_chatter_view/static/description/assets/misc/compass.png b/advanced_chatter_view/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/advanced_chatter_view/static/description/assets/misc/compass.png differ diff --git a/advanced_chatter_view/static/description/assets/misc/corporate.png b/advanced_chatter_view/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/advanced_chatter_view/static/description/assets/misc/corporate.png differ diff --git a/advanced_chatter_view/static/description/assets/misc/customer-support.png b/advanced_chatter_view/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/advanced_chatter_view/static/description/assets/misc/customer-support.png differ diff --git a/advanced_chatter_view/static/description/assets/misc/cybrosys-logo.png b/advanced_chatter_view/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/advanced_chatter_view/static/description/assets/misc/cybrosys-logo.png differ diff --git a/advanced_chatter_view/static/description/assets/misc/features.png b/advanced_chatter_view/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/advanced_chatter_view/static/description/assets/misc/features.png differ diff --git a/advanced_chatter_view/static/description/assets/misc/logo.png b/advanced_chatter_view/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/advanced_chatter_view/static/description/assets/misc/logo.png differ diff --git a/advanced_chatter_view/static/description/assets/misc/pictures.png b/advanced_chatter_view/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/advanced_chatter_view/static/description/assets/misc/pictures.png differ diff --git a/advanced_chatter_view/static/description/assets/misc/pie-chart.png b/advanced_chatter_view/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/advanced_chatter_view/static/description/assets/misc/pie-chart.png differ diff --git a/advanced_chatter_view/static/description/assets/misc/right-arrow.png b/advanced_chatter_view/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/advanced_chatter_view/static/description/assets/misc/right-arrow.png differ diff --git a/advanced_chatter_view/static/description/assets/misc/star.png b/advanced_chatter_view/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/advanced_chatter_view/static/description/assets/misc/star.png differ diff --git a/advanced_chatter_view/static/description/assets/misc/support.png b/advanced_chatter_view/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/advanced_chatter_view/static/description/assets/misc/support.png differ diff --git a/advanced_chatter_view/static/description/assets/misc/whatsapp.png b/advanced_chatter_view/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/advanced_chatter_view/static/description/assets/misc/whatsapp.png differ diff --git a/advanced_chatter_view/static/description/assets/modules/1.png b/advanced_chatter_view/static/description/assets/modules/1.png new file mode 100644 index 000000000..3415917c2 Binary files /dev/null and b/advanced_chatter_view/static/description/assets/modules/1.png differ diff --git a/advanced_chatter_view/static/description/assets/modules/2.png b/advanced_chatter_view/static/description/assets/modules/2.png new file mode 100644 index 000000000..31ed46762 Binary files /dev/null and b/advanced_chatter_view/static/description/assets/modules/2.png differ diff --git a/advanced_chatter_view/static/description/assets/modules/3.png b/advanced_chatter_view/static/description/assets/modules/3.png new file mode 100644 index 000000000..25ed3e0b6 Binary files /dev/null and b/advanced_chatter_view/static/description/assets/modules/3.png differ diff --git a/advanced_chatter_view/static/description/assets/modules/4.png b/advanced_chatter_view/static/description/assets/modules/4.png new file mode 100644 index 000000000..359d3e4d6 Binary files /dev/null and b/advanced_chatter_view/static/description/assets/modules/4.png differ diff --git a/advanced_chatter_view/static/description/assets/modules/5.png b/advanced_chatter_view/static/description/assets/modules/5.png new file mode 100644 index 000000000..3add135c3 Binary files /dev/null and b/advanced_chatter_view/static/description/assets/modules/5.png differ diff --git a/advanced_chatter_view/static/description/assets/modules/6.png b/advanced_chatter_view/static/description/assets/modules/6.png new file mode 100644 index 000000000..be454ea44 Binary files /dev/null and b/advanced_chatter_view/static/description/assets/modules/6.png differ diff --git a/advanced_chatter_view/static/description/assets/screenshots/1.png b/advanced_chatter_view/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..8ccd6d60d Binary files /dev/null and b/advanced_chatter_view/static/description/assets/screenshots/1.png differ diff --git a/advanced_chatter_view/static/description/assets/screenshots/2.png b/advanced_chatter_view/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..24dfddab0 Binary files /dev/null and b/advanced_chatter_view/static/description/assets/screenshots/2.png differ diff --git a/advanced_chatter_view/static/description/assets/screenshots/3.png b/advanced_chatter_view/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..e9588aa8a Binary files /dev/null and b/advanced_chatter_view/static/description/assets/screenshots/3.png differ diff --git a/advanced_chatter_view/static/description/assets/screenshots/4.png b/advanced_chatter_view/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..7264d5bba Binary files /dev/null and b/advanced_chatter_view/static/description/assets/screenshots/4.png differ diff --git a/advanced_chatter_view/static/description/assets/screenshots/hero.gif b/advanced_chatter_view/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..82046cee2 Binary files /dev/null and b/advanced_chatter_view/static/description/assets/screenshots/hero.gif differ diff --git a/advanced_chatter_view/static/description/banner.png b/advanced_chatter_view/static/description/banner.png new file mode 100644 index 000000000..9de1176ad Binary files /dev/null and b/advanced_chatter_view/static/description/banner.png differ diff --git a/advanced_chatter_view/static/description/icon.png b/advanced_chatter_view/static/description/icon.png new file mode 100644 index 000000000..e4b58ec39 Binary files /dev/null and b/advanced_chatter_view/static/description/icon.png differ diff --git a/advanced_chatter_view/static/description/index.html b/advanced_chatter_view/static/description/index.html new file mode 100644 index 000000000..1320c3b5c --- /dev/null +++ b/advanced_chatter_view/static/description/index.html @@ -0,0 +1,537 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+ +

+ Advanced Chatter View

+

Detailed Advanced Chatter View.

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

Explore This + Module

+
+ + + + +
+
+ +
+

Overview +

+
+
+
+ Advanced Chatter View module is easy to use and manage the chatter and also show and hide chatter. +
+
+ + + +
+
+ +
+

Features +

+
+
+
+
+ + Show and Hide Chatter. +
+
+ + Easy to Use and Manage. +
+
+ + + Available in Odoo 16.0 Community and Enterprise. +
+
+
+ + + +
+
+ +
+

Screenshots +

+
+ +
+
+ +
+

Advanced Chatter View. +

+ + +
+ +
+

+ Send Message in Chatter. +

+ + +
+ +
+

+ Log Note in Chatter. +

+ +
+
+

+ Activities in Chatter. +

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

Related Modules

+

Explore our related modules

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

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/advanced_chatter_view/static/src/css/chatter_topbar.css b/advanced_chatter_view/static/src/css/chatter_topbar.css new file mode 100644 index 000000000..460c7ad79 --- /dev/null +++ b/advanced_chatter_view/static/src/css/chatter_topbar.css @@ -0,0 +1,51 @@ +.icon{ + background-color: #F8F8F8; + border-radius: 50%; + width: 55px; + height: 55px; + font-size: 22px; + border-color: #F8F8F8; +} + +.o_FormRenderer_chatterContainer.o-aside { + display: contents; +} + +.o_ChatterContainer{ + display: grid; + padding-bottom: 555px; + margin-bottom: -81px; + margin-top: 70px; +} + +.hide { + display: none; +} + +.icon:hover + .hide { + display: block; +} +.o_form_editable { + flex-direction: row!important; +} + +@media(max-width:768px){ + .o_form_editable { + flex-direction: column!important; + } + .o_FormRenderer_chatterContainer:not(.o-aside):not(.o-full-width) .o_ChatterContainer { + display: flex; + margin-top: 22px; + padding-bottom: initial; + } + .icon { + margin-left: 48px; + width: 457px; + } + .hide { + display: flex; + margin-top: 62px; + margin-left: -53px; + } + +} diff --git a/advanced_chatter_view/static/src/js/chatter_container.js b/advanced_chatter_view/static/src/js/chatter_container.js new file mode 100644 index 000000000..c1211dafb --- /dev/null +++ b/advanced_chatter_view/static/src/js/chatter_container.js @@ -0,0 +1,53 @@ +/** @odoo-module **/ +//patch the class ChatterContainer to added the click function +import { patch } from "@web/core/utils/patch"; +import { ChatterContainer } from "@mail/components/chatter_container/chatter_container"; +const { useRef } = owl; +patch(ChatterContainer.prototype, '@mail/components/chatter_container/chatter_container,ord-patch', { + + setup() { + this._super(); + this.root = useRef("root") + }, + _onClickSendMessage(ev) {// Click function of SendMessage button + this.root.el.querySelector('#chatter_message').classList.remove("d-none"); + this.root.el.querySelector('.view').classList.remove("d-none"); + this.root.el.querySelector('.cross').classList.remove("d-none"); + this.root.el.querySelector('.o_ChatterTopbar_rightSection').classList.remove("d-none"); + this.root.el.querySelector('#send_message').classList.add("d-none"); + this.root.el.querySelector('#log_note').classList.add("d-none"); + this.root.el.querySelector('#active').classList.add("d-none"); + }, + _onClickLogNote(ev) {//Click function for LogNote button + this.root.el.querySelector('#chatter_note').classList.remove("d-none"); + this.root.el.querySelector('.view').classList.remove("d-none"); + this.root.el.querySelector('.cross').classList.remove("d-none"); + this.root.el.querySelector('.o_ChatterTopbar_rightSection').classList.remove("d-none"); + this.root.el.querySelector('#send_message').classList.add("d-none"); + this.root.el.querySelector('#log_note').classList.add("d-none"); + this.root.el.querySelector('#active').classList.add("d-none"); + }, + _onClickActive(ev) {//Click function for Active button + this.root.el.querySelector('#chatter_activity').classList.remove("d-none"); + this.root.el.querySelector('.view').classList.remove("d-none"); + this.root.el.querySelector('.cross').classList.remove("d-none"); + this.root.el.querySelector('.o_ChatterTopbar_rightSection').classList.remove("d-none"); + this.root.el.querySelector('#send_message').classList.add("d-none"); + this.root.el.querySelector('#log_note').classList.add("d-none"); + this.root.el.querySelector('#active').classList.add("d-none"); + }, + _onClickCross(ev) {//Click function to close chatter + this.root.el.querySelector('#chatter_activity').classList.add("d-none"); + this.root.el.querySelector('#chatter_note').classList.add("d-none"); + this.root.el.querySelector('#chatter_message').classList.add("d-none"); + this.root.el.querySelector('.view').classList.add("d-none"); + this.root.el.querySelector('.o_ChatterTopbar_rightSection').classList.add("d-none"); + this.root.el.querySelector('.cross').classList.add("d-none"); + this.root.el.querySelector('#send_message').classList.remove("d-none"); + this.root.el.querySelector('#log_note').classList.remove("d-none"); + this.root.el.querySelector('#active').classList.remove("d-none"); + if(this.root.el.querySelector('.chat')){ + this.root.el.querySelector('.chat').classList.add("d-none"); + } + }, +}); \ No newline at end of file diff --git a/advanced_chatter_view/static/src/xml/chatter.xml b/advanced_chatter_view/static/src/xml/chatter.xml new file mode 100644 index 000000000..f105b2632 --- /dev/null +++ b/advanced_chatter_view/static/src/xml/chatter.xml @@ -0,0 +1,60 @@ + + + + + +
+ + + +
+ + +
+ +
+
+
+
+
+ + + + + + + + + +
+ +
+
+
+
+
\ No newline at end of file diff --git a/advanced_chatter_view/static/src/xml/chatter_container.xml b/advanced_chatter_view/static/src/xml/chatter_container.xml new file mode 100644 index 000000000..12a6b0a3d --- /dev/null +++ b/advanced_chatter_view/static/src/xml/chatter_container.xml @@ -0,0 +1,39 @@ + + + + + +
+
+
+
+
\ No newline at end of file diff --git a/advanced_chatter_view/static/src/xml/chatter_topbar.xml b/advanced_chatter_view/static/src/xml/chatter_topbar.xml new file mode 100644 index 000000000..7a4e91c2e --- /dev/null +++ b/advanced_chatter_view/static/src/xml/chatter_topbar.xml @@ -0,0 +1,78 @@ + + + + + +
+
+ + + + + +
+
+ + + + + + + + +
+ +
+
+
+
\ No newline at end of file