Skip to content
Snippets Groups Projects
Commit 526f3407 authored by MerlinGuillaume's avatar MerlinGuillaume
Browse files

[FIX] base: allow deletion of inherited custom field


The inherited field of a custom field cannot be deleted

Steps to reproduce:
1. Install Contacts and Studio
2. Go to Contacts and open any contact
3. Toggle Studio
4. Add a field of any type in the view, remove it and close Studio
5. Go to Settings > Technical > Database Structure > Fields and search
   for `x_studio`

Solution:
Mark the inherited field as manual if its parent field is manual and
allow the deletion of inherited custom field if we also delete its
dependency

Problem:
The inherited field was not marked as custom so it was impossible to
delete it

opw-3093581

closes odoo/odoo#133562

X-original-commit: b700c3c6
Signed-off-by: default avatarRaphael Collet <rco@odoo.com>
Signed-off-by: default avatarGuillaume Merlin (megu) <megu@odoo.com>
parent 7ea455bb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment