[ADD] web_list_record_popup: new module - #3522
Draft
rvalyi wants to merge 1 commit into
Draft
Conversation
rvalyi
marked this pull request as draft
April 23, 2026 03:52
rvalyi
force-pushed
the
18.0-add-web_list_record_popup
branch
5 times, most recently
from
April 23, 2026 04:28
2657f53 to
079acbd
Compare
rvalyi
force-pushed
the
18.0-add-web_list_record_popup
branch
from
April 23, 2026 12:54
079acbd to
bf720d7
Compare
rvalyi
force-pushed
the
18.0-add-web_list_record_popup
branch
from
June 19, 2026 13:14
bf720d7 to
77dee3c
Compare
rvalyi
force-pushed
the
18.0-add-web_list_record_popup
branch
from
June 19, 2026 13:49
77dee3c to
832eb3a
Compare
rvalyi
force-pushed
the
18.0-add-web_list_record_popup
branch
2 times, most recently
from
July 22, 2026 14:12
b6bf121 to
22c756f
Compare
rvalyi
force-pushed
the
18.0-add-web_list_record_popup
branch
from
July 22, 2026 14:22
22c756f to
12a4042
Compare
Member
|
@rvalyi draft? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extracted from what we used in the Brazilian localization in version 16.0
Recent Odoo versions allows quick edition of order lines with inline editable list.
But sometimes the user wants to read or edit more details on the lines through the Form popup. This modules allows the best of the two edition modes: you can still have quick edition via the inline list edition, but you now have a Javascript button you can click on to open the Form view popup using the view defined inline in the One2many field if any.
Features:
Usage:
A) To use it, adding a dependency to the web_list_record_popup module:
web_list_record_popup.mixin_popup_button_xpathsclass attribute with xpath expressions where buttons should be injectedExample:
B) If you prefer use it WITHOUT adding a hard dependency to the web_list_record_popup module instead:
Then don't add the module dependency and don't inherit from
web_list_record_popup.mixinbut override_get_viewinstead.Example:
Thus, the popup button will only be injected if the
web_list_record_popupmodule is installed.I'm not sure why we cannot run the Hoot tests on Runboat, but here is a print of them passing locally:
