Skip to content

Commit

Permalink
Merge PR #657 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Nov 25, 2024
2 parents da503cb + a000451 commit 195a3e3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion stock_barcodes/static/src/views/views.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,11 @@ function setupView() {
(this.model.root.resId == payload.res_id)
) {
if (type === "stock_barcodes_sound") {
this.$sound_ok[0].play();
if (payload.sound === "ko") {
this.$sound_ko[0].play();
} else {
this.$sound_ok[0].play();
}
}
if (type === "stock_barcodes_focus") {
requestIdleCallback(() => {
Expand Down

0 comments on commit 195a3e3

Please sign in to comment.