If related field is not directly set (coming from inheritance) or string label is not specified explicitly, it might not have it in `args`, making it generate same default field labels, causing warnings in odoo. Before this change you could get these kind of warnings: ``` 2023-09-23 13:28:39,638 1 WARNING odoodb odoo.addons.base.models.ir_model: Two fields (field1_env_default, field2_env_default) of your.model() have the same label: Env Default. ``` It would generate multiple fields having same label. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| server_env_mixin.py | ||
| server_env_tech_name_mixin.py | ||