Skip to content

Commit

Permalink
[FIX] base_view_inheritance_extension: parse old value
Browse files Browse the repository at this point in the history
  • Loading branch information
renda-dev authored and Lukas Tran committed Nov 20, 2024
1 parent feb668e commit baf7042
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base_view_inheritance_extension/models/ir_ui_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ def inheritance_handler_attributes_domain_add(self, source, specs):
else:
new_value = str(expression.AND([old_domain, new_domain]))
new_value = self.str2var_domain_text(new_value)
old_value = "".join(old_value.splitlines())
else:
# We must ensure that the domain definition has not line breaks because
# in update mode the domain cause an invalid syntax error
Expand Down

0 comments on commit baf7042

Please sign in to comment.