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

Change replaced_by to ManyToOneField in django-orghierarchy and fix filters accordingly #272

Open
Rikuoja opened this issue Jun 12, 2018 · 1 comment

Comments

@Rikuoja
Copy link
Contributor

Rikuoja commented Jun 12, 2018

Currently, an organization may replace one old organization.

If we want the same organization to replace several old organizations (@aleksisalonen will have to decide on that), django-orghierarchy needs to be updated, along with the organization filters in api.py.

@Rikuoja
Copy link
Contributor Author

Rikuoja commented Jun 12, 2018

As the only cases needing this are Ympäristökeskus, Rakennusvalvontavirasto, Rakennusvirasto (Kaupunginympäristön toimiala already replaces Kaupunkisuunnitteluvirasto), Varhaiskasvatusvirasto (Kasvatuksen ja koulutuksen toimiala already replaces Opetusvirasto) and Tietokeskus (Kaupunginkanslia already replaces Kaupunginkanslia), I suggest it is easier to just transfer a few users by hand to the new organization, than start coding this feature separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant