Skip to content

[19.0][MIG] stock_picking_report_delivery_custom_name: Migration to 19.0#497

Open
chienandalu wants to merge 6 commits into
OCA:19.0from
moduon:19.0-mig-stock_picking_report_delivery_custom_name
Open

[19.0][MIG] stock_picking_report_delivery_custom_name: Migration to 19.0#497
chienandalu wants to merge 6 commits into
OCA:19.0from
moduon:19.0-mig-stock_picking_report_delivery_custom_name

Conversation

@chienandalu

@chienandalu chienandalu commented May 18, 2026

Copy link
Copy Markdown
Member
image

cc @moduon MT-14456

please review @EmilioPascual @fcvalgar

@OCA-git-bot OCA-git-bot added series:19.0 mod:stock_picking_report_delivery_custom_name Module stock_picking_report_delivery_custom_name labels May 18, 2026

@EmilioPascual EmilioPascual left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@chienandalu good job

Functional and code review

@chienandalu

Copy link
Copy Markdown
Member Author

@fcvalgar please review

@BhaveshHeliconia BhaveshHeliconia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just a minor suggestion: could we use BaseCommon here? That way, we wouldn’t need to create a res.partner record manually.

Comment thread stock_picking_report_delivery_custom_name/tests/test_delivery_slip_custom_name.py Outdated
Comment thread stock_picking_report_delivery_custom_name/tests/test_delivery_slip_custom_name.py Outdated
@chienandalu chienandalu force-pushed the 19.0-mig-stock_picking_report_delivery_custom_name branch from b4ba66a to e4e19ad Compare May 27, 2026 07:10
@chienandalu

Copy link
Copy Markdown
Member Author

Suggestions applied @BhaveshHeliconia

@fcvalgar fcvalgar left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Great work on this contribution @chienandalu . I have tested the module and the feature works as expected.

The following tests were performed:
Test 1: OK - Delivery slip with product delivery description. The report displayed the public delivery description and did not show the internal product name.
Test 2: OK - Delivery slip before validating the transfer. The report correctly displayed the custom delivery description on pending operations.
Test 3: OK - Delivery slip after validating the transfer. The report correctly displayed the custom delivery description on done operations.
Test 4: OK - Product without delivery description. The report kept the standard Odoo behavior and displayed the product name.
Test 5: OK - Delivery description equal to the product name. The product name was displayed only once and was not duplicated.
Test 6: OK - Manually edited description on the transfer operation. The report displayed the custom operation description and hid the internal product name.
Test 7: OK - Delivery slip with multiple products, some with custom descriptions and others without. The logic was correctly applied per line.
Test 8: OK - Sensitive internal product name not visible in the report. The delivery slip only displayed the public description.
Test 9: OK - Standard behavior for products without special configuration. The delivery slip remained unchanged.

Everything looks good to me, so I approve this PR.

Image

@BhaveshHeliconia BhaveshHeliconia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code and functional review LGTM!

@rafaelbn

Copy link
Copy Markdown
Member

/ocabot migration stock_picking_report_delivery_custom_name

@OCA-git-bot OCA-git-bot added this to the 19.0 milestone May 29, 2026
@OCA-git-bot OCA-git-bot mentioned this pull request May 29, 2026
17 tasks

@rafaelbn rafaelbn 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.

Functional test 👍🏼

/ocabot merge patch

@OCA-git-bot

Copy link
Copy Markdown
Contributor

On my way to merge this fine PR!
Prepared branch 19.0-ocabot-merge-pr-497-by-rafaelbn-bump-patch, awaiting test results.

@OCA-git-bot

Copy link
Copy Markdown
Contributor

@rafaelbn your merge command was aborted due to failed check(s), which you can inspect on this commit of 19.0-ocabot-merge-pr-497-by-rafaelbn-bump-patch.

After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.

@OCA-git-bot

Copy link
Copy Markdown
Contributor

@rafaelbn your merge command was aborted due to failed check(s), which you can inspect on this commit of 19.0-ocabot-merge-pr-497-by-rafaelbn-bump-patch.

After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.

@chienandalu chienandalu force-pushed the 19.0-mig-stock_picking_report_delivery_custom_name branch from e4e19ad to b4a340f Compare June 8, 2026 13:13
@chienandalu

Copy link
Copy Markdown
Member Author

Rebased to fix errors. Please @rafaelbn try to merge again

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

Labels

approved mod:stock_picking_report_delivery_custom_name Module stock_picking_report_delivery_custom_name series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants