Repository navigation
[17.0][MIG] barcode_stock: Migration to 17.0 - #36
Open
antoniodavid wants to merge 31 commits into
Open
antoniodavid wants to merge 31 commits into
antoniodavid wants to merge 31 commits into
Conversation
The operation lists draw their groups in alphabetical order, but opened the group of the operation that came in first (the earliest scheduled), so the group left open could sit in the middle of the list, with the top one collapsed. The group opened is now the first one shown.
Grouped by date, the groups were drawn in the alphabetical order of their labels, so "Oct 20" came before "Today", and November before October. With the first group shown now open, a future day could open while today stayed collapsed. Date groups now follow the calendar, the operations without a date last, at every grouping level; the other levels keep going by name. A day was also labelled by its month and day only, so the same date of two different years shared one group. A day outside the current year now shows its year too.
The Group menu already lists `this.groupOrder`, but toggleGroupLevel read the module's GROUP_ORDER constant, so a module adding a grouping level had to copy the method to get its level into the nesting order. Read the attribute instead, and set it from a copy of the constant so extending it never changes the constant shared by every list. Drop addGroup, toggleGroupBy and availableGroupingOptions, which no template or module calls.
Currently translated at 0.3% (1 of 261 strings) Translation: barcode-interface-18.0/barcode-interface-18.0-barcode_stock Translate-URL: https://translation.odoo-community.org/projects/barcode-interface-18-0/barcode-interface-18-0-barcode_stock/fr/
… chosen A delivery or internal move that Odoo reserved against a lot opened with no lot chosen, so the operator had to pick from the list the very lot the reservation already named before confirming. It now opens with the lot of the first reserved line that still has something to pick, as Odoo's own barcode app does; a scanned lot, or one the operator chooses, still wins. Receptions are left as they were. The wizard then works on that reserved line: what is left to pick (shown, and filled by Fulfill) is what the line still holds, not the whole move, and confirming puts the pick on it. A move reserved over several lines or lots is so completed line by line, and one opened by tapping it starts at no more than its line holds.
Every confirmation from the scanner wrote the move's source and destination on the move line it filled, so a picking reserved in sublocations took its stock from the move's location on validation (negative quants there, the shelves untouched), and a reception lost its putaway shelf. A line now keeps the locations Odoo gave it unless the operator chooses another in the move wizard, which shows the line's. For each reserved line to be picked where it was reserved, a move is picked line by line outside receptions, with lots or without: the wizard works on the first reserved line with something left, and a pick is spread over the reserved lines in turn, each up to what it holds. A lot the reservation does not carry is taken by the server from its own quants under the move's source (removal strategy, least packages included, stock nothing holds first, one line per shelf, package and owner, to the destination the operator chose), as much of the other lots' reservation as it replaces released, rather than written over another lot's line; with no stock there, it is only picked from a source the operator chooses.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: barcode-interface-18.0/barcode-interface-18.0-barcode_stock Translate-URL: https://translation.odoo-community.org/projects/barcode-interface-18-0/barcode-interface-18-0-barcode_stock/
Currently translated at 100.0% (262 of 262 strings) Translation: barcode-interface-18.0/barcode-interface-18.0-barcode_stock Translate-URL: https://translation.odoo-community.org/projects/barcode-interface-18-0/barcode-interface-18-0-barcode_stock/it/
In the move wizard, a label of another lot than the one already read chose that lot and added its quantity to the first one. It is now left out with a warning, as is a label of a lot that can't be used; a label of the selected lot only adds its quantity.
Remaining, picked and total quantities showed float noise, such as "12.920000000000002 Picked" or Fulfill "+1.11e-16". They are now rounded to the "Product Unit of Measure" decimals.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: barcode-interface-18.0/barcode-interface-18.0-barcode_stock Translate-URL: https://translation.odoo-community.org/projects/barcode-interface-18-0/barcode-interface-18-0-barcode_stock/
Currently translated at 100.0% (264 of 264 strings) Translation: barcode-interface-18.0/barcode-interface-18.0-barcode_stock Translate-URL: https://translation.odoo-community.org/projects/barcode-interface-18-0/barcode-interface-18-0-barcode_stock/it/
…mbers and avoid double scan serial lots
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: barcode-interface-18.0/barcode-interface-18.0-barcode_stock Translate-URL: https://translation.odoo-community.org/projects/barcode-interface-18-0/barcode-interface-18-0-barcode_stock/
Currently translated at 100.0% (268 of 268 strings) Translation: barcode-interface-18.0/barcode-interface-18.0-barcode_stock Translate-URL: https://translation.odoo-community.org/projects/barcode-interface-18-0/barcode-interface-18-0-barcode_stock/it/
antoniodavid
force-pushed
the
17.0-mig-barcode_stock
branch
2 times, most recently
from
November 30, 2026 18:54
4a19eed to
db8f566
Compare
antoniodavid
force-pushed
the
17.0-mig-barcode_stock
branch
from
November 30, 2026 19:01
db8f566 to
7325247
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@BinhexTeam T26859