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][ADD] stock_safe_scrap #2181

Open
wants to merge 1 commit into
base: 16.0
Choose a base branch
from

Conversation

rousseldenis
Copy link
Contributor

No description provided.

@rousseldenis rousseldenis added this to the 16.0 milestone Oct 23, 2024
@rousseldenis
Copy link
Contributor Author

@lmignon @phschmidt

@rousseldenis rousseldenis force-pushed the 16.0-add-stock-safe-scrap-dro branch from e0936c1 to 72be0ed Compare October 23, 2024 09:08
@rousseldenis rousseldenis force-pushed the 16.0-add-stock-safe-scrap-dro branch from 72be0ed to 552e150 Compare October 23, 2024 09:24
Comment on lines +44 to +54
for _key, scrap in self.partition(
lambda a_scrap: dict(
{key: a_scrap[key] for key in self._scrap_origin_common_keys()}
)
).items():
scrap.in_progress_picking_ids = move_lines.filtered(
lambda line: all(
(line[move_key] == scrap.mapped(move_key))
for move_key in self._scrap_origin_common_keys()
)
).picking_id
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rousseldenis Can you explain this code? It's difficult to understand it. A comment would be welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants