[19.0][MIG] chained_swapper: Migration to 19.0#1297
Open
dnplkndll wants to merge 18 commits into
Open
Conversation
…revent warning log
Signed-off-by: Don Kendall <dkendall@ledoweb.com>
- _sql_constraints → models.Constraint (19.0 API); kept the original constraint name so the DB constraint identity is stable. - groups_id → group_ids on the ir.actions.act_window create (19.0 privilege refactor). - name field is translate=True: index=1 (btree) → index="trigram" — 19.0 stores translated values as jsonb and only trigram indexes are supported (btree is silently ignored + warns). Signed-off-by: Don Kendall <dkendall@ledoweb.com>
Author
|
/ocabot migration chained_swapper |
Contributor
|
Sorry @dnplkndll you are not allowed to mark the addon to be migrated. To do so you must either have push permissions on the repository, or be a declared maintainer of all modified addons. If you wish to adopt an addon and become it's maintainer, open a pull request to add your GitHub login to the |
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.
Port of
chained_swapperfrom 18.0 to 19.0 (migration guide).Non-mechanical adaptations worth flagging
_sql_constraints→models.Constraint(19.0 API). Kept the original constraintname (
model_id_field_id_unique) so the DB constraint identity is unchanged.groups_id→group_idson their.actions.act_windowcreate (19.0 privilegerefactor; the module's own
group_idsfield is unrelated).get_view/get_views/onchange/fields_get)are preserved — 19.0 core keeps the identical signatures.