Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][FIX] fieldservice: Fix location partner type #1164

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

houzefa-abba
Copy link
Member

Service locations fsm.location create a partner res.partner through inheritance.

Before this change, partners could be explicitely typed "fsm_location" when adding them within children of an existing partner, which in turn would automatically create service locations on top of them.

But creating a service location by hand would not set that type on the partner created through inheritance. After this change, all partners built from service locations are typed the same.

Fixes #1128.

@OCA-git-bot
Copy link
Contributor

Hi @max3903, @wolfhall,
some modules you are maintaining are being modified, check this out!

@houzefa-abba houzefa-abba changed the title [FIX] fieldservice: Fix location partner type [16.0][FIX] fieldservice: Fix location partner type Mar 5, 2024
@houzefa-abba houzefa-abba force-pushed the 16.0-fix-location-partner-type branch 2 times, most recently from 00b04db to 64e1982 Compare April 5, 2024 07:17
@max3903 max3903 added this to the 16.0 milestone Apr 5, 2024
@max3903 max3903 self-assigned this Apr 5, 2024
Service locations `fsm.location` create a partner `res.partner` through
inheritance.

Before this change, partners could be explicitely typed "fsm_location"
when adding them within children of an existing partner, which in turn
would automatically create service locations on top of them.

But creating a service location by hand would not set that type on the
partner created through inheritance. After this change, all partners
built from service locations are typed the same.

Fixes OCA#1128.
@houzefa-abba houzefa-abba force-pushed the 16.0-fix-location-partner-type branch from 64e1982 to d0b370d Compare April 8, 2024 07:38
@max3903
Copy link
Member

max3903 commented Apr 8, 2024

@houzefa-abba Do you have other changes to push or is this good to be merged?

@houzefa-abba
Copy link
Member Author

@houzefa-abba Do you have other changes to push or is this good to be merged?

Hi this one is good to go, my latest change was only a rebase

@max3903
Copy link
Member

max3903 commented Apr 8, 2024

/ocabot merge minor

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 16.0-ocabot-merge-pr-1164-by-max3903-bump-minor, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 4443f16 into OCA:16.0 Apr 8, 2024
5 checks passed
@OCA-git-bot
Copy link
Contributor

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

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.

3 participants