[18.0] shopfloor_mobile: migrate to v18#9
Conversation
|
ci is red |
|
/ocabot migration shopfloor_mobile |
|
There's no issue in this repo with the title 'Migration to version 18.0' and the milestone 18.0, so not possible to add the comment. |
| id = id.startsWith("uom-") ? id : parseInt(id, 10); | ||
| return _.find(this.sorted_packaging, ["id", id]); | ||
| const _id = id.startsWith("uom-") ? id : parseInt(id, 10); | ||
| return _.find(this.sorted_packaging, ["id", _id]); |
There was a problem hiding this comment.
underscore (_) has been slowly being removed from Odoo. In 18.0, there are very few cases still using it. At some point in a future version it won't be available anymore.
It's recommended to migrate to the vanilla js alternatives
There was a problem hiding this comment.
this is not underscore, is lodash, and we have a frozen version here ;)
|
/ocabot merge nobump |
|
This PR looks fantastic, let's merge it! |
|
Congratulations, your PR was merged at 812e300. Thanks a lot for contributing to OCA. ❤️ |
Moved from OCA/wms.
Linting fixes ported to v16 OCA/wms#1088.
Depends on