diff --git a/trytond/ir/rule.py b/trytond/ir/rule.py index 267705bf0f..f3dc849071 100644 --- a/trytond/ir/rule.py +++ b/trytond/ir/rule.py @@ -117,6 +117,7 @@ class Rule(ModelSQL, ModelView): # Migration from 2.6: replace field, operator and operand by domain table.not_null_action('field', action='remove') + table.drop_fk('field') table.not_null_action('operator', action='remove') table.not_null_action('operand', action='remove')