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

[FIX]l10n_it_financial_statements_report: js error #4532

Draft
wants to merge 1 commit into
base: 16.0
Choose a base branch
from
Draft
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
3 changes: 1 addition & 2 deletions l10n_it_financial_statements_report/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
],
"assets": {
"web.assets_backend": [
"l10n_it_financial_statements_report/static/src/js/action_manager_report.js",
"l10n_it_financial_statements_report/static/src/js/client_action.js",
"l10n_it_financial_statements_report/static/src/js/client_action.esm.js",
],
},
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/** @odoo-module **/
import {ReportAction} from "@web/webclient/actions/reports/report_action";
import {patch} from "web.utils";

patch(ReportAction.prototype, "l10n_it_financial_statements_report.ReportAction", {
export() {
this.action.doAction({
type: "ir.actions.report",
report_type: "xlsx",
report_name: "l10n_it_financial_statements_report.report_xlsx",
report_file: "l10n_it_financial_statements_report.report_xlsx",
data: this.props.data || {},
context: this.props.context || {},
display_name: this.title,
});
},
});
37 changes: 0 additions & 37 deletions l10n_it_financial_statements_report/static/src/js/client_action.js

This file was deleted.

Loading