-
-
Notifications
You must be signed in to change notification settings - Fork 618
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[17.0][MIG] pos_lot_selection: Migration to 17.0 #1106
[17.0][MIG] pos_lot_selection: Migration to 17.0 #1106
Conversation
With PR odoo/odoo#23698 merged, clone control is no longer needed for lots. [FIX] pos_lot_selection: group lots by quants fixup! [FIX] pos_lot_selection: group lots by quants fixup! fixup! [FIX] pos_lot_selection: group lots by quants
Object.assign is introduced in ES6 (2015) which is not supported by PhantomJS. Replace it with the equivalent _.extend function to prevent frontend tests from failing. 1. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Specifications 2. ariya/phantomjs#14506
Currently translated at 100.0% (1 of 1 strings) Translation: pos-11.0/pos-11.0-pos_lot_selection Translate-URL: https://translation.odoo-community.org/projects/pos-11-0/pos-11-0-pos_lot_selection/ca/
Regular Point of Sale Users with the minimal access rights are not allowed to read the `stock.production.lot` model.
Currently translated at 100.0% (2 of 2 strings) Translation: pos-16.0/pos-16.0-pos_lot_selection Translate-URL: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_lot_selection/it/
Currently translated at 100.0% (2 of 2 strings) Translation: pos-16.0/pos-16.0-pos_lot_selection Translate-URL: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_lot_selection/it/
Currently translated at 100.0% (2 of 2 strings) Translation: pos-16.0/pos-16.0-pos_lot_selection Translate-URL: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_lot_selection/es/
Currently translated at 100.0% (2 of 2 strings) Translation: pos-16.0/pos-16.0-pos_lot_selection Translate-URL: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_lot_selection/it/
/ocabot migration pos_lot_selection |
It works
The flow worked, but on point 8, in the POS session data I have the correct lot sold, but in the inventory app I have another lot being delivered. I think this is an odoo bug rather than this module's bug as it also happens without the module. |
@nguyenminhchien I made the migration but made it compatible with an offline PoS. Do you prefer that I make a PR directly to your PR or should I made a new one (I would keep part of your code regarding to tests for example) |
Please create a pull request to my branch |
I made the PR: Can you review it? |
@etobella hi, i merged your commit but the test was failed, please check it. thanks. |
e031ae0
to
5f4f759
Compare
I made the fix, it was just a small typo error on the last change 😞 |
Hello, new PR here nguyenminhchien#4 |
4605a74
to
115bde5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functional tests ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/ocabot merge nobump
This PR looks fantastic, let's merge it! |
This PR has the |
Congratulations, your PR was merged at 1d07940. Thanks a lot for contributing to OCA. ❤️ |
ref: BSRD-704