diff --git a/addons/hr_expense/static/img/app_store.png b/addons/hr_expense/static/img/app_store.png new file mode 100644 index 00000000000..4d79d760633 Binary files /dev/null and b/addons/hr_expense/static/img/app_store.png differ diff --git a/addons/hr_expense/static/img/nocontent.png b/addons/hr_expense/static/img/nocontent.png new file mode 100644 index 00000000000..b87451702a7 Binary files /dev/null and b/addons/hr_expense/static/img/nocontent.png differ diff --git a/addons/hr_expense/static/img/play_store.png b/addons/hr_expense/static/img/play_store.png new file mode 100644 index 00000000000..73dd393c5f3 Binary files /dev/null and b/addons/hr_expense/static/img/play_store.png differ diff --git a/addons/hr_expense/static/src/scss/hr_expense.scss b/addons/hr_expense/static/src/scss/hr_expense.scss index 7ea3c3d8e51..f4397f21c1c 100644 --- a/addons/hr_expense/static/src/scss/hr_expense.scss +++ b/addons/hr_expense/static/src/scss/hr_expense.scss @@ -21,3 +21,14 @@ color: $o-enterprise-color; } } +.o_view_nocontent { + .o_nocontent_help { + .o_view_nocontent_expense_receipt:before { + @extend %o-nocontent-init-image; + @include size(300px, 230px); + background: transparent url(/hr_expense/static/img/nocontent.png) no-repeat center; + background-size: 300px 230px; + margin-bottom: 1rem; + } + } +} diff --git a/addons/hr_expense/views/hr_expense_views.xml b/addons/hr_expense/views/hr_expense_views.xml index cb89fd027fb..f7ccdb7b448 100644 --- a/addons/hr_expense/views/hr_expense_views.xml +++ b/addons/hr_expense/views/hr_expense_views.xml @@ -297,9 +297,18 @@ {'search_default_my_expenses': 1, 'search_default_no_report': 1} -

- Create a new expense -

+

+ Did you try the mobile app? +

+

Snap pictures of your receipts and let Odoo
automatically create expenses for you.

+

+ + Apple App Store + + + Google Play Store + +