diff --git a/monday_odoo_connector/README.rst b/monday_odoo_connector/README.rst new file mode 100755 index 000000000..cede59b10 --- /dev/null +++ b/monday_odoo_connector/README.rst @@ -0,0 +1,52 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Monday.com Odoo Connector +========================= +This module helps to import data from Monday.com to Odoo. + +Configuration +============= +* First you need to create Monday.com token. +1) Go to https://demos-team-team.monday.com/ and login to your account +2) Click on your profile picture at the right corner. +3) Click on Developers +4) Under My access token tab, you can see the Monday token + +License +------- +General Public License, Version 3 (AGPL v3). +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developer: (V17) Kailas Krishna, + (V16) Unnimaya C O, + 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/monday_odoo_connector/__init__.py b/monday_odoo_connector/__init__.py new file mode 100755 index 000000000..6239b8fbf --- /dev/null +++ b/monday_odoo_connector/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions() +# +# 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 +from . import wizard diff --git a/monday_odoo_connector/__manifest__.py b/monday_odoo_connector/__manifest__.py new file mode 100755 index 000000000..697dce0f4 --- /dev/null +++ b/monday_odoo_connector/__manifest__.py @@ -0,0 +1,52 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions() +# +# 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': "Monday.com Odoo Connector", + 'version': '17.0.1.0.0', + 'category': 'Productivity', + 'summary': """Provides opportunity to connect with your Monday.com + account from Odoo""", + 'description': """Monday.com Odoo connector module allows to connect with + your Monday.com account and import Users, Boards, Groups, Items and + Customers from Monday.com to Odoo""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['contacts'], + 'data': [ + 'security/ir.model.access.csv', + 'wizard/monday_connector_views.xml', + 'views/monday_credential_views.xml', + 'views/monday_board_views.xml', + 'views/monday_group_views.xml', + 'views/monday_item_views.xml', + 'views/res_partner_views.xml', + 'views/res_users_views.xml', + 'views/item_column_value_views.xml' + ], + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': True, +} diff --git a/monday_odoo_connector/doc/RELEASE_NOTES.md b/monday_odoo_connector/doc/RELEASE_NOTES.md new file mode 100755 index 000000000..b2a218673 --- /dev/null +++ b/monday_odoo_connector/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 13.02.2024 +#### Version 17.0.1.0.0 +#### ADD + +- Initial commit for Monday.com Odoo Connector diff --git a/monday_odoo_connector/models/__init__.py b/monday_odoo_connector/models/__init__.py new file mode 100755 index 000000000..fe0659cfa --- /dev/null +++ b/monday_odoo_connector/models/__init__.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions() +# +# 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 item_column_value +from . import monday_board +from . import monday_credential +from . import monday_group +from . import monday_item +from . import res_partner +from . import res_users diff --git a/monday_odoo_connector/models/item_column_value.py b/monday_odoo_connector/models/item_column_value.py new file mode 100755 index 000000000..573fd123d --- /dev/null +++ b/monday_odoo_connector/models/item_column_value.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import fields, models + + +class ItemColumnValue(models.Model): + """Class for storing Column Values of items received from Monday.com""" + _name = "item.column.value" + _description = "Monday Item Column Values" + _rec_name = "title" + + item_id = fields.Many2one('monday.item', string="Item", + help="It is the item of the group", readonly=True) + title = fields.Char(string="Title", help="Indicates title of the item", + readonly=True) + text = fields.Char(string="Text", help="Indicated text on the item", + readonly=True) diff --git a/monday_odoo_connector/models/monday_board.py b/monday_odoo_connector/models/monday_board.py new file mode 100755 index 000000000..029eec088 --- /dev/null +++ b/monday_odoo_connector/models/monday_board.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import fields, models + + +class MondayBoard(models.Model): + """Class for storing Boards received from Monday.com""" + _name = "monday.board" + _description = "Monday Boards" + + name = fields.Char(string="Board", help="It is the name of the board") + board_reference = fields.Char(string="Board ID", + help="It is the reference number of the " + "board") + owner = fields.Char(string="Owner", help="It is the owner of the board") + description = fields.Char(string="Description", + help="It is the detailed description of the " + "board") + group_ids = fields.One2many('monday.group', + 'board_id', string="Group", + help="It indicates the Groups of Board") + item_ids = fields.One2many('monday.item', + 'board_id', string="Item", + help="It indicates the item of board") diff --git a/monday_odoo_connector/models/monday_credential.py b/monday_odoo_connector/models/monday_credential.py new file mode 100755 index 000000000..dc91a2bc8 --- /dev/null +++ b/monday_odoo_connector/models/monday_credential.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import fields, models + + +class MondayCredential(models.Model): + """Class containing Monday Credentials which is used to connect + with Monday.com""" + _name = "monday.credential" + _description = "Monday Credentials" + + name = fields.Char(string="Name", help="Account name") + token = fields.Char(string="Token", + help="Token for connecting with Monday.com") diff --git a/monday_odoo_connector/models/monday_group.py b/monday_odoo_connector/models/monday_group.py new file mode 100755 index 000000000..b08f5dcd4 --- /dev/null +++ b/monday_odoo_connector/models/monday_group.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import fields, models + + +class MondayGroup(models.Model): + """Class for storing Groups received from Monday.com""" + _name = "monday.group" + _description = "Monday Groups" + + name = fields.Char(string="Name", help="It is the name of the group", + readonly=True) + group = fields.Char(string='Group ID', help="It is the id of the group", + readonly=True) + board_id = fields.Many2one('monday.board', string="Board", + help="It is the id of the board", readonly=True) diff --git a/monday_odoo_connector/models/monday_item.py b/monday_odoo_connector/models/monday_item.py new file mode 100755 index 000000000..ca63de487 --- /dev/null +++ b/monday_odoo_connector/models/monday_item.py @@ -0,0 +1,39 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import fields, models + + +class MondayItem(models.Model): + """Class for storing Items received from Monday.com""" + _name = "monday.item" + _description = "Monday Item" + + board_id = fields.Many2one('monday.board', string="Board", + help="This indicates the board") + group_id = fields.Many2one('monday.group', string="Group", + help="This indicates the group") + name = fields.Char(string="Item", help="ID of the item", readonly=True) + column_value_ids = fields.One2many('item.column.value', + 'item_id', + string="Column Value", + help="It is the Column Value of the " + "item") diff --git a/monday_odoo_connector/models/res_partner.py b/monday_odoo_connector/models/res_partner.py new file mode 100755 index 000000000..960784949 --- /dev/null +++ b/monday_odoo_connector/models/res_partner.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import fields, models + + +class ResPartner(models.Model): + """Inherited to add Monday fields which helps to identify the partners + imported from Monday.com""" + _inherit = 'res.partner' + + monday_reference = fields.Boolean(string='Is Monday Contact', + help="True for contacts from Monday") diff --git a/monday_odoo_connector/models/res_users.py b/monday_odoo_connector/models/res_users.py new file mode 100755 index 000000000..93889b825 --- /dev/null +++ b/monday_odoo_connector/models/res_users.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import fields, models + + +class ResUsers(models.Model): + """Inherited to add Monday.com fields which is used to identify the users + inherited from Monday.com""" + _inherit = 'res.users' + + monday_reference = fields.Char(string='Monday ID', + help="It is the Monday id of the user") diff --git a/monday_odoo_connector/security/ir.model.access.csv b/monday_odoo_connector/security/ir.model.access.csv new file mode 100755 index 000000000..2dea94259 --- /dev/null +++ b/monday_odoo_connector/security/ir.model.access.csv @@ -0,0 +1,7 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_monday_credential_user,access.monday.credential.user,model_monday_credential,base.group_user,1,1,1,1 +access_monday_board_user,access.monday.board.user,model_monday_board,base.group_user,1,1,1,1 +access_monday_connector_user,access.monday.connector.user,model_monday_connector,base.group_user,1,1,1,1 +access_monday_group_user,access.monday.group.user,model_monday_group,base.group_user,1,1,1,1 +access_monday_item_user,access.monday.item.user,model_monday_item,base.group_user,1,1,1,1 +access_item_column_value_user,access.item.column.value.user,model_item_column_value,base.group_user,1,1,1,1 diff --git a/monday_odoo_connector/static/description/assets/icons/capture (1).png b/monday_odoo_connector/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/monday_odoo_connector/static/description/assets/icons/capture (1).png differ diff --git a/monday_odoo_connector/static/description/assets/icons/check.png b/monday_odoo_connector/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/monday_odoo_connector/static/description/assets/icons/check.png differ diff --git a/monday_odoo_connector/static/description/assets/icons/chevron.png b/monday_odoo_connector/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/monday_odoo_connector/static/description/assets/icons/chevron.png differ diff --git a/monday_odoo_connector/static/description/assets/icons/cogs.png b/monday_odoo_connector/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/monday_odoo_connector/static/description/assets/icons/cogs.png differ diff --git a/monday_odoo_connector/static/description/assets/icons/consultation.png b/monday_odoo_connector/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/monday_odoo_connector/static/description/assets/icons/consultation.png differ diff --git a/monday_odoo_connector/static/description/assets/icons/ecom-black.png b/monday_odoo_connector/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/monday_odoo_connector/static/description/assets/icons/ecom-black.png differ diff --git a/monday_odoo_connector/static/description/assets/icons/education-black.png b/monday_odoo_connector/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/monday_odoo_connector/static/description/assets/icons/education-black.png differ diff --git a/monday_odoo_connector/static/description/assets/icons/hotel-black.png b/monday_odoo_connector/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/monday_odoo_connector/static/description/assets/icons/hotel-black.png differ diff --git a/monday_odoo_connector/static/description/assets/icons/img.png b/monday_odoo_connector/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/monday_odoo_connector/static/description/assets/icons/img.png differ diff --git a/monday_odoo_connector/static/description/assets/icons/license.png b/monday_odoo_connector/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/monday_odoo_connector/static/description/assets/icons/license.png differ diff --git a/monday_odoo_connector/static/description/assets/icons/lifebuoy.png b/monday_odoo_connector/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/monday_odoo_connector/static/description/assets/icons/lifebuoy.png differ diff --git a/monday_odoo_connector/static/description/assets/icons/manufacturing-black.png b/monday_odoo_connector/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/monday_odoo_connector/static/description/assets/icons/manufacturing-black.png differ diff --git a/monday_odoo_connector/static/description/assets/icons/photo-capture.png b/monday_odoo_connector/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/monday_odoo_connector/static/description/assets/icons/photo-capture.png differ diff --git a/monday_odoo_connector/static/description/assets/icons/pos-black.png b/monday_odoo_connector/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/monday_odoo_connector/static/description/assets/icons/pos-black.png differ diff --git a/monday_odoo_connector/static/description/assets/icons/puzzle.png b/monday_odoo_connector/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/monday_odoo_connector/static/description/assets/icons/puzzle.png differ diff --git a/monday_odoo_connector/static/description/assets/icons/restaurant-black.png b/monday_odoo_connector/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/monday_odoo_connector/static/description/assets/icons/restaurant-black.png differ diff --git a/monday_odoo_connector/static/description/assets/icons/service-black.png b/monday_odoo_connector/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/monday_odoo_connector/static/description/assets/icons/service-black.png differ diff --git a/monday_odoo_connector/static/description/assets/icons/trading-black.png b/monday_odoo_connector/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/monday_odoo_connector/static/description/assets/icons/trading-black.png differ diff --git a/monday_odoo_connector/static/description/assets/icons/training.png b/monday_odoo_connector/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/monday_odoo_connector/static/description/assets/icons/training.png differ diff --git a/monday_odoo_connector/static/description/assets/icons/update.png b/monday_odoo_connector/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/monday_odoo_connector/static/description/assets/icons/update.png differ diff --git a/monday_odoo_connector/static/description/assets/icons/user.png b/monday_odoo_connector/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/monday_odoo_connector/static/description/assets/icons/user.png differ diff --git a/monday_odoo_connector/static/description/assets/icons/wrench.png b/monday_odoo_connector/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/monday_odoo_connector/static/description/assets/icons/wrench.png differ diff --git a/monday_odoo_connector/static/description/assets/misc/Cybrosys R.png b/monday_odoo_connector/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/monday_odoo_connector/static/description/assets/misc/Cybrosys R.png differ diff --git a/monday_odoo_connector/static/description/assets/misc/email.svg b/monday_odoo_connector/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/monday_odoo_connector/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/monday_odoo_connector/static/description/assets/misc/phone.svg b/monday_odoo_connector/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/monday_odoo_connector/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/monday_odoo_connector/static/description/assets/misc/star (1) 2.svg b/monday_odoo_connector/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/monday_odoo_connector/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/monday_odoo_connector/static/description/assets/misc/support (1) 1.svg b/monday_odoo_connector/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/monday_odoo_connector/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/monday_odoo_connector/static/description/assets/misc/support-email.svg b/monday_odoo_connector/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/monday_odoo_connector/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/monday_odoo_connector/static/description/assets/misc/tick-mark.svg b/monday_odoo_connector/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/monday_odoo_connector/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/monday_odoo_connector/static/description/assets/misc/whatsapp 1.svg b/monday_odoo_connector/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/monday_odoo_connector/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/monday_odoo_connector/static/description/assets/misc/whatsapp.svg b/monday_odoo_connector/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/monday_odoo_connector/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/monday_odoo_connector/static/description/assets/modules/1.jpg b/monday_odoo_connector/static/description/assets/modules/1.jpg new file mode 100644 index 000000000..d9a1469af Binary files /dev/null and b/monday_odoo_connector/static/description/assets/modules/1.jpg differ diff --git a/monday_odoo_connector/static/description/assets/modules/2.jpg b/monday_odoo_connector/static/description/assets/modules/2.jpg new file mode 100644 index 000000000..366c7fc26 Binary files /dev/null and b/monday_odoo_connector/static/description/assets/modules/2.jpg differ diff --git a/monday_odoo_connector/static/description/assets/modules/3.png b/monday_odoo_connector/static/description/assets/modules/3.png new file mode 100644 index 000000000..87bb832e6 Binary files /dev/null and b/monday_odoo_connector/static/description/assets/modules/3.png differ diff --git a/monday_odoo_connector/static/description/assets/modules/4.jpg b/monday_odoo_connector/static/description/assets/modules/4.jpg new file mode 100644 index 000000000..1f3f2e27f Binary files /dev/null and b/monday_odoo_connector/static/description/assets/modules/4.jpg differ diff --git a/monday_odoo_connector/static/description/assets/modules/5.jpg b/monday_odoo_connector/static/description/assets/modules/5.jpg new file mode 100644 index 000000000..0db717519 Binary files /dev/null and b/monday_odoo_connector/static/description/assets/modules/5.jpg differ diff --git a/monday_odoo_connector/static/description/assets/modules/6.jpg b/monday_odoo_connector/static/description/assets/modules/6.jpg new file mode 100644 index 000000000..cd62a577c Binary files /dev/null and b/monday_odoo_connector/static/description/assets/modules/6.jpg differ diff --git a/monday_odoo_connector/static/description/assets/screenshots/1.png b/monday_odoo_connector/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..f4a5a6fab Binary files /dev/null and b/monday_odoo_connector/static/description/assets/screenshots/1.png differ diff --git a/monday_odoo_connector/static/description/assets/screenshots/10.png b/monday_odoo_connector/static/description/assets/screenshots/10.png new file mode 100644 index 000000000..2c58025c6 Binary files /dev/null and b/monday_odoo_connector/static/description/assets/screenshots/10.png differ diff --git a/monday_odoo_connector/static/description/assets/screenshots/11.png b/monday_odoo_connector/static/description/assets/screenshots/11.png new file mode 100644 index 000000000..7f768e16a Binary files /dev/null and b/monday_odoo_connector/static/description/assets/screenshots/11.png differ diff --git a/monday_odoo_connector/static/description/assets/screenshots/12.png b/monday_odoo_connector/static/description/assets/screenshots/12.png new file mode 100644 index 000000000..da4735219 Binary files /dev/null and b/monday_odoo_connector/static/description/assets/screenshots/12.png differ diff --git a/monday_odoo_connector/static/description/assets/screenshots/13.png b/monday_odoo_connector/static/description/assets/screenshots/13.png new file mode 100644 index 000000000..a5380cf45 Binary files /dev/null and b/monday_odoo_connector/static/description/assets/screenshots/13.png differ diff --git a/monday_odoo_connector/static/description/assets/screenshots/14.png b/monday_odoo_connector/static/description/assets/screenshots/14.png new file mode 100644 index 000000000..5b804215c Binary files /dev/null and b/monday_odoo_connector/static/description/assets/screenshots/14.png differ diff --git a/monday_odoo_connector/static/description/assets/screenshots/15.png b/monday_odoo_connector/static/description/assets/screenshots/15.png new file mode 100644 index 000000000..0e6fae3db Binary files /dev/null and b/monday_odoo_connector/static/description/assets/screenshots/15.png differ diff --git a/monday_odoo_connector/static/description/assets/screenshots/16.png b/monday_odoo_connector/static/description/assets/screenshots/16.png new file mode 100644 index 000000000..115e63b1c Binary files /dev/null and b/monday_odoo_connector/static/description/assets/screenshots/16.png differ diff --git a/monday_odoo_connector/static/description/assets/screenshots/2.png b/monday_odoo_connector/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..4d09c57c8 Binary files /dev/null and b/monday_odoo_connector/static/description/assets/screenshots/2.png differ diff --git a/monday_odoo_connector/static/description/assets/screenshots/3.png b/monday_odoo_connector/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..31b3b82f7 Binary files /dev/null and b/monday_odoo_connector/static/description/assets/screenshots/3.png differ diff --git a/monday_odoo_connector/static/description/assets/screenshots/4.png b/monday_odoo_connector/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..57870b845 Binary files /dev/null and b/monday_odoo_connector/static/description/assets/screenshots/4.png differ diff --git a/monday_odoo_connector/static/description/assets/screenshots/5.png b/monday_odoo_connector/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..5fe9955ed Binary files /dev/null and b/monday_odoo_connector/static/description/assets/screenshots/5.png differ diff --git a/monday_odoo_connector/static/description/assets/screenshots/6.png b/monday_odoo_connector/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..0ff48a90c Binary files /dev/null and b/monday_odoo_connector/static/description/assets/screenshots/6.png differ diff --git a/monday_odoo_connector/static/description/assets/screenshots/7.png b/monday_odoo_connector/static/description/assets/screenshots/7.png new file mode 100644 index 000000000..966f0264f Binary files /dev/null and b/monday_odoo_connector/static/description/assets/screenshots/7.png differ diff --git a/monday_odoo_connector/static/description/assets/screenshots/8.png b/monday_odoo_connector/static/description/assets/screenshots/8.png new file mode 100644 index 000000000..268dea598 Binary files /dev/null and b/monday_odoo_connector/static/description/assets/screenshots/8.png differ diff --git a/monday_odoo_connector/static/description/assets/screenshots/9.png b/monday_odoo_connector/static/description/assets/screenshots/9.png new file mode 100644 index 000000000..dd16b78a8 Binary files /dev/null and b/monday_odoo_connector/static/description/assets/screenshots/9.png differ diff --git a/monday_odoo_connector/static/description/assets/screenshots/hero.gif b/monday_odoo_connector/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..4ee77f294 Binary files /dev/null and b/monday_odoo_connector/static/description/assets/screenshots/hero.gif differ diff --git a/monday_odoo_connector/static/description/banner.jpg b/monday_odoo_connector/static/description/banner.jpg new file mode 100644 index 000000000..082f37c49 Binary files /dev/null and b/monday_odoo_connector/static/description/banner.jpg differ diff --git a/monday_odoo_connector/static/description/icon.png b/monday_odoo_connector/static/description/icon.png new file mode 100644 index 000000000..4fded554c Binary files /dev/null and b/monday_odoo_connector/static/description/icon.png differ diff --git a/monday_odoo_connector/static/description/index.html b/monday_odoo_connector/static/description/index.html new file mode 100755 index 000000000..841fb3804 --- /dev/null +++ b/monday_odoo_connector/static/description/index.html @@ -0,0 +1,949 @@ + + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+
+
+
+
+

Monday.com Odoo Connector

+

+ Odoo Users Can Sync Their Boards, Users, Items, Groups and Customers From Monday.com to Odoo. +

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Imports Users from Monday.com +

+
+
+
+
+
+
+ +
+
+

+ Imports Boards from Monday.com +

+
+
+
+
+
+
+ +
+
+

+ Imports Groups from Monday.com +

+
+
+
+
+
+
+ +
+
+

+ Imports Items from Monday.com +

+
+
+
+
+
+
+ +
+
+

+ Imports Contacts from Monday.com +

+
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+ Login to Monday.com account then click on the + button in the top left corner and click Explore + more products. Then Select Sales CRM.
+
+
+
+
+
+
+ +
+
+
+ Select the profile picture in the top right. + Following that, select Developers.
+
+
+
+
+
+
+ +
+
+
+ My access tokens tab will provide the access token.
+
+
+
+
+
+
+ +
+
+
+ Navigate to the Credentials menu under Configuration.
+
+
+
+
+
+
+ +
+
+
+ Add the Token to Monday Credentials.
+
+
+
+
+
+
+ +
+
+
+ Navigate to the Connector menu under Configuration.
+
+
+
+
+
+
+ +
+
+
+ Import Users from Monday.com to Odoo
+

+ Choose Monday Credential and Tick Import User Checkbox. +

+
+
+
+
+
+
+ +
+
+
+ All imported data will be available under the Imported menu.
+
+
+
+
+
+
+ +
+
+
+ Imported User.
+
+
+
+
+
+
+ +
+
+
+ Import Boards from Monday.com
+

+ While ticking the checkbox Import Boards, + the checkboxes for Groups and Items enabled + by default. +

+
+
+
+
+
+
+ +
+
+
+ Imported Boards
+
+
+
+
+
+
+ +
+
+
+ Group in imported Boards
+
+
+
+
+
+
+ +
+
+
+ Item in imported Boards
+
+
+
+
+
+
+ +
+
+
+ Column Values that correspond to the imported Item
+
+
+
+
+
+
+ +
+
+
+ Import Customers from Monday.com
+
+
+
+
+
+
+ +
+
+
+ Imported Customers
+
+
+
+
+
+
+
    +
  • + Imports Users from Monday.com +
  • +
  • + Imports Boards from Monday.com +
  • +
  • + Imports Groups from Monday.com +
  • + +
  • + Imports Items from Monday.com +
  • +
  • + Imports Contacts from Monday.com + +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:13th February 2024 +
+

+ Initial Commit for Monday.com Odoo Connector.

+
+
+
+
+
+
+
+

+ Related Products

+
+
+ +
+
+

+ Our Services

+ +
+
+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Customization

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Support

+
+
+
+
+
+
+ service-icon +
+
+

Hire + Odoo Developer

+
+
+
+
+ +
+
+ service-icon +
+
+

Odoo + Integration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Migration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Consultancy

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

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 + 99456767686 +
+
+
+
+
+
+
+
+
+ + + + + + diff --git a/monday_odoo_connector/views/item_column_value_views.xml b/monday_odoo_connector/views/item_column_value_views.xml new file mode 100755 index 000000000..417c56cbf --- /dev/null +++ b/monday_odoo_connector/views/item_column_value_views.xml @@ -0,0 +1,23 @@ + + + + + item.column.value.view.form + item.column.value + +
+ + + + + + + + + + + +
+
+
+
diff --git a/monday_odoo_connector/views/monday_board_views.xml b/monday_odoo_connector/views/monday_board_views.xml new file mode 100755 index 000000000..cab3e8cca --- /dev/null +++ b/monday_odoo_connector/views/monday_board_views.xml @@ -0,0 +1,83 @@ + + + + + monday.board.view.tree + monday.board + + + + + + + + + + + monday.board.view.form + monday.board + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + + monday.board.view.search + monday.board + + + + + + + + + + + + Monday Boards + monday.board + ir.actions.act_window + tree,form + + + + + +
diff --git a/monday_odoo_connector/views/monday_credential_views.xml b/monday_odoo_connector/views/monday_credential_views.xml new file mode 100755 index 000000000..4724e51b1 --- /dev/null +++ b/monday_odoo_connector/views/monday_credential_views.xml @@ -0,0 +1,43 @@ + + + + + monday.credential.view.tree + monday.credential + + + + + + + + + + monday.credential.view.form + monday.credential + +
+ + + + + + +
+
+
+ + + Monday Credential + monday.credential + ir.actions.act_window + tree,form + + + +
diff --git a/monday_odoo_connector/views/monday_group_views.xml b/monday_odoo_connector/views/monday_group_views.xml new file mode 100755 index 000000000..fcefdd8ea --- /dev/null +++ b/monday_odoo_connector/views/monday_group_views.xml @@ -0,0 +1,34 @@ + + + + + monday.group.view.tree + monday.group + + + + + + + + + + monday.group.view.form + monday.group + +
+ + + + + + + + + + + +
+
+
+
diff --git a/monday_odoo_connector/views/monday_item_views.xml b/monday_odoo_connector/views/monday_item_views.xml new file mode 100755 index 000000000..8af0ae587 --- /dev/null +++ b/monday_odoo_connector/views/monday_item_views.xml @@ -0,0 +1,40 @@ + + + + + monday.item.view.tree + monday.item + + + + + + + + + + monday.item.view.form + monday.item + +
+ + + + + + + + + + + + + + + +
+
+
+
diff --git a/monday_odoo_connector/views/res_partner_views.xml b/monday_odoo_connector/views/res_partner_views.xml new file mode 100755 index 000000000..b008a417b --- /dev/null +++ b/monday_odoo_connector/views/res_partner_views.xml @@ -0,0 +1,59 @@ + + + + + res.partner.view.form.inherit.monday.odoo.connector + + res.partner + form + + + + false + + + + + + res.partner.view.kanban.inherit.monday.odoo.connector + + res.partner + kanban + + + + false + + + + + + res.partner.view.tree.inherit.monday.odoo.connector + res.partner + tree + + + + false + + + 0 + + + + + + Monday Customers + res.partner + ir.actions.act_window + kanban,tree,form + [('monday_reference', '=', True)] + + + + diff --git a/monday_odoo_connector/views/res_users_views.xml b/monday_odoo_connector/views/res_users_views.xml new file mode 100755 index 000000000..9e412165f --- /dev/null +++ b/monday_odoo_connector/views/res_users_views.xml @@ -0,0 +1,61 @@ + + + + + res.users.view.form.inherit.monday.odoo.connector + + res.users + form + + + + false + + + + + + res.users.view.kanban.inherit.monday.odoo.connector + + res.users + kanban + + + + false + + + + + + res.users.view.tree.inherit.monday.odoo.connector + + res.users + tree + + + + false + + + 0 + + + + + + Monday Users + res.users + ir.actions.act_window + kanban,tree,form + [('monday_reference', '!=', False)] + + + + diff --git a/monday_odoo_connector/wizard/__init__.py b/monday_odoo_connector/wizard/__init__.py new file mode 100755 index 000000000..49bb19612 --- /dev/null +++ b/monday_odoo_connector/wizard/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions() +# +# 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 monday_connector diff --git a/monday_odoo_connector/wizard/monday_connector.py b/monday_odoo_connector/wizard/monday_connector.py new file mode 100755 index 000000000..27f9ef0cd --- /dev/null +++ b/monday_odoo_connector/wizard/monday_connector.py @@ -0,0 +1,141 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions() +# +# 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 . +# +################################################################################ +import requests +from odoo import fields, models +from odoo.exceptions import ValidationError + + +class MondayConnector(models.TransientModel): + _name = 'monday.connector' + _description = 'Monday Connector' + _rec_name = 'credential_id' + + credential_id = fields.Many2one('monday.credential', required="True", + string="Monday Credentials", + help="Select the credential for connecting" + " with Monday.com") + import_user = fields.Boolean(string="Import User", + help="Check if you want to import user") + import_board = fields.Boolean(string="Import Board", + help="Check if you want to import board") + import_group = fields.Boolean(string="Import Group", + help="If you want to import the board, " + "groups will also imported", + readonly=True, default=True) + import_item = fields.Boolean(string="Import Item", + help="If you want to import the board, " + "items will also imported", + readonly=True, default=True) + import_contact = fields.Boolean(string="Import Customer", + help="Check if you want to import contact") + + def action_execute(self): + """Function for executing Import and Export between Odoo and + Monday.com""" + if self.import_board: + self.get_boards("https://api.monday.com/v2", + {"Authorization": self.credential_id.token}) + if self.import_user: + self.get_users("https://api.monday.com/v2", + {"Authorization": self.credential_id.token}) + + def get_boards(self, url, headers): + """Function for receiving Boards from Monday.com""" + vals = {} + response = requests.post(url=url, json={ + 'query': '{boards{ name id owner{name} columns {title id type } ' + 'groups{title id} items_page(limit: 100) ' + '{items {name column_values {id type text } } } } }'}, + headers=headers, timeout=10) + board = self.env['monday.board'].search([]).mapped('board_reference') + if 'error_code' in response.json().keys(): + raise ValidationError(response.json()['error_message']) + if 'errors' in response.json().keys(): + raise ValidationError(response.json()['errors']) + for rec in response.json()['data']['boards']: + if rec['id'] not in board: + # Create Board + board_obj = self.env['monday.board'].create([{ + 'name': rec['name'], + 'board_reference': rec['id'], + 'owner': rec['owner']['name'] + }]) + else: + board_obj = self.env['monday.board'].search([('board_reference', + '=', rec['id'])]) + for item in rec['groups']: + board_obj.write({ + 'group_ids': [ + (0, 0, + {'name': item['title'], + 'group': item['id']}), + ] + }) + for item in rec['items_page']['items']: + # Update Items + board_obj.write({ + 'item_ids': [ + (0, 0, + {'name': item['name'], + 'column_value_ids': [ + (0, 0, + {'title': value['id'], + 'item_id': value['id'], + 'text': value['text'], + }) for value in item['column_values'] + ] + }), ]}) + if rec['name'] == 'Contacts' and self.import_contact: + for value in item['column_values']: + vals[value['id']] = value['text'] + partner = self.env['res.partner'].search([]).mapped( + 'monday_reference') + if vals['contact_email'] not in partner: + # Create User + self.env['res.partner'].create({ + 'name': item['name'], + 'phone': vals['contact_phone'], + 'email': vals['contact_email'], + 'company_name': vals[ + 'Company'] if 'Company' in vals.keys() + else False, + 'monday_reference': True + }) + + def get_users(self, apiurl, headers): + """Function for receiving Users from Monday.com""" + response = requests.post(url=apiurl, + json={'query': '{users { id name email }}'}, + headers=headers, timeout=10) + if 'error_code' in response.json().keys(): + raise ValidationError(response.json()['error_message']) + if 'errors' in response.json().keys(): + raise ValidationError(response.json()['errors']) + for rec in response.json()['data']['users']: + if not self.env['res.users'].search([('login', '=', rec['email'])]): + self.env['res.users'].create({ + 'name': rec['name'], + 'email': rec['email'], + 'login': rec['email'], + 'password': 'demo_password', + 'monday_reference': rec['id'] + }) diff --git a/monday_odoo_connector/wizard/monday_connector_views.xml b/monday_odoo_connector/wizard/monday_connector_views.xml new file mode 100755 index 000000000..405f69df1 --- /dev/null +++ b/monday_odoo_connector/wizard/monday_connector_views.xml @@ -0,0 +1,68 @@ + + + + + monday.connector.view.form + monday.connector + +
+ + + + + + + + + + + + + + + + + +
+
+
+
+
+
+ + + Monday Connector + ir.actions.act_window + monday.connector + form + + new + + + + + + + +