OCA / stock-logistics-barcode

https://odoo-community.org/psc-teams/logistics-18
GNU Affero General Public License v3.0
155 stars 321 forks source link

[15.0][FIX] stock_barcodes: Error when using arrows on Inventory Overview #605

Closed CarlosRoca13 closed 2 months ago

CarlosRoca13 commented 2 months ago

To reproduce the error use arrows of the keyboard on the Inventory Overview. An error will be thrown because the function _onDocumentKeyDown is undefined.

By doing this change, when the function is undefined it will work like normally it does.

cc @Tecnativa TT49029

ping @carlosdauden @sergio-teruel

sergio-teruel commented 2 months ago

ping @chienandalu

OCA-git-bot commented 2 months ago

What a great day to merge this nice PR. Let's do it! Prepared branch 15.0-ocabot-merge-pr-605-by-pedrobaeza-bump-patch, awaiting test results.

OCA-git-bot commented 2 months ago

Congratulations, your PR was merged at 3ef34b84a4f9da0e2ee44f78bb1aa3fa66e2d585. Thanks a lot for contributing to OCA. ❤️