[FIX] tests: fix assert message of required field check
closes odoo/odoo#147400 X-original-commit: 0b9257009154eb92a723f72ad64a31cf9b577748 Signed-off-by: Raphael Collet <rco@odoo.com>
This commit is contained in:
+1
-1
@@ -655,7 +655,7 @@ class O2MForm(Form):
|
||||
self._get_modifier(field_name, 'column_invisible')
|
||||
or self._get_modifier(field_name, 'invisible')
|
||||
):
|
||||
assert values[field_name] is not False, "{fname!r} is a required field"
|
||||
assert values[field_name] is not False, f"{field_name!r} is a required field"
|
||||
|
||||
return values
|
||||
|
||||
|
||||
Reference in New Issue
Block a user