Skip to content

[19.0][IMP] mail_attach_existing_attachment_account: foldable attachment picker - #242

Open
cliffkujala wants to merge 1 commit into
OCA:19.0from
purekarting:19.0-mail_attach_existing_attachment_account-foldable-picker
Open

[19.0][IMP] mail_attach_existing_attachment_account: foldable attachment picker#242
cliffkujala wants to merge 1 commit into
OCA:19.0from
purekarting:19.0-mail_attach_existing_attachment_account-foldable-picker

Conversation

@cliffkujala

@cliffkujala cliffkujala commented Aug 9, 2026

Copy link
Copy Markdown

What

Offer the invoice's attachments through the same picker the mail composer gets in #243: folded by default, and laid out in as many columns as the send wizard is wide enough for. An invoice that has been mailed a few times otherwise buries the wizard's buttons under a column of checkboxes.

The account wizard's own "Attach a file" widget is deliberately left alone; only the existing-attachment picker changes.

Depends on

#243, which adds the attachment_checkbox_grid widget in mail_attach_existing_attachment. This PR is a one-line widget swap on top of it.

Test plan

  • Existing Python tests pass.
  • Open Send & Print on an invoice with several attachments: the picker is folded, and unfolds into a multi-column grid.
  • Tick one and send: it is still attached to the outgoing mail.

…cker

Offer the invoice's attachments through the same picker the mail
composer now uses: folded by default, and laid out in as many columns as
the send wizard is wide enough for. An invoice that has been mailed a
few times otherwise buries the wizard's buttons under a column of
checkboxes.
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @rafaelbn, @chienandalu,
some modules you are maintaining are being modified, check this out!

@OCA-git-bot OCA-git-bot added series:19.0 mod:mail_attach_existing_attachment_account Module mail_attach_existing_attachment_account labels Aug 9, 2026
@cliffkujala

Copy link
Copy Markdown
Author

Closing along with #241, which this depends on. Will reopen once verified.

@cliffkujala cliffkujala closed this Aug 9, 2026
@cliffkujala cliffkujala reopened this Aug 9, 2026
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @rafaelbn, @chienandalu,
some modules you are maintaining are being modified, check this out!

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

Labels

mod:mail_attach_existing_attachment_account Module mail_attach_existing_attachment_account series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants