Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP][16.0] viin_brand_hr*: replace odoo brand by viindoo #360

Open
wants to merge 3 commits into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions viin_brand_hr_expense/data/mail_templates.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template t-inherit="hr_expense.hr_expense_template_register_no_user">
<xpath expr="//a[@href='https://www.odoo.com']" position="replace">
<a target="_blank"
href="https://viindoo.com">Viindoo</a>
</xpath>
</template>
</odoo>
7 changes: 7 additions & 0 deletions viin_brand_hr_expense/i18n/vi_VN.po
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,10 @@ msgid ""
msgstr ""
"Đừng giữ hóa đơn chi phí trong túi áo. Chỉ cần chụp một bức ảnh và để phần mềm "
"số hóa giúp bạn. OCR và trí tuệ nhân tạo sẽ tự động điền dữ liệu."

#. module: hr_expense
#. odoo-javascript
#: code:addons/hr_expense/static/src/xml/expense_qr_modal_template.xml:0
#, python-format
msgid "Scan this QR code to get the Viindoo app:"
msgstr "Quét mã QR này để tải ứng dụng Viindoo:"
7 changes: 7 additions & 0 deletions viin_brand_hr_expense/i18n/viin_brand_hr_expense.pot
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,10 @@ msgid ""
"picture of your receipt and let the software digitalizes it for you. The OCR and "
"Artificial Intelligence will fill the data automatically."
msgstr ""

#. module: hr_expense
#. odoo-javascript
#: code:addons/hr_expense/static/src/xml/expense_qr_modal_template.xml:0
#, python-format
msgid "Scan this QR code to get the Viindoo app:"
msgstr ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">
<t t-inherit="hr_expense.hr_expense_qr_code">
<xpath expr="//h3" position="replace">
<h3>Scan this QR code to get the Viindoo app:</h3>
</xpath>
</t>
</templates>
3 changes: 3 additions & 0 deletions viin_brand_hr_skills/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
'data': [
'views/hr_views.xml',
],
'demo': [
'demo/hr_resume_demo.xml',
],
'installable': True,
'application': False,
'auto_install': True,
Expand Down
9 changes: 9 additions & 0 deletions viin_brand_hr_skills/demo/hr_resume_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<function name="write" model="hr.resume.line">
<value eval="[ref('hr_skills.employee_resume_line_admin_4')]" />
<value eval="{'name': 'Viindoo'}" />
</function>
</data>
</odoo>