Skip to content

[17.0][ADD] stock_picking_report_printed_flag: add printed flag support#496

Open
atgalvez08 wants to merge 2 commits into
OCA:17.0from
BinhexTeam:17.0-add-stock_picking_report_printed_flag
Open

[17.0][ADD] stock_picking_report_printed_flag: add printed flag support#496
atgalvez08 wants to merge 2 commits into
OCA:17.0from
BinhexTeam:17.0-add-stock_picking_report_printed_flag

Conversation

@atgalvez08

Copy link
Copy Markdown

@BinhexTeam

Depends on:

Description

This module extends stock.picking to support the printed flag
framework provided by report_printed_flag.

It adds printed report tracking capabilities to warehouse operations,
delivery slips, receipts, and transfer documents through a reusable
mixin-based integration.

Features

  • Printed flag support for stock.picking
  • Printed logs integration
  • Printed report names computation
  • Search filters for printed / not printed records
  • Group by printed status and printed report names
  • Multi-company support

Included components

  • stock.picking integration through report.printed.mixin
  • Stock picking views extensions
  • Search view extensions
  • Printed logs access action

Design considerations

The implementation intentionally reuses the generic framework
provided by report_printed_flag.

The module:

  • avoids duplicating framework logic
  • relies on reusable mixin inheritance
  • keeps stock-specific logic minimal
  • remains compatible with future framework extensions

Technical details

  • Inherits from report.printed.mixin
  • Uses generic printed logs linkage through (res_model, res_id)
  • Integrates with existing stock picking views
  • Supports optional printed report names computation

Temporary dependency

This PR temporarily references:

through test-requirements.txt.

The temporary dependency commit will be removed once the
framework PR is merged.

Dependencies

  • stock
  • report_printed_flag

Testing

Includes integration test coverage for:

  • printed flag assignment
  • printed logs creation
  • printed report names computation
  • batch printing behavior
  • non-configured reports
  • UI actions

Checklist

  • Module follows OCA structure
  • README aligned with implementation
  • Tests included
  • No duplicated framework logic
  • License headers included

@OCA-git-bot OCA-git-bot added series:17.0 mod:stock_picking_report_printed_flag Module stock_picking_report_printed_flag labels May 7, 2026

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

Code Review: Great work! The code looks good to me (LGTM). Thank you for your contribution! I've provided a few suggestions for your consideration—feel free to address them as you see fit.

Comment thread stock_picking_report_printed_flag/readme/TECHNICAL.md Outdated
Comment thread stock_picking_report_printed_flag/readme/TESTING.md Outdated
@atgalvez08 atgalvez08 marked this pull request as ready for review May 15, 2026 14:09
This module extends stock.picking to support the
report_printed_flag framework.

It adds printed report tracking capabilities to warehouse operations,
delivery slips, receipts, and transfer documents.

Features:
- printed flag support
- printed logs access
- printed report names
- search filters and group by options
- multi-company support

The implementation relies on the reusable
report.printed.mixin model.
@atgalvez08 atgalvez08 force-pushed the 17.0-add-stock_picking_report_printed_flag branch from a94f3ba to a77978c Compare May 19, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:stock_picking_report_printed_flag Module stock_picking_report_printed_flag series:17.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants