<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/decimal_precision/models/__init__.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>[REM] decimal_precision: remove module</title>
<updated>2019-07-03T11:15:48+00:00</updated>
<author>
<name>Mitali Patel</name>
<email>mpa@odoo.com</email>
</author>
<published>2018-08-13T13:13:06+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=e453af0a8f1a066a12890d692797ac5dc6b17e2d'/>
<id>e453af0a8f1a066a12890d692797ac5dc6b17e2d</id>
<content type='text'>
Remove leftover files, everything is now in base</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove leftover files, everything is now in base</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] decimal_precision: integrate into base</title>
<updated>2019-07-03T11:15:48+00:00</updated>
<author>
<name>Mitali Patel</name>
<email>mpa@odoo.com</email>
</author>
<published>2018-08-13T12:43:30+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=0c5121a979f02d6eee9779068cbb2d43788dc917'/>
<id>0c5121a979f02d6eee9779068cbb2d43788dc917</id>
<content type='text'>
The decimal precision feature makes sense to be an ORM feature, no need to be
in a specific module

Previous syntax was
    from odoo.addons import decimal_precision as dp
    fields.Float(digits=dp.get_precision('Foo'))

and now is:
    fields.Float(digits='Foo')

Remove the possibility to have a callable method on the digits attribute (it
was only used for precision anyway) and directly retrieve the digits on the
decimal.precision model

Rename the method digits to get_digits to avoid confusion between the field
attribute when declaring a field and the method to retrieve the precision

Task id: 48198</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The decimal precision feature makes sense to be an ORM feature, no need to be
in a specific module

Previous syntax was
    from odoo.addons import decimal_precision as dp
    fields.Float(digits=dp.get_precision('Foo'))

and now is:
    fields.Float(digits='Foo')

Remove the possibility to have a callable method on the digits attribute (it
was only used for precision anyway) and directly retrieve the digits on the
decimal.precision model

Rename the method digits to get_digits to avoid confusion between the field
attribute when declaring a field and the method to retrieve the precision

Task id: 48198</pre>
</div>
</content>
</entry>
<entry>
<title>[MOV] decimal_precision: apply standard layout</title>
<updated>2016-07-06T15:19:36+00:00</updated>
<author>
<name>Xavier Morel</name>
<email>xmo@odoo.com</email>
</author>
<published>2016-06-06T15:59:24+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=8f7b233bc160f42f1ac4e22616362f23e64393f7'/>
<id>8f7b233bc160f42f1ac4e22616362f23e64393f7</id>
<content type='text'>
Had to alter marketing_campaign as it imported get_precision from deeper
into the module instead of properly getting it from the module's toplevel.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Had to alter marketing_campaign as it imported get_precision from deeper
into the module instead of properly getting it from the module's toplevel.
</pre>
</div>
</content>
</entry>
</feed>
