OCA / partner-contact

Odoo Partner and Contact related addons
GNU Affero General Public License v3.0
207 stars 851 forks source link

[16] partner_contact_access_link Incorrect redirection when creating a child contact without saving (Odoo 16) Bug #1878

Open fcvalgar opened 1 week ago

fcvalgar commented 1 week ago

Version: Odoo 16.0

Steps to reproduce:

Go to the Contacts menu. Create a new child contact from a parent contact's form. Use the provided link to access the child contact without saving first. Current behavior: Instead of redirecting to the created child contact, it opens a form to create a new contact. This doesn't happen if the child contact is saved first.

Expected behavior: The link should correctly redirect to the newly created child contact, even if it hasn't been saved.

Video/Screenshot: https://www.loom.com/share/e093ff6473844678872ab52ed0fe4520?sid=7464ee78-e342-47b4-af60-49a3e206fed9

@moduon MT-7663 MT-7665