Skip to content

[19.0][FIX] dms: Set the appropriate default_parent_id - #527

Merged
OCA-git-bot merged 1 commit into
OCA:19.0from
Tecnativa:19.0-fix-dms-directory-parent_id
Oct 19, 2026
Merged

OCA-git-bot merged 1 commit into
OCA:19.0from
Tecnativa:19.0-fix-dms-directory-parent_id

Conversation

@victoralmau

@victoralmau victoralmau commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Set the appropriate default_parent_id

ejemplo

Related to #522 (review)

Conclusions:

  • default_parent_id is not passed to the context of the _compute_parent_id() method.
  • The assignment in the _compute_parent_id() method that set record.parent_id = record.parent_id seemed to ensure that the appropriate default value was set in previous versions, but this is no longer the case.

Please @pedrobaeza can you review it?

@Tecnativa

Comment thread dms/models/directory.py
@pedrobaeza

Copy link
Copy Markdown
Member

/ocabot merge patch

@OCA-git-bot

Copy link
Copy Markdown
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 19.0-ocabot-merge-pr-527-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot

Copy link
Copy Markdown
Contributor

It looks like something changed on 19.0 in the meantime.
Let me try again (no action is required from you).
Prepared branch 19.0-ocabot-merge-pr-527-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit 8a37889 into OCA:19.0 Oct 19, 2026
5 of 7 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

@pedrobaeza
pedrobaeza deleted the 19.0-fix-dms-directory-parent_id branch October 19, 2026 16:49
@SirPyTech

Copy link
Copy Markdown
Contributor

Thank you for working on this, I wanted to review it but got here too late 🫤

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.

5 participants