<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/hr_holidays/controllers, branch 14.0</title>
<subtitle>The current checkout of upstream Odoo</subtitle>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/'/>
<entry>
<title>[IMP] hr_holidays : split hr.holidays into hr.leave and hr.leave.allocation</title>
<updated>2018-01-15T09:38:31+00:00</updated>
<author>
<name>RomainLibert</name>
<email>rli@odoo.com</email>
</author>
<published>2017-12-28T10:30:57+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=f61687a4cdb0e22df19568c9b4ac3dbb579ca062'/>
<id>f61687a4cdb0e22df19568c9b4ac3dbb579ca062</id>
<content type='text'>
Purpose
=======

Have a clear distinction between leave and allocation requests instead of
using the same model to mix 2 different concepts.

Splitting the model will allow different business code to be run on each
model as allocations and leaves are not exactly the same thing; this
will add some code but simplify future improvements

Specification
=============

1/ Completely separate the models

Model hr.holidays has been split into leave.request and
leave.allocation.

2/ Make reporting working again by using an SQL view aggregating data
from leaves and allocations

A new report has been added in order to aggregate
datas from both allocations and requests. The views have been modified
accordingly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Purpose
=======

Have a clear distinction between leave and allocation requests instead of
using the same model to mix 2 different concepts.

Splitting the model will allow different business code to be run on each
model as allocations and leaves are not exactly the same thing; this
will add some code but simplify future improvements

Specification
=============

1/ Completely separate the models

Model hr.holidays has been split into leave.request and
leave.allocation.

2/ Make reporting working again by using an SQL view aggregating data
from leaves and allocations

A new report has been added in order to aggregate
datas from both allocations and requests. The views have been modified
accordingly.
</pre>
</div>
</content>
</entry>
<entry>
<title>[MERGE] Forward-port saas-15 up to 17b847c0f67e51279e4c6d53e847d9918b41b7f7</title>
<updated>2017-05-31T23:10:29+00:00</updated>
<author>
<name>Olivier Dony</name>
<email>odo@openerp.com</email>
</author>
<published>2017-05-31T23:10:29+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=ba15df47cb25625cb0921cba554aa0879048c90a'/>
<id>ba15df47cb25625cb0921cba554aa0879048c90a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] hr_holidays: approval link</title>
<updated>2017-05-30T15:13:18+00:00</updated>
<author>
<name>Nicolas Martinelli</name>
<email>nim@odoo.com</email>
</author>
<published>2017-05-30T14:23:34+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=68391bd5c98d4eead4dfb4a36b0f31b503539c70'/>
<id>68391bd5c98d4eead4dfb4a36b0f31b503539c70</id>
<content type='text'>
The approval link received by a manager doesn't take into account the
double approval configuration of the holiday type.

opw-741558
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The approval link received by a manager doesn't take into account the
double approval configuration of the holiday type.

opw-741558
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] Various P3-related import changes</title>
<updated>2017-04-28T07:06:53+00:00</updated>
<author>
<name>xmo-odoo</name>
<email>xmo@odoo.com</email>
</author>
<published>2017-04-28T07:06:53+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=b4429c2a91889bf60b56e0c7909c844d357363f7'/>
<id>b4429c2a91889bf60b56e0c7909c844d357363f7</id>
<content type='text'>
* LDAP import: python-ldap is not python3-compatible, pyldap is

  Warning: only supported from debian Stretch (current testing)?
  https://packages.debian.org/search?searchon=names&amp;keywords=pyldap

* implicitly relative imports
* imports of moved or removed stdlib modules

issue #8530
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* LDAP import: python-ldap is not python3-compatible, pyldap is

  Warning: only supported from debian Stretch (current testing)?
  https://packages.debian.org/search?searchon=names&amp;keywords=pyldap

* implicitly relative imports
* imports of moved or removed stdlib modules

issue #8530
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] hr_holidays: fix forward-ported code still using workflows</title>
<updated>2016-11-23T08:46:10+00:00</updated>
<author>
<name>Thibault Delavallée</name>
<email>tde@odoo.com</email>
</author>
<published>2016-11-22T15:59:44+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=1e23b1921aac316ae74d51f3a287f42dca4d3d20'/>
<id>1e23b1921aac316ae74d51f3a287f42dca4d3d20</id>
<content type='text'>
Commit 0b87f7662892d60e03f1016e4150d53aef979a06 introduced in 9 some new
controllers in hr holidays. They are used to activate some workflow signals
through dedicated controllers.

However hr holidays workflow have been removed meanwhile at commit
6a8e4c611918162e3d1673f86994a9aa1ce92372. This commit fixes the forward-port
by correctling calling methods instead of trigerring workflow signals.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 0b87f7662892d60e03f1016e4150d53aef979a06 introduced in 9 some new
controllers in hr holidays. They are used to activate some workflow signals
through dedicated controllers.

However hr holidays workflow have been removed meanwhile at commit
6a8e4c611918162e3d1673f86994a9aa1ce92372. This commit fixes the forward-port
by correctling calling methods instead of trigerring workflow signals.
</pre>
</div>
</content>
</entry>
<entry>
<title>[MERGE] forward port branch saas-12 up to 43cb4ac</title>
<updated>2016-10-10T11:00:05+00:00</updated>
<author>
<name>Christophe Simonis</name>
<email>chs@odoo.com</email>
</author>
<published>2016-10-10T11:00:05+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=341bea8f88e3c66c438cb44ca03f47a6e9270d32'/>
<id>341bea8f88e3c66c438cb44ca03f47a6e9270d32</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] mail: separate management of mail routes from redirection</title>
<updated>2016-10-03T17:03:50+00:00</updated>
<author>
<name>Thibault Delavallée</name>
<email>tde@odoo.com</email>
</author>
<published>2016-09-19T10:54:58+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=0b87f7662892d60e03f1016e4150d53aef979a06'/>
<id>0b87f7662892d60e03f1016e4150d53aef979a06</id>
<content type='text'>
Move code related to redirection in its own class method. This way all
controllers perform their own actions and checks before calling the
redirection itself. Moreover it is necessary for some controllers to be
able to call the redirection independently outside of the mail/view
controller scope.

This commit also fixes some links generated for mail notification email
buttons. Assign and (un)follow buttons now effectively use the link helper
when generating the associated URL instead of manually crafting it.

Custom routes for notification buttons used in HR and CRM are added.
Indeed in order to be able to fine-tune the behavior called by those
buttons, using dedicated controllers is simpler than trying to use
a generic one. As there are few custom buttons in notification emails
using dedicated controllers does not lead to a code overhead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move code related to redirection in its own class method. This way all
controllers perform their own actions and checks before calling the
redirection itself. Moreover it is necessary for some controllers to be
able to call the redirection independently outside of the mail/view
controller scope.

This commit also fixes some links generated for mail notification email
buttons. Assign and (un)follow buttons now effectively use the link helper
when generating the associated URL instead of manually crafting it.

Custom routes for notification buttons used in HR and CRM are added.
Indeed in order to be able to fine-tune the behavior called by those
buttons, using dedicated controllers is simpler than trying to use
a generic one. As there are few custom buttons in notification emails
using dedicated controllers does not lead to a code overhead.
</pre>
</div>
</content>
</entry>
</feed>
