diff options
| author | Yannick Tivisse <yti@odoo.com> | 2019-02-14 09:25:17 +0000 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2019-02-18 15:28:15 +0000 |
| commit | 624a1fc56b06c22889da8c1ca7b2cc65d5eebd41 (patch) | |
| tree | cf72fbe3ff21c7ac120693607cfd539666d4ce6d /addons/resource/models/resource_mixin.py | |
| parent | 9cbc68b8ab804a5e72db8c00767969243c35421e (diff) | |
[FIX] resource: Make get_leave_days_data private
Diffstat (limited to 'addons/resource/models/resource_mixin.py')
| -rw-r--r-- | addons/resource/models/resource_mixin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/resource/models/resource_mixin.py b/addons/resource/models/resource_mixin.py index 14f5337cd6c..68541f891c0 100644 --- a/addons/resource/models/resource_mixin.py +++ b/addons/resource/models/resource_mixin.py @@ -122,7 +122,7 @@ class ResourceMixin(models.AbstractModel): return self._get_days_data(intervals, day_total) - def get_leave_days_data(self, from_datetime, to_datetime, calendar=None, domain=None): + def _get_leave_days_data(self, from_datetime, to_datetime, calendar=None, domain=None): """ By default the resource calendar is used, but it can be changed using the `calendar` argument. |
