Merge PR #3131 into 18.0

Signed-off-by pedrobaeza
pull/3137/head
OCA-git-bot 2025-03-25 21:47:04 +00:00
commit 67283758d3
6 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,5 @@
# Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.29
_commit: v1.30
_src_path: git+https://github.com/OCA/oca-addons-repo-template
additional_ruff_rules: []
ci: GitHub

View File

@ -95,6 +95,7 @@ repos:
additional_dependencies:
- "eslint@9.12.0"
- "eslint-plugin-jsdoc@50.3.1"
- "globals@16.0.0"
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:

View File

@ -1,3 +1,4 @@
var globals = require('globals');
jsdoc = require("eslint-plugin-jsdoc");
const config = [{
@ -16,6 +17,7 @@ const config = [{
openerp: "readonly",
owl: "readonly",
luxon: "readonly",
...globals.browser,
},
ecmaVersion: 2024,

View File

@ -2,8 +2,6 @@ import {Component, xml} from "@odoo/owl";
import {useBus, useService} from "@web/core/utils/hooks";
import {registry} from "@web/core/registry";
const {document} = globalThis;
export class WebEnvironmentRibbon extends Component {
setup() {
this.orm = useService("orm");

View File

@ -1,4 +1,3 @@
/* global document */
import {markup, onMounted, onPatched, onWillStart, useRef} from "@odoo/owl";
import {CharField, charField} from "@web/views/fields/char/char_field";
import {loadJS} from "@web/core/assets";

View File

@ -1,4 +1,3 @@
/* global document,console */
import {Component, markup, onMounted, onPatched, onWillStart, useRef} from "@odoo/owl";
import {loadJS} from "@web/core/assets";
import {registry} from "@web/core/registry";