Skip to content

[12.0] [MIG] web_tree_image #1100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 25 commits into from

Conversation

nikul-serpentcs
Copy link
Member

Display images and icons in tree view

This module defines a tree image widget, to be used with either binary fields or (function) fields of type character. Use widget='image' in your view definition. Optionally, set a width attribute. Default width is 30px.

@nikul-serpentcs
Copy link
Member Author

@JayVora-SerpentCS @pedrobaeza Can you please review it?

@pedrobaeza pedrobaeza added this to the 12.0 milestone Nov 9, 2018
@pedrobaeza
Copy link
Member

Odoo core now supports images in trees. The only missing part now is reading images from URLs, but this module is not needed as is.

@nikul-serpentcs
Copy link
Member Author

@pedrobaeza In base image size very large.
Like This.
odoo 1

that's why this module here useful, In module set image size with tooltip.

@pedrobaeza
Copy link
Member

@nikul-serpentcs but that's something you can limit size putting options and attributes AFAIK

@nikul-serpentcs
Copy link
Member Author

nikul-serpentcs commented Nov 9, 2018

@nikul-serpentcs but that's something you can limit size putting options and attributes AFAIK

Yes, But Regarding v11 #1006 (comment) and #1006 (comment)

we used size with tooltip

CC @tarteo

@oca-clabot
Copy link

Hey @nikul-serpentcs, thank you for your Pull Request.

It looks like some users haven't signed our Contributor License Agreement, yet.
You can read and sign our full Contributor License Agreement here: http://odoo-community.org/page/cla
Here is a list of the users:

Appreciation of efforts,
OCA CLAbot

@nikul-serpentcs
Copy link
Member Author

@pedrobaeza @tarteo @oca-clabot All comment changes are Done, Can you please move forward.

@nikul-serpentcs
Copy link
Member Author

@pedrobaeza @tarteo @oca-clabot All comment changes are Done, Can you please move forward.

Ping

@TimLai125
Copy link

Hi @pedrobaeza @tarteo @nikul-serpentcs May I know if there is anything pending with this PR?

Copy link
Member

@tarteo tarteo left a comment

Choose a reason for hiding this comment

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

@TimLai125 The README is still bad but the functionality is OK.

Copy link

@TimLai125 TimLai125 left a comment

Choose a reason for hiding this comment

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

Might be a picky comment, the tooltip image is not showed for the first hover, e.g. https://drive.google.com/file/d/1A3Y-Ag4Z508uXTKmocBO9Cz6-yCWOroo/view

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@tarteo
Copy link
Member

tarteo commented Apr 30, 2019

Might be a picky comment, the tooltip image is not showed for the first hover, e.g. https://drive.google.com/file/d/1A3Y-Ag4Z508uXTKmocBO9Cz6-yCWOroo/view

This seems the case, this needs to be fixed before merge unless this was also the case in 11.0.

Copy link
Member

@Tardo Tardo left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@pedrobaeza
Copy link
Member

/ocabot merge

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Rebased to 12.0-ocabot-merge-pr-1100-by-pedrobaeza-bump-no, awaiting test results.

@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at ede66ca. Thanks a lot for contributing to OCA. ❤️

PS: Don't worry if GitHub says there are unmerged commits: it is due to a rebase before merge. All commits of this PR have been merged into 12.0.

OCA-git-bot added a commit that referenced this pull request Jun 25, 2019
Signed-off-by pedrobaeza
@nikul-serpentcs nikul-serpentcs deleted the 12-mig-web_tree_image branch June 26, 2019 04:33
@legalsylvain
Copy link
Contributor

Hi @nikul-serpentcs

just a message to thank you for this excellent module, which covers exactly a recent need in my company.

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

Successfully merging this pull request may close these issues.