[ADD] web_list_record_popup: new module#3522
Draft
rvalyi wants to merge 1 commit into
Draft
Conversation
2657f53 to
079acbd
Compare
079acbd to
bf720d7
Compare
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:
Inherit from
web_list_record_popup.mixinin your model and define_popup_button_xpaths:The button will only appear if the
web_list_record_popupmodule isinstalled.
I'm not sure why we cannot run the Hoot tests on Runboat, but here is a print of them passing locally:
