Skip to content

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
@huguesdk huguesdk changed the title [REF] resource_work_time_from_contracts: remove readonly [16.0][REF] resource_work_time_from_contracts: remove readonly Nov 3, 2025
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.

Redundant default on warnings on models implementing resource_mixin

5 participants