Skip to content
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

[16.0] shopfloor: Extended details service for products and locations #899

Draft
wants to merge 119 commits into
base: 16.0
Choose a base branch
from

Conversation

lmignon
Copy link
Sponsor Contributor

@lmignon lmignon commented May 10, 2024

@OCA-git-bot
Copy link
Contributor

Hi @guewen, @simahawk, @sebalix,
some modules you are maintaining are being modified, check this out!

JuMiSanAr and others added 29 commits May 15, 2024 13:44
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: wms-14.0/wms-14.0-shopfloor
Translate-URL: https://translation.odoo-community.org/projects/wms-14-0/wms-14-0-shopfloor/
The destination can be a location or a package.
When the destination is a location the lines are alreday locked by
`write_destination_on_lines`.

But when the destination is a package, no locks were applied.
- a package is now also not valid
  if it already contains move lines from
  an other picking type
If you want to get the data for a package it always computes the move_line_count.
This is very bad for perf on scenario - like zone picking - where you have a long list of moves with packages
w/o needing such information.

The only scenario which is using the move_line_count from the package data is the checkout.
So i think it is convenient to not compute it by default only if it is really needed.
JuMiSanAr and others added 19 commits May 15, 2024 13:53
Since this func is not really grouping (return only the 1st line)
some screens were mis-behaving due to the lack of info coming from other lines.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: wms-14.0/wms-14.0-shopfloor_mobile
Translate-URL: https://translation.odoo-community.org/projects/wms-14-0/wms-14-0-shopfloor_mobile/
@lmignon lmignon force-pushed the 16.0-shopfloor-extended-details-lmi branch from a035dc8 to 842bd83 Compare May 15, 2024 12:43
The sorting of move lines on location must use the location on the line since the one on the move is the original one and the one on the line is the one from the reserved quant
@lmignon lmignon force-pushed the 16.0-shopfloor-extended-details-lmi branch from 842bd83 to 314994c Compare May 15, 2024 15:27
@lmignon lmignon marked this pull request as draft May 17, 2024 06:59
@lmignon lmignon force-pushed the 16.0-shopfloor-extended-details-lmi branch from 314994c to 7b55516 Compare May 17, 2024 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet