Skip to content

Conversation

@aj-fuentes
Copy link
Contributor

Sometimes we get unexpected empty (or NULL) values in some records when reporting about them. To avoid None or just an empty link we make a default value for name in such cases.

Sometimes we get unexpected empty (or NULL) values in some records when
reporting about them. To avoid `None` or just an empty link we make a
default value for `name` in such cases.
@robodoo
Copy link
Contributor

robodoo commented Feb 25, 2025

Pull request status dashboard

@aj-fuentes aj-fuentes requested a review from KangOl February 25, 2025 14:31
@KangOl
Copy link
Contributor

KangOl commented Feb 25, 2025

upgradeci retry with always only hr

Copy link
Contributor

@KangOl KangOl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@robodoo robodoo closed this in 15a098b Feb 25, 2025
@robodoo robodoo added the 18.3 label Feb 25, 2025
depr-odoo added a commit to odoo-dev/upgrade-util that referenced this pull request Sep 3, 2025
This
[commit](odoo#215)
ensure that if the name argument is not provided, it will
automatically generate a default value for name based on the model and id.

When we call method get_anchor_link_to_record without name, it fails with
Updated get_anchor_link_to_record to default 'name' to None if not provided.

Also added a check to ensure 'id' is not a tuple before proceeding with its use.
depr-odoo added a commit to odoo-dev/upgrade-util that referenced this pull request Sep 3, 2025
This [commit](odoo#215)
ensure that if the name argument is not provided, it will
automatically generate a default value for name based on the model and id.

When we call method get_anchor_link_to_record without name, it fails with
Updated get_anchor_link_to_record to default 'name' to None if not provided.

Also added a check to ensure 'id' is not a tuple before proceeding with its use.
depr-odoo added a commit to odoo-dev/upgrade-util that referenced this pull request Sep 3, 2025
This [commit](odoo#215)
ensure that if the name argument is not provided, it will
automatically generate a default value for name based on the model and id.

When we call method get_anchor_link_to_record without name, it fails with

```
TypeError: get_anchor_link_to_record() missing 1 required positional argument: 'name'
```

Updated get_anchor_link_to_record to default 'name' to None if not provided.

Also added a check to ensure 'id' is not a tuple before proceeding with its use.
depr-odoo added a commit to odoo-dev/upgrade-util that referenced this pull request Sep 3, 2025
This [commit](odoo#215)
ensure that if the name argument is not provided, it will
automatically generate a default value for name based on the model and id.

When we call method get_anchor_link_to_record without name, it fails with

```
TypeError: get_anchor_link_to_record() missing 1 required positional argument: 'name'
```

Updated get_anchor_link_to_record to default 'name' to None if not provided.

Also added a check to ensure 'id' is not a tuple before proceeding with its
[use](https://github.com/odoo/upgrade-util/blob/master/src/util/report.py#L328-L330).
depr-odoo added a commit to odoo-dev/upgrade-util that referenced this pull request Sep 4, 2025
This [commit](odoo#215)
ensure that if the name argument is not provided, it will
automatically generate a default value for name based on the model and id.

When we call method get_anchor_link_to_record without name,it fails with

```
TypeError: get_anchor_link_to_record() missing 1 required positional argument: 'name'
```

Updated get_anchor_link_to_record to default 'name' to None if not provided.

Also added a check to ensure 'id' is not a tuple before proceeding with its
[use](https://github.com/odoo/upgrade-util/blob/master/src/util/report.py#L328-L330).
depr-odoo added a commit to odoo-dev/upgrade-util that referenced this pull request Sep 8, 2025
This [commit](odoo#215)
ensure that if the name argument is not provided, it will
automatically generate a default value for name based on the model and id.

When we call method get_anchor_link_to_record without name,it fails with

```
TypeError: get_anchor_link_to_record() missing 1 required positional argument: 'name'
```

Updated get_anchor_link_to_record to default 'name' to None if not provided.

Also added a check to ensure 'id' is not a tuple before proceeding with its
[use](https://github.com/odoo/upgrade-util/blob/master/src/util/report.py#L328-L330).
depr-odoo added a commit to odoo-dev/upgrade-util that referenced this pull request Sep 8, 2025
This [commit](odoo#215)
ensure that if the name argument is not provided, it will
automatically generate a default value for name based on the model and id.

When we call method get_anchor_link_to_record without name,it fails with

```
TypeError: get_anchor_link_to_record() missing 1 required positional argument: 'name'
```

Updated get_anchor_link_to_record to default 'name' to None if not provided.
robodoo pushed a commit that referenced this pull request Sep 8, 2025
This [commit](#215)
ensure that if the name argument is not provided, it will
automatically generate a default value for name based on the model and id.

When we call method get_anchor_link_to_record without name,it fails with

```
TypeError: get_anchor_link_to_record() missing 1 required positional argument: 'name'
```

Updated get_anchor_link_to_record to default 'name' to None if not provided.

closes #312

Signed-off-by: Christophe Simonis (chs) <chs@odoo.com>
robodoo pushed a commit that referenced this pull request Sep 8, 2025
This [commit](#215)
ensure that if the name argument is not provided, it will
automatically generate a default value for name based on the model and id.

When we call method get_anchor_link_to_record without name,it fails with

```
TypeError: get_anchor_link_to_record() missing 1 required positional argument: 'name'
```

Updated get_anchor_link_to_record to default 'name' to None if not provided.

closes #312

Signed-off-by: Christophe Simonis (chs) <chs@odoo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants