Skip to content

[19.0][MIG] contract_sale_picking_tag - #1502

Open
RaphaelVicini wants to merge 4 commits into
OCA:19.0from
acsone:19.0-mig-contract_sale_picking_tag
Open

[19.0][MIG] contract_sale_picking_tag#1502
RaphaelVicini wants to merge 4 commits into
OCA:19.0from
acsone:19.0-mig-contract_sale_picking_tag

Conversation

@RaphaelVicini

Copy link
Copy Markdown
Contributor

Based on (#787)

@OCA-git-bot OCA-git-bot added series:19.0 mod:contract_sale_picking_tag Module contract_sale_picking_tag labels Aug 21, 2026
@RaphaelVicini
RaphaelVicini force-pushed the 19.0-mig-contract_sale_picking_tag branch 2 times, most recently from 2f50b81 to 4ba6b16 Compare August 21, 2026 08:18
:rtype: _type_
"""
res = super()._get_new_picking_values()
contract_tags = self.mapped("sale_line_id.order_id.contract_tag_ids")

@FrancoMaxime FrancoMaxime Aug 24, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think in Odoo 19 you can do directly

Can you test?

Suggested change
contract_tags = self.mapped("sale_line_id.order_id.contract_tag_ids")
contract_tags = self.sale_line_id.order_id.contract_tag_ids

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks for yout review!

@FrancoMaxime FrancoMaxime left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM: code review

A minor improvment

@RaphaelVicini
RaphaelVicini force-pushed the 19.0-mig-contract_sale_picking_tag branch from 4ba6b16 to 86850b9 Compare August 24, 2026 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:contract_sale_picking_tag Module contract_sale_picking_tag series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants