Начальное наполнение
This commit is contained in:
parent
eb1a4dc646
commit
2e9ce44f29
0
__init__.py
Normal file
0
__init__.py
Normal file
13
__manifest__.py
Normal file
13
__manifest__.py
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
'name': 'HR - Livechat',
|
||||
'version': '1.0',
|
||||
'category': 'Human Resources',
|
||||
'description': """
|
||||
Bridge between HR and Livechat.""",
|
||||
'depends': ['hr', 'im_livechat'],
|
||||
'data': [
|
||||
'views/discuss_channel_views.xml',
|
||||
],
|
||||
'auto_install': True,
|
||||
'license': 'LGPL-3',
|
||||
}
|
21
i18n/hr_livechat.pot
Normal file
21
i18n/hr_livechat.pot
Normal file
@ -0,0 +1,21 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * hr_livechat
|
||||
#
|
||||
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"
|
||||
|
||||
#. module: hr_livechat
|
||||
#: model_terms:ir.ui.view,arch_db:hr_livechat.discuss_channel_view_search
|
||||
msgid "My Team"
|
||||
msgstr ""
|
23
i18n/ru.po
Normal file
23
i18n/ru.po
Normal file
@ -0,0 +1,23 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * hr_livechat
|
||||
#
|
||||
# Translators:
|
||||
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: 2024-01-30 15:14+0400\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: Russian (https://app.transifex.com/odoo/teams/41243/ru/)\n"
|
||||
"Language: ru\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
|
||||
|
||||
#. module: hr_livechat
|
||||
#: model_terms:ir.ui.view,arch_db:hr_livechat.discuss_channel_view_search
|
||||
msgid "My Team"
|
||||
msgstr "Моя команда"
|
15
views/discuss_channel_views.xml
Normal file
15
views/discuss_channel_views.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" ?>
|
||||
<odoo>
|
||||
<data>
|
||||
<record id="discuss_channel_view_search" model="ir.ui.view">
|
||||
<field name="name">discuss.channel.search.inherit.hr.livechat</field>
|
||||
<field name="model">discuss.channel</field>
|
||||
<field name="inherit_id" ref="im_livechat.discuss_channel_view_search"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//*[@name='filter_my_sessions']" position="after">
|
||||
<filter name="filter_my_team" domain="[('channel_member_ids.partner_id.user_ids.employee_id.member_of_department', '=', True)]" string="My Team"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
Loading…
x
Reference in New Issue
Block a user