[ADD] 14.0 pos_product_multi_barcode#768
Conversation
8f12ec6 to
cd7d227
Compare
|
@PierrickBrun can you rebase for testing? |
|
/ocabot rebase |
|
Sorry @PierrickBrun you are not allowed to rebase. To do so you must either have push permissions on the repository, or be a declared maintainer of all modified addons. If you wish to adopt an addon and become it's maintainer, open a pull request to add your GitHub login to the |
cd7d227 to
9247aea
Compare
9247aea to
54c1f2a
Compare
|
@PierrickBrun tried after last commit, same behavior as per screenshot above |
|
@PierrickBrun thanks for this PR! |
|
I've looked into it, apparently the problem was that depending on the modules installed, barcodes where loaded before the products (and it was then impossible to use Because there was no way of controlling the loading order I changed all the logic and used the same logic as pos_supplierinfo_barcode |
Great! Let me check |
|
@PierrickBrun with current version, added two barcodes to a product, but none of them is detected when scanned in POS |
@PierrickBrun good news for this case ? |
I did the same test via runboat (and on my dev env obviously) and it all worked well. Do you test using an actual barcode scanner ? I did it using the debug tool so maybe this is linked to a difference between the prod/debug mode of the pos |
Thanks for your reply! |
|
@OCA/pos-maintainers what do you say? :) |
@PierrickBrun Thanks for your support! |
|
@OCA/pos-maintainers merge ? :) |
|
|
@PierrickBrun just gentleman reminder :) |
d65b1a9 to
968561b
Compare
|
@legalsylvain take a look :) |
|
No review. /ocabot merge patch |
|
On my way to merge this fine PR! |
|
It looks like something changed on |
|
Congratulations, your PR was merged at 18d6773. Thanks a lot for contributing to OCA. ❤️ |
|
hi @PierrickBrun , I tried the module on runboat for pos-14 but the module does not seem to be working anymore, is it only me? or could you take a look? It's strange, as it doesn't seem anything was merged on pos-14 after this PR 🤔 |
|
Hi @francesco-ooops , |
would you be so kind to link runboat and tell me which product you used for testing? |
Here is the full URL of the product used: http://oca-pos-14-0-2875765502fd.runboat.odoo-community.org/web#id=15&action=368&model=product.template&view_type=form&cids=&menu_id=224 |
@PierrickBrun this is curious, just tested and secondary barcode doesn't seem to work: https://recordit.co/nyTbAEi5wr btw I'm copy/pasting the barcode, not using a scanner, do you see anything strange in the video? |
Ok I understand now, I never tested via the search bar, only via barcode scanner (or the debugger version of the barcode scanner). |
|
thank you @PierrickBrun , do you think you can make a PR to fix this behavior? |
|
I also asked my colleague in the office to test with barcode scanner and that's not working for us as well https://recordit.co/ifkui6FTgC (test on runboat) |
|
@legalsylvain can I ask you for a functional test of this module? we're struggling to understand why we can't make it work on runbot or locally (and we tested it successfully on runbot before merge) |
|
Hi sorry no time for the moment. I trust the contributor and reviewer to move forward on this topic. |
|
Hi @francesco-ooops I think I will fix this in a future PR but I do not know when. About the barcode scanner, you should scan the barcode while not having your cursor in the search bar. That way Odoo will recognise it comes from a barcode scanner and use a different code path. |
Hi @PierrickBrun. Thanks for your answer. In the meantime, could you just make a simple PR to add this point as a limitation in a thanks ! |



glue module for pos/product_multi_barcode
https://github.com/OCA/stock-logistics-barcode/tree/14.0/product_multi_barcode