<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/base_import_module/models/ir_ui_view.py, 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] P3: list -&gt; iterable builtins (#16811)</title>
<updated>2017-05-10T07:39:55+00:00</updated>
<author>
<name>xmo-odoo</name>
<email>xmo@odoo.com</email>
</author>
<published>2017-05-10T07:39:55+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=fffaf735f58f1ac57781c095eb552de6d1fcdc47'/>
<id>fffaf735f58f1ac57781c095eb552de6d1fcdc47</id>
<content type='text'>
In Python 3:

* various builtins and dict methods were changed to return
  view/iterable objects rather than lists
* and the separate Python 2 view/iterable builtins and methods were
  removed altogether

This is problematic when using these items as list (which the happens
repeatedly in Odoo), but more viciously when iterating *multiple times*
over them (which also happens, which I've messed up multiple times while
writing this, and which is a pain to debug even when you've just created
the issue).

Convert all code using these to semantics-matching cross-version
helper functions to get the LCD behaviour between P2 and P3, and
forbid the builtins via lint.

issue #8530</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Python 3:

* various builtins and dict methods were changed to return
  view/iterable objects rather than lists
* and the separate Python 2 view/iterable builtins and methods were
  removed altogether

This is problematic when using these items as list (which the happens
repeatedly in Odoo), but more viciously when iterating *multiple times*
over them (which also happens, which I've messed up multiple times while
writing this, and which is a pain to debug even when you've just created
the issue).

Convert all code using these to semantics-matching cross-version
helper functions to get the LCD behaviour between P2 and P3, and
forbid the builtins via lint.

issue #8530</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] odoofication</title>
<updated>2017-03-30T06:59:13+00:00</updated>
<author>
<name>Martin Trigaux</name>
<email>mat@odoo.com</email>
</author>
<published>2017-03-30T06:58:08+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=2382520c34fae7cf7d093cbce43236c2d35f66fe'/>
<id>2382520c34fae7cf7d093cbce43236c2d35f66fe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] base_import_module: correct validation of custom views</title>
<updated>2017-01-03T12:12:17+00:00</updated>
<author>
<name>Christophe Simonis</name>
<email>chs@odoo.com</email>
</author>
<published>2016-11-28T13:09:30+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=1aad733dc4b4d9b4e69b0ef8236f5f20c5510d2d'/>
<id>1aad733dc4b4d9b4e69b0ef8236f5f20c5510d2d</id>
<content type='text'>
Consider also imported and exported views when validating custom views.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Consider also imported and exported views when validating custom views.
</pre>
</div>
</content>
</entry>
</feed>
