[IMP] *: add warning for auto-added invisible/readonly fields in XML views#116
Open
lef-adhoc wants to merge 1 commit intoOCA:masterfrom
Open
[IMP] *: add warning for auto-added invisible/readonly fields in XML views#116lef-adhoc wants to merge 1 commit intoOCA:masterfrom
lef-adhoc wants to merge 1 commit intoOCA:masterfrom
Conversation
thienvh332
reviewed
Nov 14, 2024
| @@ -0,0 +1,2 @@ | |||
| .xml: | |||
| invisible=(["']1["']|["']True["'])|column_invisible=(["']1["']|["']True["']): "[18] Fields that are required by Python expressions (invisible, column_invisible, readonly, required, context, domain) are now added automatically as invisible and readonly. You can remove these fields from XML views unless they are necessary for specific logic. More details: https://github.com/odoo/odoo/pull/137031." | |||
Contributor
There was a problem hiding this comment.
In xml code "True" and "true" are synonymous
Suggested change
| invisible=(["']1["']|["']True["'])|column_invisible=(["']1["']|["']True["']): "[18] Fields that are required by Python expressions (invisible, column_invisible, readonly, required, context, domain) are now added automatically as invisible and readonly. You can remove these fields from XML views unless they are necessary for specific logic. More details: https://github.com/odoo/odoo/pull/137031." | |
| invisible=(["']1["']|["']True["']|["']true["'])|column_invisible=(["']1["']|["']True["']|["']true["']): "[18] Fields that are required by Python expressions (invisible, column_invisible, readonly, required, context, domain) are now added automatically as invisible and readonly. You can remove these fields from XML views unless they are necessary for specific logic. More details: https://github.com/odoo/odoo/pull/137031." |
af3378f to
32d6df5
Compare
Contributor
Author
|
@thienvh332 There it is corrected |
thienvh332
approved these changes
Nov 15, 2024
bosd
approved these changes
Jan 4, 2025
Contributor
|
This PR has the |
Contributor
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.
More details: odoo/odoo#137031