Skip to content

[19.0][MIG] stock_portal_lot_list_download: Migration to 19.0 - #520

Open
Sadiq-OSI wants to merge 8 commits into
OCA:19.0from
Sadiq-OSI:work/migrate-stock-portal-lot-list-download-19
Open

[19.0][MIG] stock_portal_lot_list_download: Migration to 19.0#520
Sadiq-OSI wants to merge 8 commits into
OCA:19.0from
Sadiq-OSI:work/migrate-stock-portal-lot-list-download-19

Conversation

@Sadiq-OSI

Copy link
Copy Markdown

Summary

  • Migrate stock_portal_lot_list_download to Odoo 19.0
  • Preserve the portal delivery lot/serial XLSX download workflow
  • Adapt the module to Odoo 19 stock move line and portal access behavior
  • Add focused tests for portal download, access-token download, denied access, and link visibility

Migration Notes

  • Replaced removed move_line_ids_without_package usage with move_line_ids
  • Kept /my/picking/xlsx/<picking_id> download route and XLSX output behavior
  • Updated lot/serial export fallback to use lot_id.name or lot_name
  • Tightened portal link visibility so the download appears only for the current done picking with lots/serials
  • Updated metadata, generated docs references, root README addon table, and metapackage dependency for 19.0

Tests

  • Fresh Odoo 19 install with module tests: passed
  • Odoo 19 update with module tests: passed
  • Manual portal validation:
    • Done delivery with lot shows Download Lots / SN
    • XLSX downloads with product, lot, and quantity
    • Done delivery without lot/serial tracking does not show the download link

@OCA-git-bot OCA-git-bot added series:19.0 mod:stock_portal_lot_list_download Module stock_portal_lot_list_download labels Jun 24, 2026
@Sadiq-OSI
Sadiq-OSI force-pushed the work/migrate-stock-portal-lot-list-download-19 branch 2 times, most recently from 862caf8 to 6553473 Compare June 26, 2026 20:07

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

Functional review LGTM!

@BhaveshHeliconia

Copy link
Copy Markdown
Contributor

@Sadiq-OSI could you please resolve the conflicts?

@Sadiq-OSI
Sadiq-OSI force-pushed the work/migrate-stock-portal-lot-list-download-19 branch from bb0a81b to 5c776bd Compare July 24, 2026 13:39
@Sadiq-OSI

Copy link
Copy Markdown
Author

@Sadiq-OSI could you please resolve the conflicts?

Done.

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

Labels

mod:stock_portal_lot_list_download Module stock_portal_lot_list_download series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants