Skip to content

[14.0][IMP] shopfloor: Single pack transfer owner#1135

Open
mt-software-de wants to merge 1 commit intoOCA:14.0from
mt-software-de:14-shopfloor-single_pack_transfer-owner
Open

[14.0][IMP] shopfloor: Single pack transfer owner#1135
mt-software-de wants to merge 1 commit intoOCA:14.0from
mt-software-de:14-shopfloor-single_pack_transfer-owner

Conversation

@mt-software-de
Copy link

Allow to move packages of owner and keep owner

cc @i-vyshnevska @raumschmiede-joshuaL @jbaudoux

Allow to move packages of owner and keep owner id
@OCA-git-bot
Copy link
Contributor

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

Comment on lines +185 to +186
if package.owner_id:
vals["owner_id"] = package.owner_id.id
Copy link
Contributor

Choose a reason for hiding this comment

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

You should do that only when you want to change ownership from what I remember.

The package will have an owner when all quants inside it have that owner.
The picking should keep the quant ownership during the transfer (unless you force another one on the picking). The created moves will have the owner of the quant inside the package. Same for the move lines.

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.

3 participants