Skip to content

[FIX] base_user_role_company: actually only allow roles with companies

Codecov / codecov/patch failed Feb 19, 2024 in 0s

81.44% of diff hit (target 89.10%)

View this Pull Request on Codecov

81.44% of diff hit (target 89.10%)

Annotations

Check warning on line 12 in base_user_role_company/controllers/main.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

base_user_role_company/controllers/main.py#L12

Added line #L12 was not covered by tests

Check warning on line 17 in base_user_role_company/controllers/main.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

base_user_role_company/controllers/main.py#L15-L17

Added lines #L15 - L17 were not covered by tests

Check warning on line 19 in base_user_role_company/models/ir_http.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

base_user_role_company/models/ir_http.py#L19

Added line #L19 was not covered by tests

Check warning on line 22 in base_user_role_company/models/ir_http.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

base_user_role_company/models/ir_http.py#L21-L22

Added lines #L21 - L22 were not covered by tests

Check warning on line 28 in base_user_role_company/models/role.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

base_user_role_company/models/role.py#L28

Added line #L28 was not covered by tests

Check warning on line 12 in base_user_role_company/models/user.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

base_user_role_company/models/user.py#L12

Added line #L12 was not covered by tests

Check warning on line 17 in base_user_role_company/models/user.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

base_user_role_company/models/user.py#L16-L17

Added lines #L16 - L17 were not covered by tests

Check warning on line 20 in base_user_role_company/models/user.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

base_user_role_company/models/user.py#L19-L20

Added lines #L19 - L20 were not covered by tests