Skip to content

Commit

Permalink
[FIX] account_reconcile_oca: remove lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiBForgeFlow committed Feb 25, 2025
1 parent d4b9d8f commit 584632f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ export class ReconcileManualController extends FormController {
try {
await this.model.root.load();
} 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...)
if (this.env.parentController) {
await this.env.parentController.model.root.load();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* global CustomEvent */
import {formatDate, parseDate} from "@web/core/l10n/dates";
import {formatMonetary} from "@web/views/fields/formatters";
import {registry} from "@web/core/registry";
Expand Down Expand Up @@ -75,6 +76,7 @@ export class AccountReconcileDataWidget extends Component {
async openMove(ev, moveId) {
ev.preventDefault();
ev.stopPropagation();
// eslint-disable-next-line no-undef
console.log(moveId);
const action = await this.orm.call("account.move", "get_formview_action", [
[moveId],
Expand Down

0 comments on commit 584632f

Please sign in to comment.