Thibault Delavallée
854759b5b1
[FIX] resource: fix layout issue in calendar form view in multi company
2017-02-08 14:04:54 +01:00
Thibault Delavallée
c1526f20e3
[IMP] hr: add settings and add box to configure default company working hours
2017-02-08 14:04:53 +01:00
Thibault Delavallée
2b90398cb6
[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
2017-01-18 10:26:53 +01:00
Thibault Delavallée
2015cfd175
[MOV] resource: reorganize view definition to ease understanding
...
No functional or code change in this commit. Purpose is to clearly
separate views to ease future improvements.
2017-01-18 10:25:18 +01:00
Thibault Delavallée
9250cc60e1
[IMP] resource: set default calendar as data
...
Currently there is no default resource calendar. This leads to calendar
being rarely used as it is not clear how to define them and how to use
them. Moreover some code handle default-like calendar by trying to
use 8-16 work hours; this should be replaced by having a real default
calendar.
This commit replaces the demo calendar by a real data calendar. It will
soon be used as default everywhere a resource calendar can be defined.
Future improvements will come to make resource easier to use and clean
its API. This commit is only the beginning !
2017-01-18 10:24:41 +01:00
Thibault Delavallée
1c4ea80f78
[IMP] resource: clean tests code
...
This commit cleans resource test code by removing unnecessary stuff
and simplifying code. Purpose is to lessen number of lines and improve
readability of tests. Some duplicated tests have been removed.
2017-01-18 10:24:24 +01:00
Martin Trigaux
19fce206ac
[I18N] port of 44a6366b to master
2017-01-03 16:39:22 +01:00
qdp-odoo
4f29b77e3d
[MERGE] foward port of 10.0 up to revision 84a650e33a
2016-12-30 17:21:25 +01:00
cst-odoo
9a777f315e
[IMP] resource: Improve time_efficiency help tooltip
...
Rewrote help tooltip to improve English and clarity.
Closes #14696
2016-12-13 10:04:37 +01:00
Christophe Simonis
ea479ce6f3
[MERGE] forward port branch 10.0 up to 3bb022d
2016-10-27 18:23:44 +02:00
Christophe Simonis
3bb022d57c
[MERGE] forward port branch saas-12 up to 6f8e40c
2016-10-27 18:17:59 +02:00
Christophe Simonis
dabf82870a
[MERGE] forward port branch saas-11 up to 25e0b25
2016-10-24 13:07:46 +02:00
Christophe Simonis
25e0b25508
[MERGE] forward port branch 9.0 up to 6690bfb
2016-10-24 12:48:56 +02:00
Christophe Simonis
6690bfb14a
[MERGE] forward port branch saas-6 up to 1d00e32
2016-10-24 12:42:51 +02:00
Christophe Simonis
1d00e3221d
[MERGE] forward port branch 8.0 up to 8f484fd
2016-10-24 11:48:45 +02:00
Odoo Translation Bot
e45d402396
[I18N] Update translation terms from Transifex
2016-10-23 03:38:54 +02:00
David Beal
e773c1dce8
[FIX] resource: prevent error when deleting resource.calendar records
...
Attendance entries should be cascade-deleted along with the parent
record.
Closes #10310
Closes #13044
2016-10-21 19:57:23 +02:00
Odoo Translation Bot
a40c3bf792
[I18N] Update translation terms from Transifex
2016-10-18 11:50:34 +02:00
Odoo Translation Bot
2ce7679032
[I18N] Update translation terms from Transifex
2016-10-16 00:34:35 +02:00
Christophe Simonis
ba790d1e27
[MERGE] forward port branch 8.0 up to ca18a16
2016-10-03 10:36:56 +02:00
Odoo Translation Bot
ca18a1699c
[I18N] Update translation terms from Transifex
2016-10-02 02:57:59 +02:00
Odoo Translation Bot
b33415f3bd
[I18N] Update translation terms from Transifex
2016-10-02 00:35:04 +02:00
Martin Trigaux
d59d95107e
[I18N] Update master translation terms from Transifex
2016-09-26 11:44:55 +02:00
Christophe Simonis
f308b09a9a
[MERGE] forward port branch saas-13 up to 856476d
2016-09-22 15:27:35 +02:00
Odoo Translation Bot
9413bafdd3
[I18N] Update translation terms from Transifex
2016-09-18 00:34:39 +02:00
Thibault Delavallée
3ef61aeedc
[FIX][IMP] resource: make calendar and leave form views a bit usable
2016-09-14 15:44:49 +02:00
Thibault Delavallée
82635140b3
[IMP] resource: add default value on calendar manager being the current user to ease calendar use
2016-09-14 15:44:49 +02:00
Christophe Simonis
f98665f9b6
[MERGE] forward port branch 8.0 up to b17b2a2
2016-09-09 10:52:34 +02:00
Martin Trigaux
fb74fec3f5
[I18N] export 10.0 source terms
2016-09-07 11:08:42 +02:00
Martin Trigaux
05d91ea4e9
[I18N] update saas-11 translations by merging 9.0 and master
...
Without fuzzy-matching that is too flexible and error prone.
Was matching on wrong source and got translation without '%s'
2016-09-07 09:40:37 +02:00
Martin Trigaux
6e61ea2256
[I18N] update saas-12 translations by merging 9.0 and master
...
Without fuzzy-matching that is too flexible and error prone.
Was matching on wrong source and got translation without '%s'
2016-09-06 10:03:09 +02:00
Olivier Dony
859d443863
[IMP] *: rename manifest files for v10 naming convention
2016-09-05 11:57:50 +02:00
Martin Trigaux
3efa9d39c6
[I18N] Update translation terms from Transifex
2016-09-05 11:34:17 +02:00
Odoo Translation Bot
75a196972e
[I18N] Update translation terms from Transifex
2016-09-04 03:06:55 +02:00
Odoo Translation Bot
9f0d3800cc
[I18N] Update translation terms from Transifex
2016-09-04 00:36:28 +02:00
Martin Trigaux
f0c8224175
[FIX] update saas-11 translations by merging 9.0 and master
...
using the --uses-first parameter on msgmerge this time
2016-08-26 15:19:04 +02:00
Martin Trigaux
133da17faa
[I18N] update saas-12 translations by merging 9.0 and master
...
1. export saas-12 sources terms into .pot files
2. msgcat odoo-9 .po & odoo-master .po into saas-12 .po files
3. msgmerge saas-12 .po with saas-12 .pot files to keep relevant terms
2016-08-22 14:16:52 +02:00
Martin Trigaux
a35e9bdb88
[I18N] fetch new master terms from Transifex
2016-08-22 11:52:03 +02:00
Christophe Simonis
235ed4b2c1
[MERGE] forward port branch saas-12 up to 9ad5f26
2016-08-20 18:08:19 +02:00
Christophe Simonis
9ad5f26b3f
[MERGE] forward port branch saas-11 up to 3a2147d
2016-08-20 17:18:31 +02:00
Christophe Simonis
3a2147d95c
[MERGE] forward port branch saas-10 up to bc1a0a3
2016-08-20 16:57:36 +02:00
Martin Trigaux
99215a02c6
[I18N] update saas-11 translations by merging 9.0 and master
...
1. export saas-11 sources terms into .pot files
2. msgcat odoo-9 .po & odoo-master .po into saas-11 .po files
3. msgmerge saas-11 .po with saas-11 .pot files to keep relevant terms
2016-08-19 13:54:31 +02:00
Christophe Simonis
e5371329f7
[MERGE] forward port branch 8.0 up to 08ed48e
2016-08-19 12:07:14 +02:00
Martin Trigaux
2331bbf4b0
[I18N] update saas-10 translations by merging 9.0 and master
...
1. export saas-10 sources terms into .pot files
2. msgcat odoo-9 .po & odoo-master .po into saas-10 .po files
3. msgmerge saas-10 .po with saas-10 .pot files to keep relevant terms
2016-08-18 16:47:23 +02:00
Martin Trigaux
c73b2bd079
[I18N] export master source terms
2016-08-18 11:01:50 +02:00
Raphael Collet
ffdafd3f8a
[REM] most uses of _model (useless in most cases)
2016-08-16 09:55:46 +02:00
Odoo Translation Bot
71594f5958
[I18N] Update translation terms from Transifex
2016-08-14 03:04:34 +02:00
Odoo Translation Bot
842bf793f5
[I18N] Update translation terms from Transifex
2016-08-14 00:38:20 +02:00
Thibault Delavallée
c8a313d51e
[IMP] various: use odoo for imports instead of openerp and update class names
2016-08-10 15:48:07 +02:00
Odoo Translation Bot
8a3a620404
[I18N] Update translation terms from Transifex
2016-08-07 00:38:49 +02:00