odoo/odoo#163048

Created by fw-bot
label
odoo-dev:master-saas-17.2-pos_self_order_camera_barcode-vlst-iz4y-fw
head
1559a5543a791c5e59a8fbcad37e3a0626cd22cb
target
master
merged
3 weeks ago by POS IoT, Vlad Stroia (vlst)
forward-port of
odoo/odoo#162651 DETACHED (conflicts: ('a588f1ae810eed967c9fe252151e41afbb326967', 'Auto-merging addons/point_of_sale/static/src/app/navbar/navbar.js\nAuto-merging addons/point_of_sale/static/src/app/navbar/navbar.xml\nAuto-merging addons/point_of_sale/static/src/app/screens/product_screen/product_screen.js\nAuto-merging addons/point_of_sale/static/src/app/screens/product_screen/product_screen.xml\nCONFLICT (content): Merge conflict in addons/point_of_sale/static/src/app/screens/product_screen/product_screen.xml\nCONFLICT (modify/delete): addons/point_of_sale/static/src/app/store/models.js deleted in HEAD and modified in a588f1ae810e ([IMP] point_of_sale: scan barcode with camera). Version a588f1ae810e ([IMP] point_of_sale: scan barcode with camera) of addons/point_of_sale/static/src/app/store/models.js left in tree.\nAuto-merging addons/pos_restaurant/static/src/overrides/components/product_screen/product_screen.js\nAuto-merging addons/pos_restaurant/static/src/overrides/components/product_screen/product_screen.xml\nCONFLICT (content): Merge conflict in addons/pos_restaurant/static/src/overrides/components/product_screen/product_screen.xml\n', '19:19:07.077355 git.c:463 trace: built-in: git cherry-pick a588f1ae810eed967c9fe252151e41afbb326967\nerror: could not apply a588f1ae810e... [IMP] point_of_sale: scan barcode with camera\nhint: After resolving the conflicts, mark them with\nhint: "git add/rm <pathspec>", then run\nhint: "git cherry-pick --continue".\nhint: You can instead skip this commit with "git cherry-pick --skip".\nhint: To abort and get back to the state before "git cherry-pick",\nhint: run "git cherry-pick --abort".\n----------\nstatus:\n', ['a588f1ae810eed967c9fe252151e41afbb326967']) ('a588f1ae810eed967c9fe252151e41afbb326967', 'Auto-merging addons/point_of_sale/static/src/app/navbar/navbar.js\nAuto-merging addons/point_of_sale/static/src/app/navbar/navbar.xml\nAuto-merging addons/point_of_sale/static/src/app/screens/product_screen/product_screen.js\nAuto-merging addons/point_of_sale/static/src/app/screens/product_screen/product_screen.xml\nCONFLICT (content): Merge conflict in addons/point_of_sale/static/src/app/screens/product_screen/product_screen.xml\nCONFLICT (modify/delete): addons/point_of_sale/static/src/app/store/models.js deleted in HEAD and modified in a588f1ae810e ([IMP] point_of_sale: scan barcode with camera). Version a588f1ae810e ([IMP] point_of_sale: scan barcode with camera) of addons/point_of_sale/static/src/app/store/models.js left in tree.\nAuto-merging addons/pos_restaurant/static/src/overrides/components/product_screen/product_screen.js\nAuto-merging addons/pos_restaurant/static/src/overrides/components/product_screen/product_screen.xml\nCONFLICT (content): Merge conflict in addons/pos_restaurant/static/src/overrides/components/product_screen/product_screen.xml\n', '19:19:07.077355 git.c:463 trace: built-in: git cherry-pick a588f1ae810eed967c9fe252151e41afbb326967\nerror: could not apply a588f1ae810e... [IMP] point_of_sale: scan barcode with camera\nhint: After resolving the conflicts, mark them with\nhint: "git add/rm <pathspec>", then run\nhint: "git cherry-pick --continue".\nhint: You can instead skip this commit with "git cherry-pick --skip".\nhint: To abort and get back to the state before "git cherry-pick",\nhint: run "git cherry-pick --abort".\n----------\nstatus:\n', ['a588f1ae810eed967c9fe252151e41afbb326967']))

[FW][IMP] point_of_sale: scan barcode with camera

In this commit we add the ability to scan barcodes in pos using the integrated camera of the device.

We override the `BarcodeDialog` to permit the functionality of scanning multiple barcodes one after the other. Before, the dialog would close after a barcode was scanned. This can now be controlled a prop.

Task: 3878930




---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Forward-Port-Of: odoo/odoo#162651