<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/timer, 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>[FIX] timer: remove leftover file</title>
<updated>2020-07-29T15:40:21+00:00</updated>
<author>
<name>Christophe Simonis</name>
<email>chs@odoo.com</email>
</author>
<published>2020-07-29T12:23:50+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=92c2a54505db453d2a1b08ed324e173dff05c021'/>
<id>92c2a54505db453d2a1b08ed324e173dff05c021</id>
<content type='text'>
Oversight of d6a23144d5c5b85c2a02097bcbb3e006a9c2c52a

closes odoo/odoo#55165

X-original-commit: a8d450f2339d1e788d50455e3c5ad009155b99ee
Signed-off-by: Christophe Simonis &lt;chs@odoo.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Oversight of d6a23144d5c5b85c2a02097bcbb3e006a9c2c52a

closes odoo/odoo#55165

X-original-commit: a8d450f2339d1e788d50455e3c5ad009155b99ee
Signed-off-by: Christophe Simonis &lt;chs@odoo.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] timer, hr_timesheet: Fix _compute_display_timer_buttons</title>
<updated>2020-06-15T13:51:20+00:00</updated>
<author>
<name>Thibault Francois</name>
<email>tfr@openerp.com</email>
</author>
<published>2020-06-11T11:32:58+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=7f83e0286e04ae79ec0eabe602d391f28a13a4fb'/>
<id>7f83e0286e04ae79ec0eabe602d391f28a13a4fb</id>
<content type='text'>
mixin method should not return in the middle of the loop
Use the value updated on the record instead

super() is called with self at every iteration
which is not very efficient and can be wrong

Solution call super for each specific record
and only when needed

write is not a good practice in compute method

X-original-commit: 7e19ed98d18305370b5c14edd3d310cfea5df714
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mixin method should not return in the middle of the loop
Use the value updated on the record instead

super() is called with self at every iteration
which is not very efficient and can be wrong

Solution call super for each specific record
and only when needed

write is not a good practice in compute method

X-original-commit: 7e19ed98d18305370b5c14edd3d310cfea5df714
</pre>
</div>
</content>
</entry>
<entry>
<title>[MOV] timer: Move to Enterprise</title>
<updated>2020-06-15T13:51:20+00:00</updated>
<author>
<name>jbm-odoo</name>
<email>jbm@odoo.com</email>
</author>
<published>2020-06-05T15:13:53+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=d6a23144d5c5b85c2a02097bcbb3e006a9c2c52a'/>
<id>d6a23144d5c5b85c2a02097bcbb3e006a9c2c52a</id>
<content type='text'>
taskId: 2217930
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
taskId: 2217930
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] project_timesheet: Add internal project by default to ease onboarding</title>
<updated>2020-06-15T13:50:19+00:00</updated>
<author>
<name>jbm-odoo</name>
<email>jbm@odoo.com</email>
</author>
<published>2020-05-28T06:33:19+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=e7dda3fab002f5db930b4af340787177d597d59e'/>
<id>e7dda3fab002f5db930b4af340787177d597d59e</id>
<content type='text'>
taskId: 2217930
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
taskId: 2217930
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] timer, hr_timesheet: Fix _compute_display_timer_buttons</title>
<updated>2020-06-11T14:00:06+00:00</updated>
<author>
<name>Thibault Francois</name>
<email>tfr@openerp.com</email>
</author>
<published>2020-06-11T11:32:58+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=ab48798229d4c756ab31fd0f1fa5518ef8e63037'/>
<id>ab48798229d4c756ab31fd0f1fa5518ef8e63037</id>
<content type='text'>
mixin method should not return in the middle of the loop
Use the value updated on the record instead

super() is called with self at every iteration
which is not very efficient and can be wrong

Solution call super for each specific record
and only when needed

write is not a good practice in compute method

closes odoo/odoo#52858

X-original-commit: 7e19ed98d18305370b5c14edd3d310cfea5df714
Related: odoo/enterprise#11100
Signed-off-by: Yannick Tivisse (yti) &lt;yti@odoo.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mixin method should not return in the middle of the loop
Use the value updated on the record instead

super() is called with self at every iteration
which is not very efficient and can be wrong

Solution call super for each specific record
and only when needed

write is not a good practice in compute method

closes odoo/odoo#52858

X-original-commit: 7e19ed98d18305370b5c14edd3d310cfea5df714
Related: odoo/enterprise#11100
Signed-off-by: Yannick Tivisse (yti) &lt;yti@odoo.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] project,...: Improve list views with new widgets</title>
<updated>2020-05-25T12:44:14+00:00</updated>
<author>
<name>Yannick Tivisse</name>
<email>yti@odoo.com</email>
</author>
<published>2020-05-14T13:44:05+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=45f3659305359fff5b0c7bf3de7d49a25ba5c36d'/>
<id>45f3659305359fff5b0c7bf3de7d49a25ba5c36d</id>
<content type='text'>
Purpose
=======

Task 2195254 introduced many wonderful widgets to pimp the list view.
This task aims at implemeting them into the Services apps: project,
timesheets, helpdesk, expense, planning and field service.

Remaining days: https://drive.google.com/file/d/1o4Wn47445GxLqBkw-ifH9MgtFU_437xz/view
Avatar: https://drive.google.com/file/d/1yDwJWP0MZCUKZbqCa8hte1ziVTYRMMtb/view
Activities: https://drive.google.com/file/d/1e_rXH50eZq4zY2HOzw7_pfgiD39SoRIl/view
Field-specific decorations: https://drive.google.com/file/d/1WFnqJ-jkyDFftRHxWW4bgomoWrOpOuaY/view
More control on buttons

Specifications
==============

You will find below a list of which widgets to apply to which fields by
model. Some changes have to be done in the form/kanban views as well.

1) project.task

remaining days -&gt; date_deadline -&gt; list + kanban + form views
hide this field if is_closed is true
avatar -&gt; user_id -&gt; list view
activities -&gt; 'next activity' field to be added -&gt; list view
field-specific decorations
https://nimb.ws/ACewrY remove the current orange/red decorations we have
if planned_hours &gt; 0, display the remaining_hours field in (list view):
red if progress is &gt; 100%
orange if progress is between 80% and 100%
green if progress is &lt;80%
display unit_amount in red if &gt; 24:00 -&gt; form view

2) rating.rating

display the rating in:
green = satisfied
orange = not_satisfied
red = highly_dissatisfied
list + form views

3) project.project

avatar -&gt; user_id -&gt; list + form views

4) account.analytic.line

avatar -&gt; employee_id -&gt; list view
display unit_amount in red if &gt; 24:00 -&gt; list + kanban + form view
https://nimb.ws/eIWa7E merge the timer and duration fields together

5) helpdesk.ticket

avatar
user_id -&gt; list view
employee_id under timesheet_ids -&gt; form view
remaining hours -&gt; sla_deadline
activities -&gt; 'next activity' field to be added -&gt; list view
field specific decoration -&gt; display unit_amount in red if &gt; 24:00 -&gt; form view

6) hr.expense

avatar -&gt; employee_id -&gt; list view
activities -&gt; 'next activity' field to be added -&gt; list view
badge -&gt; state -&gt; list view
draft = blue
reported = green
approved = green
done = green
refused = red
combine the unit_amount and the currency_id fields (see the total_amount field for reference) -&gt; list view (idem for the expense_line_ids one2many on hr.expense.sheet)
display the total_amount in bold
move 'company_id' before 'amount'

7) hr.expense.sheet

avatar
employee_id -&gt; list view
user_id -&gt; list view
activities -&gt; 'next activity' field to be added -&gt; list view
badge -&gt; state -&gt; list view
draft = blue
submit = green
approve = green
post = green
done = green
cancel = red
display the total_amount in bold
move 'company_id' before 'amount'

8) planning.slot

avatar -&gt; employee_id -&gt; list view
decoration
display the allocated_percentage field in red if &gt; 100% -&gt; list + form view
display the forecast_hours field in red if &gt; planned hours and if planned_hours &gt; 0 -&gt; form view
display the effective_hours field in red if &gt; forecast_hours and if forecast_hours &gt; 0 -&gt; form view

9) misc

calendar.event -&gt; avatar -&gt; user_id -&gt; form view
mail.activity.type -&gt; combine the delay_count and delay_unit fields together -&gt; list view
note.note -&gt; 'next activity' field to be added -&gt; list view
crm.lead.mining.request
combine the lead_number and lead_type fields together -&gt; list view
display the name in bold
badge -&gt; state
draft = blue
done = green
error = red
planning.slot.template -&gt; display the duration field in red if it is = 0

closes odoo/odoo#51271

Taskid: 2248351
Related: odoo/enterprise#10605
Related: odoo/upgrade#1252
Signed-off-by: Yannick Tivisse (yti) &lt;yti@odoo.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Purpose
=======

Task 2195254 introduced many wonderful widgets to pimp the list view.
This task aims at implemeting them into the Services apps: project,
timesheets, helpdesk, expense, planning and field service.

Remaining days: https://drive.google.com/file/d/1o4Wn47445GxLqBkw-ifH9MgtFU_437xz/view
Avatar: https://drive.google.com/file/d/1yDwJWP0MZCUKZbqCa8hte1ziVTYRMMtb/view
Activities: https://drive.google.com/file/d/1e_rXH50eZq4zY2HOzw7_pfgiD39SoRIl/view
Field-specific decorations: https://drive.google.com/file/d/1WFnqJ-jkyDFftRHxWW4bgomoWrOpOuaY/view
More control on buttons

Specifications
==============

You will find below a list of which widgets to apply to which fields by
model. Some changes have to be done in the form/kanban views as well.

1) project.task

remaining days -&gt; date_deadline -&gt; list + kanban + form views
hide this field if is_closed is true
avatar -&gt; user_id -&gt; list view
activities -&gt; 'next activity' field to be added -&gt; list view
field-specific decorations
https://nimb.ws/ACewrY remove the current orange/red decorations we have
if planned_hours &gt; 0, display the remaining_hours field in (list view):
red if progress is &gt; 100%
orange if progress is between 80% and 100%
green if progress is &lt;80%
display unit_amount in red if &gt; 24:00 -&gt; form view

2) rating.rating

display the rating in:
green = satisfied
orange = not_satisfied
red = highly_dissatisfied
list + form views

3) project.project

avatar -&gt; user_id -&gt; list + form views

4) account.analytic.line

avatar -&gt; employee_id -&gt; list view
display unit_amount in red if &gt; 24:00 -&gt; list + kanban + form view
https://nimb.ws/eIWa7E merge the timer and duration fields together

5) helpdesk.ticket

avatar
user_id -&gt; list view
employee_id under timesheet_ids -&gt; form view
remaining hours -&gt; sla_deadline
activities -&gt; 'next activity' field to be added -&gt; list view
field specific decoration -&gt; display unit_amount in red if &gt; 24:00 -&gt; form view

6) hr.expense

avatar -&gt; employee_id -&gt; list view
activities -&gt; 'next activity' field to be added -&gt; list view
badge -&gt; state -&gt; list view
draft = blue
reported = green
approved = green
done = green
refused = red
combine the unit_amount and the currency_id fields (see the total_amount field for reference) -&gt; list view (idem for the expense_line_ids one2many on hr.expense.sheet)
display the total_amount in bold
move 'company_id' before 'amount'

7) hr.expense.sheet

avatar
employee_id -&gt; list view
user_id -&gt; list view
activities -&gt; 'next activity' field to be added -&gt; list view
badge -&gt; state -&gt; list view
draft = blue
submit = green
approve = green
post = green
done = green
cancel = red
display the total_amount in bold
move 'company_id' before 'amount'

8) planning.slot

avatar -&gt; employee_id -&gt; list view
decoration
display the allocated_percentage field in red if &gt; 100% -&gt; list + form view
display the forecast_hours field in red if &gt; planned hours and if planned_hours &gt; 0 -&gt; form view
display the effective_hours field in red if &gt; forecast_hours and if forecast_hours &gt; 0 -&gt; form view

9) misc

calendar.event -&gt; avatar -&gt; user_id -&gt; form view
mail.activity.type -&gt; combine the delay_count and delay_unit fields together -&gt; list view
note.note -&gt; 'next activity' field to be added -&gt; list view
crm.lead.mining.request
combine the lead_number and lead_type fields together -&gt; list view
display the name in bold
badge -&gt; state
draft = blue
done = green
error = red
planning.slot.template -&gt; display the duration field in red if it is = 0

closes odoo/odoo#51271

Taskid: 2248351
Related: odoo/enterprise#10605
Related: odoo/upgrade#1252
Signed-off-by: Yannick Tivisse (yti) &lt;yti@odoo.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] hr_timesheet, timer: Fix traceback in kanban view when using the timer</title>
<updated>2020-04-29T13:29:31+00:00</updated>
<author>
<name>Nisha patel</name>
<email>nit@odoo.com</email>
</author>
<published>2020-04-07T10:19:29+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=6bfc5bd817b37727f7bf42326faf592a8365b303'/>
<id>6bfc5bd817b37727f7bf42326faf592a8365b303</id>
<content type='text'>
Currently, when the unit amount of line is zero and the timer time
spent on entry is less than one minutes then entries are unlinked
once the timer is stopped and due to that the entry disappear from the
kanban view and traceback is generated.

After this commit, we fix the issue by preventing the deletion of
entries by setting options 'prevent_deletion' on widget so we should
no allow to delete the entry if the option is set on widget.

closes odoo/odoo#50395

Taskid: 2230155
Closes: #49128
X-original-commit: 64b9a9b4deaee5a8139b0afbe3f222a476a038f9
Signed-off-by: Yannick Tivisse (yti) &lt;yti@odoo.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, when the unit amount of line is zero and the timer time
spent on entry is less than one minutes then entries are unlinked
once the timer is stopped and due to that the entry disappear from the
kanban view and traceback is generated.

After this commit, we fix the issue by preventing the deletion of
entries by setting options 'prevent_deletion' on widget so we should
no allow to delete the entry if the option is set on widget.

closes odoo/odoo#50395

Taskid: 2230155
Closes: #49128
X-original-commit: 64b9a9b4deaee5a8139b0afbe3f222a476a038f9
Signed-off-by: Yannick Tivisse (yti) &lt;yti@odoo.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] *: declare ir.rule in noupdate</title>
<updated>2020-03-20T15:21:25+00:00</updated>
<author>
<name>Victor Feyens</name>
<email>vfe@odoo.com</email>
</author>
<published>2020-03-10T17:07:12+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=a3ded9043d34229e4547e16625a86dfbebdbcfaf'/>
<id>a3ded9043d34229e4547e16625a86dfbebdbcfaf</id>
<content type='text'>
ir.rule are default values but can be customized based on the
company's policy and needs.
This is typically a record that is in noupdate as should be
customization-friendly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ir.rule are default values but can be customized based on the
company's policy and needs.
This is typically a record that is in noupdate as should be
customization-friendly.
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] base: Display searchpanel on ir.module.module views</title>
<updated>2020-03-05T14:03:45+00:00</updated>
<author>
<name>Yannick Tivisse</name>
<email>yti@odoo.com</email>
</author>
<published>2020-01-31T14:11:36+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=4c291e3f7049c3af859902a6f5857eab68be2f9e'/>
<id>4c291e3f7049c3af859902a6f5857eab68be2f9e</id>
<content type='text'>
Purpose
=======

The current kanban view is messy. It is difficult to identify which
apps are installed or not. The user can completely miss a module
that might have interested him. A search panel would make things way
more readable.

closes odoo/odoo#44401

Taskid: 2181557
Related: odoo/enterprise#8144
Related: odoo/upgrade#879
Signed-off-by: Yannick Tivisse (yti) &lt;yti@odoo.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Purpose
=======

The current kanban view is messy. It is difficult to identify which
apps are installed or not. The user can completely miss a module
that might have interested him. A search panel would make things way
more readable.

closes odoo/odoo#44401

Taskid: 2181557
Related: odoo/enterprise#8144
Related: odoo/upgrade#879
Signed-off-by: Yannick Tivisse (yti) &lt;yti@odoo.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] timer: Fix wrong type for res_id field</title>
<updated>2020-02-14T12:27:01+00:00</updated>
<author>
<name>Yannick Tivisse</name>
<email>yti@odoo.com</email>
</author>
<published>2020-02-14T10:47:05+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=fd9b08c70fff21a73f42ce1b21be0580c0283dcc'/>
<id>fd9b08c70fff21a73f42ce1b21be0580c0283dcc</id>
<content type='text'>
Purpose
=======

Having a char field referring to an Integer could lead
to unwanted behavior if not managed correctly.

closes odoo/odoo#45393

X-original-commit: d73a86fd682495c034dfde678442f37689ecb759
Signed-off-by: Xavier Dollé (xdo) &lt;xdo@odoo.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Purpose
=======

Having a char field referring to an Integer could lead
to unwanted behavior if not managed correctly.

closes odoo/odoo#45393

X-original-commit: d73a86fd682495c034dfde678442f37689ecb759
Signed-off-by: Xavier Dollé (xdo) &lt;xdo@odoo.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
