Skip to content

Commit

Permalink
[MIG] base_export_manager : Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
syera94 authored and stefan-tecnativa committed Aug 7, 2023
1 parent bbe3bc2 commit f8880da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion base_export_manager/models/ir_exports_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ def _inverse_name(self):
if any(parts):
# invalidate_cache -> in order to get actual value of field 'label'
# in function '_check_name'
self.env.invalidate_all()
one.invalidate_recordset(["label"])
one._check_name()

@api.constrains("field1_id", "field2_id", "field3_id", "field4_id")
def _check_name(self):
Expand Down

0 comments on commit f8880da

Please sign in to comment.