Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0e6707b

Browse files
pauloamedKangOl
andauthoredMay 7, 2024··
Update src/util/records.py
to be squashed Co-authored-by: Christophe Simonis <[email protected]>
1 parent e8ca86d commit 0e6707b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/util/records.py

+1
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ def remove_action(cr, xml_id=None, action_id=None):
346346
FROM ir_model_fields
347347
WHERE relation = 'ir.actions.actions'
348348
AND on_delete IN ( 'cascade', 'set null' )
349+
AND ttype = 'many2one'
349350
"""
350351
)
351352

0 commit comments

Comments
 (0)
Please sign in to comment.