<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/document/static/src/js/document.js, 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>[REF] document, attachment_indexation: renames the module document</title>
<updated>2018-12-06T19:09:34+00:00</updated>
<author>
<name>ThanhDodeurOdoo</name>
<email>tso@odoo.com</email>
</author>
<published>2018-12-06T10:51:40+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=adab361fb53c2cadda08bb84d001ccdbe7608afa'/>
<id>adab361fb53c2cadda08bb84d001ccdbe7608afa</id>
<content type='text'>
This commit renames the module document into attachment_indexation
to provide a more descriptive name and avoid confusion with
enterprise's documents module.

task: #1908896</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit renames the module document into attachment_indexation
to provide a more descriptive name and avoid confusion with
enterprise's documents module.

task: #1908896</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[FIX] document: JS feature disabled"</title>
<updated>2018-12-06T19:09:34+00:00</updated>
<author>
<name>ThanhDodeurOdoo</name>
<email>tso@odoo.com</email>
</author>
<published>2018-12-06T07:43:00+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=20cbb6dc0ba20c165f2ff1e6f1bcd418729ed186'/>
<id>20cbb6dc0ba20c165f2ff1e6f1bcd418729ed186</id>
<content type='text'>
This reverts commit 1dbb555a

Bring the sidebar attachment dropdown feature back.

This feature was removed due to be considered as useless,
but since some models can have attachement without a mail_thread,
this feature is still necessary.

task: #1908896</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 1dbb555a

Bring the sidebar attachment dropdown feature back.

This feature was removed due to be considered as useless,
but since some models can have attachement without a mail_thread,
this feature is still necessary.

task: #1908896</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] document: JS feature disabled</title>
<updated>2018-10-10T18:28:13+00:00</updated>
<author>
<name>ThanhDodeurOdoo</name>
<email>tso@odoo.com</email>
</author>
<published>2018-10-10T10:06:20+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=1dbb555aab8910d1739783c39fd502c4a2e145d0'/>
<id>1dbb555aab8910d1739783c39fd502c4a2e145d0</id>
<content type='text'>
Reason: This feature currently has unfixed bugs, does an unnecessary RPC and
was functionally replaced by a button inside the chatter in commit
7f97c9f and the menu inside the debug manager in commit d12b88315.

This commit disables the JS part of the document module to prepare
for the complete removal of the whole module and the MOV of
the indexation to base.

Closes #27613</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reason: This feature currently has unfixed bugs, does an unnecessary RPC and
was functionally replaced by a button inside the chatter in commit
7f97c9f and the menu inside the debug manager in commit d12b88315.

This commit disables the JS part of the document module to prepare
for the complete removal of the whole module and the MOV of
the indexation to base.

Closes #27613</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] document: update environment before attachments update</title>
<updated>2018-09-27T10:11:12+00:00</updated>
<author>
<name>len-odoo</name>
<email>len@odoo.com</email>
</author>
<published>2018-09-27T10:10:56+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=2a697f1c5b06e741968dcd9b1f698ec5fc55f62e'/>
<id>2a697f1c5b06e741968dcd9b1f698ec5fc55f62e</id>
<content type='text'>
Fine-tuning of commit:
b3a3ad80991265c50f38fd20588df9a69b6bcf67
ac1e187eea33266095f49a9e1e1ea6b0698be865

The environment should be updated before the call to _updateAttachments,
as it depends on the env active_id.

opw 1888651

closes odoo/odoo#27277</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fine-tuning of commit:
b3a3ad80991265c50f38fd20588df9a69b6bcf67
ac1e187eea33266095f49a9e1e1ea6b0698be865

The environment should be updated before the call to _updateAttachments,
as it depends on the env active_id.

opw 1888651

closes odoo/odoo#27277</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] document: updateEnv-&gt;redraw on not form view</title>
<updated>2018-09-21T11:08:11+00:00</updated>
<author>
<name>Nicolas Lempereur</name>
<email>nle@odoo.com</email>
</author>
<published>2018-09-21T09:25:52+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=b3a3ad80991265c50f38fd20588df9a69b6bcf67'/>
<id>b3a3ad80991265c50f38fd20588df9a69b6bcf67</id>
<content type='text'>
In ac1e187ee some unecessary code and RPC were removed by ignoring
attachments in the sidebar when they would never be shown.

But there was an regression since `updateEnv` function would not
longer call redraw (which is also called in _super function).

report: https://github.com/odoo/odoo/commit/ac1e187eea3#r30569171

related to opw-1865736
closes #27146</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In ac1e187ee some unecessary code and RPC were removed by ignoring
attachments in the sidebar when they would never be shown.

But there was an regression since `updateEnv` function would not
longer call redraw (which is also called in _super function).

report: https://github.com/odoo/odoo/commit/ac1e187eea3#r30569171

related to opw-1865736
closes #27146</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] document: no query attachment out of form view</title>
<updated>2018-08-17T13:33:40+00:00</updated>
<author>
<name>Nicolas Lempereur</name>
<email>nle@odoo.com</email>
</author>
<published>2018-08-07T15:19:57+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=ac1e187eea33266095f49a9e1e1ea6b0698be865'/>
<id>ac1e187eea33266095f49a9e1e1ea6b0698be865</id>
<content type='text'>
Since cce70fd4 the attachment menu is only displayed for form view.

But if in another view there is active_ids (eg. selecting record in a
list view), we will still make a query to ir.attachment without using
the result.

Without the code change, the added test would fail when doing a
search_read RPC call to ir.attachment model.

related to #26213
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since cce70fd4 the attachment menu is only displayed for form view.

But if in another view there is active_ids (eg. selecting record in a
list view), we will still make a query to ir.attachment without using
the result.

Without the code change, the added test would fail when doing a
search_read RPC call to ir.attachment model.

related to #26213
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] document: display create_date of attachment timezone aware (#20242)</title>
<updated>2017-10-18T12:25:22+00:00</updated>
<author>
<name>Lucas Perais</name>
<email>lcsperais@gmail.com</email>
</author>
<published>2017-10-18T12:25:22+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=6c9e45576e8de511fb5da8b2118dd844b38c4782'/>
<id>6c9e45576e8de511fb5da8b2118dd844b38c4782</id>
<content type='text'>
Before this commit, when putting the mouse over an attachment in the attachment drop menu list, the date time displayed was UTC only.
After this commit, we convert that value to the correct timezone datetime.

OPW 776704</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this commit, when putting the mouse over an attachment in the attachment drop menu list, the date time displayed was UTC only.
After this commit, we convert that value to the correct timezone datetime.

OPW 776704</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] web, document: adapt toolbar to the new views</title>
<updated>2017-05-03T11:41:07+00:00</updated>
<author>
<name>fwi-odoo</name>
<email>fwi@odoo.com</email>
</author>
<published>2017-04-25T11:55:38+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=a53335fdb2fe6e9232bde66f06e9499bece452d4'/>
<id>a53335fdb2fe6e9232bde66f06e9499bece452d4</id>
<content type='text'>
- Fix the toolbar behaviour since there is no more dataset in the widget.
- Improve the communication beetwen the controller and the toolbar.
- Move the code linked to the document upload in the right file.
- Adapt the tests to mock the search_read done by ´document´ addon
- Adapt the mock server to be able to give a custom toolbar action
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Fix the toolbar behaviour since there is no more dataset in the widget.
- Improve the communication beetwen the controller and the toolbar.
- Move the code linked to the document upload in the right file.
- Adapt the tests to mock the search_read done by ´document´ addon
- Adapt the mock server to be able to give a custom toolbar action
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] *: adapt addons to views refactoring of previous commit</title>
<updated>2016-03-18T09:44:52+00:00</updated>
<author>
<name>Aaron Bohy</name>
<email>aab@odoo.com</email>
</author>
<published>2016-03-16T08:53:31+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=bda451ab31c19c52eb72c16eae2471d39860a8d3'/>
<id>bda451ab31c19c52eb72c16eae2471d39860a8d3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] web+addons: improvement to module system</title>
<updated>2015-03-18T08:23:37+00:00</updated>
<author>
<name>Géry Debongnie</name>
<email>ged@odoo.com</email>
</author>
<published>2015-03-13T13:02:50+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=4fdf74fe21b9fb99ed9cdcb1a0ef2e21d34dafed'/>
<id>4fdf74fe21b9fb99ed9cdcb1a0ef2e21d34dafed</id>
<content type='text'>
The module system needs to know the dependencies of a given module
before executing the function.  This is why the dependencies were
defined once in an array, and then were described one more times in the
call to require.

But a trick can simplify this: the boot function can parse the string
representation of the module and extract the calls to require from it.
It is more work for the processor, but it leads to simpler module
definitions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The module system needs to know the dependencies of a given module
before executing the function.  This is why the dependencies were
defined once in an array, and then were described one more times in the
call to require.

But a trick can simplify this: the boot function can parse the string
representation of the module and extract the calls to require from it.
It is more work for the processor, but it leads to simpler module
definitions.
</pre>
</div>
</content>
</entry>
</feed>
