Skip to content

[16.0][ADD] web_responsive_attachment_preview#3058

Open
hbrunn wants to merge 1 commit into
OCA:16.0from
hbrunn:16.0-web_responsive_attachment_preview
Open

[16.0][ADD] web_responsive_attachment_preview#3058
hbrunn wants to merge 1 commit into
OCA:16.0from
hbrunn:16.0-web_responsive_attachment_preview

Conversation

@hbrunn

@hbrunn hbrunn commented Jan 15, 2025

Copy link
Copy Markdown
Member

This module restores the attachment preview on the right side of forms for example on invoices by standard Odoo when using web_responsive. The chatter in that case is always below the form. Note Odoo's cutoff is 1534px width, smaller screens never show the preview.

Use case is a controller going through invoices to confirm them, in that case it's pretty annoying to have to open the attachments and then the preview of the invoice's pdf manually a hundred times a day.

Technically, it removes this patch. (I still think web_responsive does too much at once and should be split up into several ones)

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

Thanks,
Tested on runboat, make sense
LGTM

@flotho

flotho commented Jan 15, 2025

Copy link
Copy Markdown
Member

any conflict with #2695 ?

@hbrunn

hbrunn commented Jan 15, 2025

Copy link
Copy Markdown
Member Author

they do basically the same thing, so one or the other should be merged. People on the other PR didn't seem enthusiastic to have it in the main module, that's why I added it as extra one

@pedrobaeza

Copy link
Copy Markdown
Member

I think that a exclusive view for reviewing invoices with the preview should exist, but most of the work with invoices shouldn't show the preview, as you don't need it, and you have to go to bottom to check the chatter, which is what you use most.

@Stephanvandenberg

Copy link
Copy Markdown

This PR is highly appreciated by our customers so It hink it should be part of the standard package.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants