Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REF] resource_work_time_from_contracts: remove readonly #312

Open
wants to merge 2 commits into
base: 16.0
Choose a base branch
from

Conversation

robinkeunen
Copy link
Member

This line has the side effect of issuing a warning for all models inheriting resource.mixin and setting defaults to resource_calendar_id.

The readonly was introduced to prevent modifications by the user since the modules computes it. It is however to relevant since the field is hidden (readonly parameter only affects the views).

fixes #311

This line has the side effect of issuing a warning
for all models inheriting resource.mixin and setting defaults
to resource_calendar_id.

The readonly was introduced to prevent modifications by the user
since the modules computes it. It is however to relevant since
the field is hidden (readonly parameter only affects the views).
@codecov-commenter
Copy link

codecov-commenter commented Feb 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5abf60e) 97.71% compared to head (7047976) 97.71%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             16.0     #312      +/-   ##
==========================================
- Coverage   97.71%   97.71%   -0.01%     
==========================================
  Files          26       26              
  Lines         482      481       -1     
  Branches       52       52              
==========================================
- Hits          471      470       -1     
  Misses          4        4              
  Partials        7        7              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@robinkeunen robinkeunen force-pushed the 16.0-r_work_time_from_contracts-readonly branch from 0cf1492 to 7047976 Compare February 8, 2024 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants