diff options
| author | Thibault Delavallée <tde@odoo.com> | 2016-11-07 12:04:00 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2017-01-18 10:26:53 +0100 |
| commit | 2b90398cb6f5986167ca9306dd327659960c78a6 (patch) | |
| tree | 6830667792200553967255403dbb6ef17a17f624 /addons/base_sparse_field/tests/test_sparse_fields.py | |
| parent | 2015cfd175865634caea5f3e7d1c55f224631baf (diff) | |
[REF] resource: strengthen link between companies and calendars
Purpose of this commit is to always have a default calendar for each
company and ensure it is correctly set on resources.
Some cleaning is also performed in resource models to remove unused
fields, improve labels and make views a bit more odoo-ish.
* [REF] res_company: add a m2o to the default calendar to use in the
company as well as a o2m linking all resource calendars used in the
company. Some code has been added to correctly update existing
companies when installing the module;
* [REF] resource_calendar
* [REM] manager field on resource.calendar: this field is never used
and is not necessary anyway
* [ADD] global_leave_ids: filter leaves on a calendar to see global
company leaves
* [IMP] better default company / calendar computation to ensure there
is always a calendar attached to a resource
* [IMP] improve resource and calendar views in order to look more like
other odoo views
Diffstat (limited to 'addons/base_sparse_field/tests/test_sparse_fields.py')
0 files changed, 0 insertions, 0 deletions
