Skip to content

[17.0][MIG] barcode_stock: Migration to 17.0 - #36

Open
antoniodavid wants to merge 31 commits into
OCA:17.0from
BinhexTeam:17.0-mig-barcode_stock
Open

antoniodavid wants to merge 31 commits into
OCA:17.0from
BinhexTeam:17.0-mig-barcode_stock

Conversation

@antoniodavid

@antoniodavid antoniodavid commented Nov 30, 2026 •

Copy link
Copy Markdown

@BinhexTeam T26859

szalatyzuzanna and others added 29 commits November 30, 2026 12:20
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/
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/
@OCA-git-bot OCA-git-bot added the mod:barcode_stock Module barcode_stock label Nov 30, 2026
@antoniodavid antoniodavid changed the title [17.0][MIG] barcode stock: Migration to 17.0 [WIP][17.0][MIG] barcode stock: Migration to 17.0 Nov 30, 2026
@antoniodavid
antoniodavid force-pushed the 17.0-mig-barcode_stock branch 2 times, most recently from 4a19eed to db8f566 Compare November 30, 2026 18:54
@antoniodavid
antoniodavid force-pushed the 17.0-mig-barcode_stock branch from db8f566 to 7325247 Compare November 30, 2026 19:01
@antoniodavid antoniodavid changed the title [WIP][17.0][MIG] barcode stock: Migration to 17.0 [17.0][MIG] barcode stock: Migration to 17.0 Nov 30, 2026
@antoniodavid antoniodavid changed the title [17.0][MIG] barcode stock: Migration to 17.0 [17.0][MIG] barcode_stock: Migration to 17.0 Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants