<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/website/static/src/xml/website.xml, 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] website: don't load ir.ui.menu in frontend until needed</title>
<updated>2020-02-24T15:43:32+00:00</updated>
<author>
<name>Romain Derie</name>
<email>rde@odoo.com</email>
</author>
<published>2020-02-20T15:12:01+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=4206c1f225f5b1c54a0cdd4913e1d8224a2e7889'/>
<id>4206c1f225f5b1c54a0cdd4913e1d8224a2e7889</id>
<content type='text'>
Before this commit:
When logged in and navigating on a frontend page, the accessible `ir.ui.menu`
would be loaded in qcontext.
Loading those menus performs alot of SQL request, up to ~2.000 requests on big
databases such as Odoo.com for an user with a lot of access rights.
This is not a problem on low traffic website as this is ORM cached, but when
there is a lot of traffic, the cache is clear very often, thus this code only
is adding a lot of requests for no reason most of the time as the user is just
navigating without any intention of opening the application menu.

Note that this qcontext computation in frontend was pointless in enterprise as
the applications menu in frontend redirect to the backend without using it.

This commit removes that computation from the qcontext. The menus will be
computed and loaded only when the user really needs it, when he is about to
open the application menu.

closes odoo/odoo#46127

X-original-commit: 471ddf85ce619961e46fb281bf721968ff298d3b
Signed-off-by: Romain Derie &lt;rdeodoo@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this commit:
When logged in and navigating on a frontend page, the accessible `ir.ui.menu`
would be loaded in qcontext.
Loading those menus performs alot of SQL request, up to ~2.000 requests on big
databases such as Odoo.com for an user with a lot of access rights.
This is not a problem on low traffic website as this is ORM cached, but when
there is a lot of traffic, the cache is clear very often, thus this code only
is adding a lot of requests for no reason most of the time as the user is just
navigating without any intention of opening the application menu.

Note that this qcontext computation in frontend was pointless in enterprise as
the applications menu in frontend redirect to the backend without using it.

This commit removes that computation from the qcontext. The menus will be
computed and loaded only when the user really needs it, when he is about to
open the application menu.

closes odoo/odoo#46127

X-original-commit: 471ddf85ce619961e46fb281bf721968ff298d3b
Signed-off-by: Romain Derie &lt;rdeodoo@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] website: improve code for duplicate and new page</title>
<updated>2020-02-11T15:30:10+00:00</updated>
<author>
<name>Bhavita Bhatt</name>
<email>bbh@odoo.com</email>
</author>
<published>2019-12-16T10:49:14+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=4e340cc5f0c1fe9de17a2b852de4faf65a33926a'/>
<id>4e340cc5f0c1fe9de17a2b852de4faf65a33926a</id>
<content type='text'>
in this commit, throw the wizard to enter the new page name, while duplicating
page button and new duplicate page button added in the page properties dialog.
updated the test case related to duplicate page along with duplicate menu
consideration.

task-2088546
closes #40085

Co-authored-by: jpr-odoo &lt;jpr@openerp.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
in this commit, throw the wizard to enter the new page name, while duplicating
page button and new duplicate page button added in the page properties dialog.
updated the test case related to duplicate page along with duplicate menu
consideration.

task-2088546
closes #40085

Co-authored-by: jpr-odoo &lt;jpr@openerp.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] website, website_link: improve frontend config screens</title>
<updated>2020-02-11T15:30:00+00:00</updated>
<author>
<name>Bhavita Bhatt</name>
<email>bbh@odoo.com</email>
</author>
<published>2019-12-16T10:42:04+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=4e162a4e7559491af651ab8da197fb16a5212bb0'/>
<id>4e162a4e7559491af651ab8da197fb16a5212bb0</id>
<content type='text'>
Following things are done in this commit:
1. changed some labeling and string for more readable and helpful to the user
2. added extra width to the text box
3. added publish/unpublish option for mobile view.
4. track page option auto-activated for any new page,event,job offer,course,
   blog.

task-2088546
closes #40085

Co-authored-by: jpr-odoo &lt;jpr@openerp.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Following things are done in this commit:
1. changed some labeling and string for more readable and helpful to the user
2. added extra width to the text box
3. added publish/unpublish option for mobile view.
4. track page option auto-activated for any new page,event,job offer,course,
   blog.

task-2088546
closes #40085

Co-authored-by: jpr-odoo &lt;jpr@openerp.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] website_forum: bring forum modes</title>
<updated>2019-08-02T16:32:29+00:00</updated>
<author>
<name>Andrea Ulliana</name>
<email>aul@odoo.com</email>
</author>
<published>2019-06-13T10:48:12+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=f9c2716b3e76ce9bc36d87d69a37a897391c9cdb'/>
<id>f9c2716b3e76ce9bc36d87d69a37a897391c9cdb</id>
<content type='text'>
It is now possible to specify the forum mode : Questions and Answers or
Discussions. In Q&amp;A mode, a user can only reply once while there is no
limit in Discussions mode.

task-2008910

closes odoo/odoo#34097

Signed-off-by: Jérémy Kersten (jke) &lt;jke@openerp.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It is now possible to specify the forum mode : Questions and Answers or
Discussions. In Q&amp;A mode, a user can only reply once while there is no
limit in Discussions mode.

task-2008910

closes odoo/odoo#34097

Signed-off-by: Jérémy Kersten (jke) &lt;jke@openerp.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] *: BS4, restore modal headers</title>
<updated>2018-07-31T11:07:48+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2018-07-31T09:21:41+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=37b746c6cff847d65c56e935b32828414eb6c014'/>
<id>37b746c6cff847d65c56e935b32828414eb6c014</id>
<content type='text'>
Close icon should now be put after the modal title in the DOM.
Completes commit https://github.com/odoo/odoo/commit/d9801c1abe06b4c20702c0e94c56eea6a3ed8327
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Close icon should now be put after the modal title in the DOM.
Completes commit https://github.com/odoo/odoo/commit/d9801c1abe06b4c20702c0e94c56eea6a3ed8327
</pre>
</div>
</content>
</entry>
<entry>
<title>[REF] *: BS4, adapt forms</title>
<updated>2018-07-27T10:36:54+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2018-05-22T13:30:36+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=93b0001df6766fe905ee69c25ec8d846e4551064'/>
<id>93b0001df6766fe905ee69c25ec8d846e4551064</id>
<content type='text'>
The 'form-horizontal' class have been removed; the '.form-group'
elements must now use the 'row' class for an horizontal layout.

The 'control-label' class was renamed to 'col-form-label'.

The 'help-block' class was renamed to 'form-text'.

The 'has-error' and 'has-success' classes have been removed and
replaced by a new system using the :valid and :invalid pseudo-classes,
when a parent has the 'was-validated' class. While this system is great,
it is not straightforward to use it in Odoo. Fortunately, BS4 provides
the 'is-valid' and 'is-invalid' classes as fallback. This commit
replaces the 'has-error' and 'has-success' classes by 'o_has_error' and
'o_has_success' classes (for JS compatibility) and use the 'is-*'
fallback classes. (The 'has-warning' class has no equivalent but was
unused in Odoo anyway).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The 'form-horizontal' class have been removed; the '.form-group'
elements must now use the 'row' class for an horizontal layout.

The 'control-label' class was renamed to 'col-form-label'.

The 'help-block' class was renamed to 'form-text'.

The 'has-error' and 'has-success' classes have been removed and
replaced by a new system using the :valid and :invalid pseudo-classes,
when a parent has the 'was-validated' class. While this system is great,
it is not straightforward to use it in Odoo. Fortunately, BS4 provides
the 'is-valid' and 'is-invalid' classes as fallback. This commit
replaces the 'has-error' and 'has-success' classes by 'o_has_error' and
'o_has_success' classes (for JS compatibility) and use the 'is-*'
fallback classes. (The 'has-warning' class has no equivalent but was
unused in Odoo anyway).
</pre>
</div>
</content>
</entry>
<entry>
<title>[REF] *: BS4, review panel and well structure</title>
<updated>2018-07-27T10:36:54+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2018-03-15T13:25:57+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=59237ea81988bdcd0cc746422a7c94bf2eadaaa2'/>
<id>59237ea81988bdcd0cc746422a7c94bf2eadaaa2</id>
<content type='text'>
Panels and wells were dropped and replaced by the "Card" component.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Panels and wells were dropped and replaced by the "Card" component.
</pre>
</div>
</content>
</entry>
<entry>
<title>[REF] *: BS4, adapt col-related classes</title>
<updated>2018-07-27T10:36:54+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2018-05-16T10:24:30+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=ed1b18f10348244ce26b8b27edbd59d91cee7772'/>
<id>ed1b18f10348244ce26b8b27edbd59d91cee7772</id>
<content type='text'>
col-lg-* -&gt; col-xl-*
col-md-* -&gt; col-lg-*
col-sm-* -&gt; col-md-*
col-xs-* -&gt; col-*

col-lg-offset-* -&gt; offset-xl-*
col-md-offset-* -&gt; offset-lg-*
col-sm-offset-* -&gt; offset-md-*
col-xs-offset-* -&gt; offset-*

col-lg-pull-* -&gt; order-xl-1
col-md-pull-* -&gt; order-lg-1
col-sm-pull-* -&gt; order-md-1
col-xs-pull-* -&gt; order-1

col-lg-push-* -&gt; order-xl-2
col-md-push-* -&gt; order-lg-2
col-sm-push-* -&gt; order-md-2
col-xs-push-* -&gt; order-2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
col-lg-* -&gt; col-xl-*
col-md-* -&gt; col-lg-*
col-sm-* -&gt; col-md-*
col-xs-* -&gt; col-*

col-lg-offset-* -&gt; offset-xl-*
col-md-offset-* -&gt; offset-lg-*
col-sm-offset-* -&gt; offset-md-*
col-xs-offset-* -&gt; offset-*

col-lg-pull-* -&gt; order-xl-1
col-md-pull-* -&gt; order-lg-1
col-sm-pull-* -&gt; order-md-1
col-xs-pull-* -&gt; order-1

col-lg-push-* -&gt; order-xl-2
col-md-push-* -&gt; order-lg-2
col-sm-push-* -&gt; order-md-2
col-xs-push-* -&gt; order-2
</pre>
</div>
</content>
</entry>
<entry>
<title>[REF] *: BS4, rename btn-default to btn-secondary</title>
<updated>2018-07-27T10:36:54+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2018-07-16T14:48:59+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=c59380bac5bbd47bc7dcd92b38049af29a62c3d1'/>
<id>c59380bac5bbd47bc7dcd92b38049af29a62c3d1</id>
<content type='text'>
BS4 "btn-default" class was replaced with "btn-secondary", which makes
more sense.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BS4 "btn-default" class was replaced with "btn-secondary", which makes
more sense.
</pre>
</div>
</content>
</entry>
<entry>
<title>[REF] *: BS4, remove the use of btn-sm</title>
<updated>2018-07-27T10:36:54+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2018-04-27T14:01:09+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=81f359c81c69af2a5ec0645602e2bb43b2e16721'/>
<id>81f359c81c69af2a5ec0645602e2bb43b2e16721</id>
<content type='text'>
Odoo made the bad choice of using the 'btn-sm' class for every button
instead of configuring the padding for default 'btn' to be smaller.
In BS4, the style of btn-sm is actually more complex, lowering the
font-size too. Also, btn-xs was removed so we would not have the
possibility to display smaller button than our default ones.

This commit removes btn-sm wherever it was used. Unfortunately, this
might remove it at some places where it made sense but this can be
restored in a second time.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Odoo made the bad choice of using the 'btn-sm' class for every button
instead of configuring the padding for default 'btn' to be smaller.
In BS4, the style of btn-sm is actually more complex, lowering the
font-size too. Also, btn-xs was removed so we would not have the
possibility to display smaller button than our default ones.

This commit removes btn-sm wherever it was used. Unfortunately, this
might remove it at some places where it made sense but this can be
restored in a second time.
</pre>
</div>
</content>
</entry>
</feed>
