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

[IMP] base_address_city: prefill country if there is one filled in on parent #30135

wants to merge 1 commit into
base: master


None yet
2 participants
Copy link

Yenthe666 commented Jan 11, 2019

Description of the issue/feature this PR addresses: Automatically fill in country

Current behavior before PR: If you go to a country and click on the "Cities" smart button you will see all cities related to that country. When you click on "Create" to add a new city to the country by default the country is filled in. If you then want to attach a state to this country the country is not filled in automatically for the state, while we have it available on the parent form:

Desired behavior after PR is merged: The country is automatically filled in if the parent record has a country set:

I confirm I have signed the CLA and read the PR guidelines at

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment