Skip to content

Commit

Permalink
[IMP]viin_brand_*: update link to viindoo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ngquang authored and davidtranhp committed May 28, 2022
1 parent 1a49afd commit 282221d
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 20 deletions.
5 changes: 3 additions & 2 deletions viin_brand/apriori.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
'crm': 'https://viindoo.com/intro/crm',
'fleet': 'https://viindoo.com/intro/fleet',
'hr': 'https://viindoo.com/intro/employees',
# 'hr_attendance': '',
'hr_attendance': 'https://viindoo.com/intro/attendance',
'hr_expense': 'https://viindoo.com/intro/expense',
'hr_holidays': 'https://viindoo.com/intro/time-off',
'hr_recruitment': 'https://viindoo.com/intro/recruitment',
'hr_contract': 'https://viindoo.com/en/apps/app/14.0/hr_contract',
# 'hr_skills': '',
'im_livechat': 'https://viindoo.com/intro/live-chat',
# 'lunch': '',
Expand All @@ -22,8 +23,8 @@
'mrp': 'https://viindoo.com/intro/mrp',
'note': 'https://viindoo.com/intro/notes',
'point_of_sale': 'https://viindoo.com/intro/pos',
'purchase' : 'https://viindoo.com/intro/purchase',
'project': 'https://viindoo.com/intro/project',
# 'purchase': '',
'repair': 'https://viindoo.com/intro/repair',
'sale_management': 'https://viindoo.com/intro/sales',
'stock': 'https://viindoo.com/intro/inventory',
Expand Down
1 change: 1 addition & 0 deletions viin_brand_website/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
# 'security/ir.model.access.csv',
'views/assets.xml',
'views/templates.xml',
'views/website_templates.xml',
'views/res_config_settings_views.xml'
],
'qweb': [
Expand Down
18 changes: 14 additions & 4 deletions viin_brand_website/i18n/vi_VN.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-04-07 06:09+0000\n"
"PO-Revision-Date: 2022-04-07 06:09+0000\n"
"POT-Creation-Date: 2022-05-24 05:00+0000\n"
"PO-Revision-Date: 2022-05-24 05:00+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
Expand All @@ -20,17 +20,27 @@ msgstr ""
msgid "Create a"
msgstr "Tạo một"

#. module: viin_brand_website
#: model_terms:ir.ui.view,arch_db:viin_brand_website.show_website_info
msgid "Information about the"
msgstr "Thông tin về"

#. module: viin_brand_website
#. openerp-web
#: code:addons/viin_brand_website/static/src/js/dialog.js:0
#, python-format
msgid "Viindoo"
msgstr "Hệ Thống Viindoo"
msgstr "Hệ Thống Viindoo."

#. module: viin_brand_website
#: model_terms:ir.ui.view,arch_db:viin_brand_website.show_website_info
msgid "Viindoo JSC Company."
msgstr "Công Ty Cổ phần Công Nghệ Viindoo."

#. module: viin_brand_website
#: model_terms:ir.ui.view,arch_db:viin_brand_website.show_website_info
msgid "Viindoo Version"
msgstr "Phiên Bản Viindoo"
msgstr "Phiên bản Viindoo"

#. module: viin_brand_website
#: model_terms:ir.ui.view,arch_db:viin_brand_website.brand_promotion
Expand Down
14 changes: 12 additions & 2 deletions viin_brand_website/i18n/viin_brand_website.pot
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-04-07 06:07+0000\n"
"PO-Revision-Date: 2022-04-07 06:07+0000\n"
"POT-Creation-Date: 2022-05-24 04:59+0000\n"
"PO-Revision-Date: 2022-05-24 04:59+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
Expand All @@ -20,13 +20,23 @@ msgstr ""
msgid "Create a"
msgstr ""

#. module: viin_brand_website
#: model_terms:ir.ui.view,arch_db:viin_brand_website.show_website_info
msgid "Information about the"
msgstr ""

#. module: viin_brand_website
#. openerp-web
#: code:addons/viin_brand_website/static/src/js/dialog.js:0
#, python-format
msgid "Viindoo"
msgstr ""

#. module: viin_brand_website
#: model_terms:ir.ui.view,arch_db:viin_brand_website.show_website_info
msgid "Viindoo JSC Company."
msgstr ""

#. module: viin_brand_website
#: model_terms:ir.ui.view,arch_db:viin_brand_website.show_website_info
msgid "Viindoo Version"
Expand Down
12 changes: 0 additions & 12 deletions viin_brand_website/views/templates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,5 @@
</t>
</xpath>
</template>

<template id="show_website_info"
inherit_id="website.show_website_info">
<xpath
expr="//t[@t-if='version']/h1/small" position="replace">
<small>Viindoo Version <t t-raw="version.get('server_version')"/></small>
</xpath>
<xpath
expr="//t[@t-if='version']/p/a[@href='https://www.odoo.com']" position="attributes">
<attribute name="href">https://viindoo.com</attribute>
</xpath>
</template>
</data>
</odoo>
12 changes: 12 additions & 0 deletions viin_brand_website/views/website_templates.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<odoo>
<template id="show_website_info"
inherit_id="website.show_website_info">
<xpath
expr="//t[@t-if='version']/h1/small" position="replace">
<small>Viindoo Version <t t-raw="version.get('server_version')"/></small>
</xpath>
<xpath expr="//t[@t-if='version']/p" position="replace">
<p>Information about the <a target="_blank" href="https://about.viindoo.com">Viindoo JSC Company.</a></p>
</xpath>
</template>
</odoo>

0 comments on commit 282221d

Please sign in to comment.