Skip to content

Conversation

@santostelmo
Copy link
Contributor

When receiving goods, ensure that only the content of the
package is put back in stock and not the package itself.

@santostelmo santostelmo force-pushed the 16.0-add-stock_picking_incoming_empty_package branch from 16f9075 to 76e81ea Compare July 23, 2025 07:58
@rousseldenis rousseldenis added this to the 16.0 milestone Aug 28, 2025
def _action_done(self):
for picking in self:
if (
picking.picking_type_id.code == "incoming"
Copy link
Contributor

Choose a reason for hiding this comment

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

@santostelmo I'm wondering if this could be more generic as this is not reflected in help nor documentation (as you filter the incoming only).

I would have renamed it stock_picking_empty_package no ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In my opinion, this operation only makes sense in the specific context of a reception. At the moment, I can't imagine any other context.

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.

3 participants