[FIX] account_reconcile_oca: remove lint errors

pull/808/head
Jordi Ballester Alomar 2025-02-25 18:43:49 +01:00
parent d4b9d8f83d
commit 584632f6b8
2 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,8 @@ export class ReconcileManualController extends FormController {
try { try {
await this.model.root.load(); await this.model.root.load();
} catch (error) { } catch (error) {
// eslint-disable-next-line no-undef
console.error("Error reloading form controller:", error);
// This should happen when we reconcile a line (no more possible data...) // This should happen when we reconcile a line (no more possible data...)
if (this.env.parentController) { if (this.env.parentController) {
await this.env.parentController.model.root.load(); await this.env.parentController.model.root.load();

View File

@ -1,3 +1,4 @@
/* global CustomEvent */
import {formatDate, parseDate} from "@web/core/l10n/dates"; import {formatDate, parseDate} from "@web/core/l10n/dates";
import {formatMonetary} from "@web/views/fields/formatters"; import {formatMonetary} from "@web/views/fields/formatters";
import {registry} from "@web/core/registry"; import {registry} from "@web/core/registry";
@ -75,6 +76,7 @@ export class AccountReconcileDataWidget extends Component {
async openMove(ev, moveId) { async openMove(ev, moveId) {
ev.preventDefault(); ev.preventDefault();
ev.stopPropagation(); ev.stopPropagation();
// eslint-disable-next-line no-undef
console.log(moveId); console.log(moveId);
const action = await this.orm.call("account.move", "get_formview_action", [ const action = await this.orm.call("account.move", "get_formview_action", [
[moveId], [moveId],