Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: utf-8 encoding message in Odoo 11

by
Tecnativa. S. L., Jairo Llopis
- 20/10/2017 09:36:05

2017-10-20 3:47 GMT+02:00 Eric Caudal <eric.caudal@elico-corp.com>:

+1 (in Python < 3 obviously)

--
Eric Caudal [Founder and CEO]
Skype: elico.corp. Phone: + 86 186 2136 1670 (Cell), + 86 21 6211 8017/27/37 (Office)
Elico Shanghai (Hong Kong/Shenzhen/Singapore)
Odoo Gold Partner // Best Odoo Partner APAC 2014 and 2016
On 10/20/2017 12:17 AM, Moises Lopez wrote:
<blockquote type="cite" cite="mid:CAGro9RW+sG1cOOGDTpG7Pq+Jd-6+U3RbcYahrNWPzb2y_g+QPA@mail.gmail.com">
What about change from https://github.com/OCA/maintainer-tools/blob/master/CONTRIBUTING.md#idioms?

"Each python file should have # coding: utf-8 or # -*- coding: utf-8 -*- as first line"



2017-10-17 2:47 GMT-05:00 Jairo Llopis <jairo.llopis@tecnativa.com>:
Just to remind you that when you migrate addons to v11, the # -*- coding: utf-8 -*- line is not necessary anymore in Python 3

--
Jairo Llopis

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe




--
Moisés López Calderón
Vauxoo - OpenERP's Gold Partner
Mobile: (+521) 477-752-22-30
Office: (+52) 477-773-33-46
web: http://www.vauxoo.com
twitter: @vauxoo
           @moylop260           

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe


_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe




--
Jairo Llopis

Reference