diff --git a/addons/hr_timesheet/__manifest__.py b/addons/hr_timesheet/__manifest__.py
index abb6c43b1bf..741c15e59ca 100644
--- a/addons/hr_timesheet/__manifest__.py
+++ b/addons/hr_timesheet/__manifest__.py
@@ -58,9 +58,6 @@ up a management by affair.
'web.qunit_suite_tests': [
'hr_timesheet/static/tests/**/*',
],
- 'web.assets_qweb': [
- 'hr_timesheet/static/src/**/*.xml',
- ],
},
'license': 'LGPL-3',
}
diff --git a/addons/hr_timesheet/static/src/app_store_widget/app_store_widget.js b/addons/hr_timesheet/static/src/app_store_widget/app_store_widget.js
deleted file mode 100644
index eb49624c313..00000000000
--- a/addons/hr_timesheet/static/src/app_store_widget/app_store_widget.js
+++ /dev/null
@@ -1,71 +0,0 @@
-/** @odoo-module */
-
-import { registry } from "@web/core/registry";
-import { _t } from "@web/core/l10n/translation";
-import { Dialog } from "@web/core/dialog/dialog";
-import { useService } from "@web/core/utils/hooks";
-import { isAndroid, isIOS } from "@web/core/browser/feature_detection";
-import { standardWidgetProps } from "@web/views/widgets/standard_widget_props";
-
-const { Component } = owl;
-
-const configs = {
- apple: {
- alt: "Apple App Store",
- className: "o_config_app_store",
- src: "project/static/src/img/app_store.png",
- storeUrl: "https://apps.apple.com/be/app/awesome-timesheet/id1078657549",
- },
- google: {
- alt: "Google Play Store",
- className: "o_config_play_store",
- src: "project/static/src/img/play_store.png",
- storeUrl: "https://play.google.com/store/apps/details?id=com.odoo.OdooTimesheets",
- },
-};
-
-class AppStoreWidget extends Component {
- setup() {
- this.dialog = useService("dialog");
- this.config = configs[this.props.type];
- }
-
- openQRDialog() {
- if (
- (this.props.type === "apple" && isIOS()) ||
- (this.props.type === "google" && isAndroid())
- ) {
- this.env.services.action.doAction({
- type: "ir.actions.act_url",
- url: this.config.storeUrl,
- });
- } else {
- this.dialog.add(AppStoreQRDialog, { url: this.config.storeUrl });
- }
- }
-}
-AppStoreWidget.template = "hr_timesheet.AppStoreWidget";
-AppStoreWidget.props = {
- ...standardWidgetProps,
- type: { type: String },
-};
-AppStoreWidget.extractProps = ({ attrs }) => {
- return {
- type: attrs.type,
- };
-};
-
-class AppStoreQRDialog extends Component {
- setup() {
- this.title = _t("Download our app");
- this.qrCodeUrl = `/report/barcode/?barcode_type=QR&value=${this.props.url}&width=256&height=256&humanreadable=1`;
- }
-
- viewApp() {
- window.open(this.props.url, "_blank");
- }
-}
-AppStoreQRDialog.components = { Dialog };
-AppStoreQRDialog.template = "hr_timesheet.AppStoreQRDialog";
-
-registry.category("view_widgets").add("hr_timesheet.app_store_widget", AppStoreWidget);
diff --git a/addons/hr_timesheet/static/src/app_store_widget/app_store_widget.scss b/addons/hr_timesheet/static/src/app_store_widget/app_store_widget.scss
deleted file mode 100644
index 5c480670577..00000000000
--- a/addons/hr_timesheet/static/src/app_store_widget/app_store_widget.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-.o_widget.o_widget_hr_timesheet\.app_store_widget {
- display: contents;
-}
diff --git a/addons/hr_timesheet/static/src/app_store_widget/app_store_widget.xml b/addons/hr_timesheet/static/src/app_store_widget/app_store_widget.xml
deleted file mode 100644
index a0d11f14471..00000000000
--- a/addons/hr_timesheet/static/src/app_store_widget/app_store_widget.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
Scan this QR code to get the Awesome Timesheet app:
-
-
+
+