<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/web/static/src/js/chrome/view_manager.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] web,*: ActionManager/ViewManager refactoring</title>
<updated>2018-01-16T19:49:19+00:00</updated>
<author>
<name>Aaron Bohy</name>
<email>aab@odoo.com</email>
</author>
<published>2017-11-17T12:14:02+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=32b8cec5361174c92c45a4975d4e02f1fb448aa2'/>
<id>32b8cec5361174c92c45a4975d4e02f1fb448aa2</id>
<content type='text'>
This rev. is the first part (out of 3) of the refactoring of the
ActionManager and ViewManager layer of the webclient.

The main changes are:
  - there is no ViewManager anymore, its work is now handled by the
    ActionManager itself, but isolated in a specific file ; this
    eases a lot of things, as the breadcrumbs handling for example.
  - the ActionManager code is converted to the new coding principles
    and guidelines ; mainly, children widgets communicate with it by
    triggering events up, and not by function calls anymore.
  - the ActionManager layer is now testable, and a lot of tests have
    already been written.
  - the code in other addons has been adapted consequently.

What's coming next:
  - introduce the 'AbstractAction' Widget, and make client actions
    and view controllers inherit from it ; this widget will
    implement a common API that could be used uniformly by the
    ActionManager (e.g. restore(), canBeLeft(), renderButtons(),
    getTitle()...).
  - move the ControlPanel handling from the ActionManager to the
    AbstractAction.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This rev. is the first part (out of 3) of the refactoring of the
ActionManager and ViewManager layer of the webclient.

The main changes are:
  - there is no ViewManager anymore, its work is now handled by the
    ActionManager itself, but isolated in a specific file ; this
    eases a lot of things, as the breadcrumbs handling for example.
  - the ActionManager code is converted to the new coding principles
    and guidelines ; mainly, children widgets communicate with it by
    triggering events up, and not by function calls anymore.
  - the ActionManager layer is now testable, and a lot of tests have
    already been written.
  - the code in other addons has been adapted consequently.

What's coming next:
  - introduce the 'AbstractAction' Widget, and make client actions
    and view controllers inherit from it ; this widget will
    implement a common API that could be used uniformly by the
    ActionManager (e.g. restore(), canBeLeft(), renderButtons(),
    getTitle()...).
  - move the ControlPanel handling from the ActionManager to the
    AbstractAction.
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] web: debug_manager: change view_type to form in url</title>
<updated>2017-12-05T10:37:48+00:00</updated>
<author>
<name>Adrien Dieudonne</name>
<email>adr@odoo.com</email>
</author>
<published>2017-12-05T09:17:50+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=6d7d6d9460cae90b257daecf848de1873c413448'/>
<id>6d7d6d9460cae90b257daecf848de1873c413448</id>
<content type='text'>
Before this commit, there were an error when you tried
to change the view_type directly from the url in debug mode.
The controller of the view wasn't defined and a crash happened
when we tried to render the DebugManager.View.

To fix this, we now wait for the 'switch_mode' which sets
the controller to the active view.
'do_load_state' is now chained to 'switch_mode'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this commit, there were an error when you tried
to change the view_type directly from the url in debug mode.
The controller of the view wasn't defined and a crash happened
when we tried to render the DebugManager.View.

To fix this, we now wait for the 'switch_mode' which sets
the controller to the active view.
'do_load_state' is now chained to 'switch_mode'
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[IMP] web: filter when clicking on tags in Kanban"</title>
<updated>2017-09-30T13:59:24+00:00</updated>
<author>
<name>Aaron Bohy</name>
<email>aab@odoo.com</email>
</author>
<published>2017-09-30T11:47:02+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=b53af081cb6fc0bb3a6a7bb308c1764f9dc7528d'/>
<id>b53af081cb6fc0bb3a6a7bb308c1764f9dc7528d</id>
<content type='text'>
This reverts commit b6ef149b as it seems that we don't want this
feature ultimately (was confusing for users trying to open the
record, but it filtered instead).

Note that opening the record by clicking on a tag still doesn't
work, but this is fixed by the next commit.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit b6ef149b as it seems that we don't want this
feature ultimately (was confusing for users trying to open the
record, but it filtered instead).

Note that opening the record by clicking on a tag still doesn't
work, but this is fixed by the next commit.
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] web: Allow setting form_view_initial_mode in fullscreen</title>
<updated>2017-09-27T15:13:24+00:00</updated>
<author>
<name>Khoi Nguyen</name>
<email>bng@odoo.com</email>
</author>
<published>2017-09-25T21:26:22+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=0c7d4b649551d85815a93eedb11807a0bc62ff0b'/>
<id>0c7d4b649551d85815a93eedb11807a0bc62ff0b</id>
<content type='text'>
This commit lays the groundwork for the new work order tablet view,
which is a fullscreen form view that requires to be started in 'edit'
mode.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit lays the groundwork for the new work order tablet view,
which is a fullscreen form view that requires to be started in 'edit'
mode.
</pre>
</div>
</content>
</entry>
<entry>
<title>[MERGE] forward port branch saas-17 up to bf4ccb21f6c</title>
<updated>2017-09-21T16:14:55+00:00</updated>
<author>
<name>Christophe Simonis</name>
<email>chs@odoo.com</email>
</author>
<published>2017-09-21T16:14:55+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=5c51a0ad4d6bfab6427949ffe61650196798846a'/>
<id>5c51a0ad4d6bfab6427949ffe61650196798846a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[MERGE] forward port branch saas-16 up to 88395bdb8e1</title>
<updated>2017-09-21T15:18:49+00:00</updated>
<author>
<name>Christophe Simonis</name>
<email>chs@odoo.com</email>
</author>
<published>2017-09-21T15:18:49+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=bf4ccb21f6c9c8bcda9c6f94d844c89296523954'/>
<id>bf4ccb21f6c9c8bcda9c6f94d844c89296523954</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] web: keep settings form view in edit mode</title>
<updated>2017-09-21T06:12:15+00:00</updated>
<author>
<name>Aaron Bohy</name>
<email>aab@odoo.com</email>
</author>
<published>2017-09-20T11:21:23+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=c3a32fc98c0a0c485798c76f0496b192ba8afa54'/>
<id>c3a32fc98c0a0c485798c76f0496b192ba8afa54</id>
<content type='text'>
when coming back using the breadcrumbs.

The settings form view should always be displayed in 'edit' mode.
Before this rev., it was re-rendered in 'readonly' when the user
clicked on a link in a setting view (opening another view stacked
in the breadcrumbs), and then came back to the settings view using
the breadcrumbs. For instance, go to 'General Settings', click on
'Activity Types', come back.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
when coming back using the breadcrumbs.

The settings form view should always be displayed in 'edit' mode.
Before this rev., it was re-rendered in 'readonly' when the user
clicked on a link in a setting view (opening another view stacked
in the breadcrumbs), and then came back to the settings view using
the breadcrumbs. For instance, go to 'General Settings', click on
'Activity Types', come back.
</pre>
</div>
</content>
</entry>
<entry>
<title>[MERGE] forward port branch saas-17 up to 2a343d7c9c4</title>
<updated>2017-09-19T09:58:01+00:00</updated>
<author>
<name>Christophe Simonis</name>
<email>chs@odoo.com</email>
</author>
<published>2017-09-19T09:58:01+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=d15a31ae6d944cf04f9da8752b069b221cac0d9a'/>
<id>d15a31ae6d944cf04f9da8752b069b221cac0d9a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[MERGE] forward port branch saas-16 up to c3a48da767b</title>
<updated>2017-09-19T09:06:46+00:00</updated>
<author>
<name>Christophe Simonis</name>
<email>chs@odoo.com</email>
</author>
<published>2017-09-19T09:06:46+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=2a343d7c9c4b07bb6cf4c7c4197bb795a3d17f4b'/>
<id>2a343d7c9c4b07bb6cf4c7c4197bb795a3d17f4b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] web: reset offset to 0 when searching for records</title>
<updated>2017-09-19T08:14:24+00:00</updated>
<author>
<name>Hardik Patel</name>
<email>hat@odoo.com</email>
</author>
<published>2017-09-04T06:11:10+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=116aa22685c8aa3babd87c8d1091a53fbf4ff35b'/>
<id>116aa22685c8aa3babd87c8d1091a53fbf4ff35b</id>
<content type='text'>
Scenario: Go to any list or kanban view: go to next page and set a
filter that matches less that 'limit' record (e.g. less than 40),
but at least one. No record will be displayed, because the offset
is kept for the search_read.

This rev. ensures to reset the offset to 0 when a search is done
using the searchview.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Scenario: Go to any list or kanban view: go to next page and set a
filter that matches less that 'limit' record (e.g. less than 40),
but at least one. No record will be displayed, because the offset
is kept for the search_read.

This rev. ensures to reset the offset to 0 when a search is done
using the searchview.
</pre>
</div>
</content>
</entry>
</feed>
