Files
odoo_source/addons/base_address_city/models
Achraf (abz) 86214d9b6e [FIX] base_address_city: Duplicate complete address on contact creation
What are the steps to reproduce your issue ?

    1. Install contacts in a db with demo data
    2. Create a contact with complete address
    3. Click on Add button (edit mode)

What is currently happening ?

    The address get copied but not completely (no zip code, state, street)

What are you expecting to happen ?

    The whole address have to be copied

How to fix the bug ?

    Don't call the onchange if the record is not yet created

opw-2415891

closes odoo/odoo#64071

X-original-commit: b731afa7918d9d69132af825c414d902aa57541e
Signed-off-by: Achraf <abz-odoo@users.noreply.github.com>
2021-01-05 11:37:09 +00:00
..