From 9eb1bf20486fbe23947217980d98567744f1fb4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phan=20Sainl=C3=A9ger?= Date: Wed, 2 Dec 2020 14:43:08 +0100 Subject: [PATCH] Correction on useless comments and missing newlines --- partner_gogocarto_export_api/__manifest__.py | 5 ++++- partner_gogocarto_export_api/models/res_config_settings.py | 1 - partner_gogocarto_export_api/models/res_partner.py | 1 - partner_gogocarto_export_api/readme/CONFIGURE.rst | 2 +- partner_gogocarto_export_api/readme/CONTRIBUTORS.rst | 2 +- partner_gogocarto_export_api/readme/CREDITS.rst | 2 +- .../views/gogocarto_config_settings_view.xml | 2 +- partner_gogocarto_export_api/views/gogocarto_partner.xml | 2 +- 8 files changed, 9 insertions(+), 8 deletions(-) diff --git a/partner_gogocarto_export_api/__manifest__.py b/partner_gogocarto_export_api/__manifest__.py index 814eb2207..a1be5eff7 100644 --- a/partner_gogocarto_export_api/__manifest__.py +++ b/partner_gogocarto_export_api/__manifest__.py @@ -2,7 +2,10 @@ 'name': 'partner_gogocarto_export_api', 'summary': '''HTTP JSON api to send partner data for Gogocarto import''', 'license': 'AGPL-3', - 'author': 'Lokavaluto', + 'author': ( + 'Lokavaluto,' + 'Odoo Community Association (OCA)' + ), 'website': 'https://lokavaluto.fr', 'category': 'Localization', 'version': '12.0.1.0.0', diff --git a/partner_gogocarto_export_api/models/res_config_settings.py b/partner_gogocarto_export_api/models/res_config_settings.py index 7a070e36e..bc29409ed 100644 --- a/partner_gogocarto_export_api/models/res_config_settings.py +++ b/partner_gogocarto_export_api/models/res_config_settings.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- import logging from ast import literal_eval from odoo import api, fields, models diff --git a/partner_gogocarto_export_api/models/res_partner.py b/partner_gogocarto_export_api/models/res_partner.py index 88b0c5bd3..74c19e3b0 100644 --- a/partner_gogocarto_export_api/models/res_partner.py +++ b/partner_gogocarto_export_api/models/res_partner.py @@ -1,6 +1,5 @@ from odoo import models, fields, api from ast import literal_eval -# import datetime import logging _logger = logging.getLogger(__name__) diff --git a/partner_gogocarto_export_api/readme/CONFIGURE.rst b/partner_gogocarto_export_api/readme/CONFIGURE.rst index 963dbf462..db990b3ba 100644 --- a/partner_gogocarto_export_api/readme/CONFIGURE.rst +++ b/partner_gogocarto_export_api/readme/CONFIGURE.rst @@ -5,4 +5,4 @@ To export partners data: #. Set the fields you want to export in Settings / Gogocarto. #. Check the field *"In Gogocarto"* in the partner form view. -And use the link *https://yourodoo.com/web/get_http_gogocarto_elements* in Gogocarto server import configuration (*https://video.colibris-outilslibres.org/videos/watch/c74fc469-c822-4ab8-82a7-a2555e49e576*) \ No newline at end of file +And use the link *https://yourodoo.com/web/get_http_gogocarto_elements* in Gogocarto server import configuration (*https://video.colibris-outilslibres.org/videos/watch/c74fc469-c822-4ab8-82a7-a2555e49e576*) diff --git a/partner_gogocarto_export_api/readme/CONTRIBUTORS.rst b/partner_gogocarto_export_api/readme/CONTRIBUTORS.rst index 73fcf60b1..06edb80a5 100644 --- a/partner_gogocarto_export_api/readme/CONTRIBUTORS.rst +++ b/partner_gogocarto_export_api/readme/CONTRIBUTORS.rst @@ -10,4 +10,4 @@ The development of this module has been financially supported by: * Lokavaluto (https://lokavaluto.fr) * Mycéliandre (https://myceliandre.fr) -* Elabore (https://elabore.coop) \ No newline at end of file +* Elabore (https://elabore.coop) diff --git a/partner_gogocarto_export_api/readme/CREDITS.rst b/partner_gogocarto_export_api/readme/CREDITS.rst index 63e6554be..40a5511dc 100644 --- a/partner_gogocarto_export_api/readme/CREDITS.rst +++ b/partner_gogocarto_export_api/readme/CREDITS.rst @@ -1 +1 @@ -* Lokavaluto: `Icon ` \ No newline at end of file +* Lokavaluto: `Icon ` diff --git a/partner_gogocarto_export_api/views/gogocarto_config_settings_view.xml b/partner_gogocarto_export_api/views/gogocarto_config_settings_view.xml index 7591f2848..9db03f3f7 100644 --- a/partner_gogocarto_export_api/views/gogocarto_config_settings_view.xml +++ b/partner_gogocarto_export_api/views/gogocarto_config_settings_view.xml @@ -40,4 +40,4 @@ - \ No newline at end of file + diff --git a/partner_gogocarto_export_api/views/gogocarto_partner.xml b/partner_gogocarto_export_api/views/gogocarto_partner.xml index b42f95f54..6bc15e3a6 100644 --- a/partner_gogocarto_export_api/views/gogocarto_partner.xml +++ b/partner_gogocarto_export_api/views/gogocarto_partner.xml @@ -11,4 +11,4 @@ - \ No newline at end of file +