diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/__manifest__.py b/__manifest__.py new file mode 100644 index 0000000..fe7c11f --- /dev/null +++ b/__manifest__.py @@ -0,0 +1,16 @@ +# -*- coding: utf-8 -*- +{ + 'name': "OdooBot - HR", + 'summary': """Bridge module between hr and mailbot.""", + 'description': """This module adds the OdooBot state and notifications in the user form modified by hr.""", + 'website': "https://www.odoo.com/app/discuss", + 'category': 'Productivity/Discuss', + 'version': '1.0', + 'depends': ['mail_bot', 'hr'], + 'installable': True, + 'auto_install': True, + 'data': [ + 'views/res_users_views.xml', + ], + 'license': 'LGPL-3', +} diff --git a/i18n/mail_bot_hr.pot b/i18n/mail_bot_hr.pot new file mode 100644 index 0000000..06d842d --- /dev/null +++ b/i18n/mail_bot_hr.pot @@ -0,0 +1,15 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 21:55+0000\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" diff --git a/views/res_users_views.xml b/views/res_users_views.xml new file mode 100644 index 0000000..62665f6 --- /dev/null +++ b/views/res_users_views.xml @@ -0,0 +1,41 @@ + + + + + res.users.preferences.form.simplified.inherit + res.users + + 15 + + + + + + + res.users.preferences.form.inherit + res.users + + + + + + + not can_edit + + + + + + res.users.profile.form.inherit + res.users + + + + + + + + +