Skip to content

Commit

Permalink
[FIX] shopfloor_mobile: Fix pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
lmignon committed May 13, 2024
1 parent 833042a commit d950d9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,14 @@ repos:
rev: v8.24.0
hooks:
- id: eslint
# Useless for external libs
exclude: ^shopfloor_mobile/static/wms/src/.*
verbose: true
args:
- --color
- --fix
# SPECIAL CASE: barcode scanner app use Vue.js +
# advanced JS (modules, classes, etc)
# which are not supported by OCA rules yet.
exclude: shopfloor_*/*
exclude: ^shopfloor_.*/static/.*
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ export const checkout_states = function ($instance) {
$instance.odoo.call("set_packaging", {
picking_id: $instance.state.data.picking.id,
package_id: $instance.state.data.package.id,
packaging_id: selected.id,
package_type_id: selected.id,
})
);
},
Expand Down

0 comments on commit d950d9b

Please sign in to comment.