From 40c7e152359e7f5e0a36f1607dcdc767bffac81c Mon Sep 17 00:00:00 2001 From: Bui Ngoc Tu Date: Tue, 29 Mar 2016 12:35:35 +0700 Subject: [PATCH 01/34] [FIX] Rename the module disable_openerp_online to disable_odoo_online. Update the version in the file __openerp__.py --- disable_odoo_online/__init__.py | 24 +++++++++ disable_odoo_online/__openerp__.py | 51 ++++++++++++++++++ disable_odoo_online/data/ir_cron.xml | 8 +++ disable_odoo_online/i18n/de.po | 24 +++++++++ disable_odoo_online/i18n/es.po | 38 +++++++++++++ disable_odoo_online/i18n/fr.po | 38 +++++++++++++ disable_odoo_online/i18n/hr.po | 24 +++++++++ disable_odoo_online/i18n/hr_HR.po | 24 +++++++++ disable_odoo_online/i18n/pt_BR.po | 38 +++++++++++++ disable_odoo_online/i18n/sl.po | 38 +++++++++++++ disable_odoo_online/model/__init__.py | 21 ++++++++ .../model/publisher_warranty_contract.py | 29 ++++++++++ .../static/description/icon.png | Bin 0 -> 4141 bytes .../static/src/js/disable_odoo_online.js | 9 ++++ disable_odoo_online/static/src/xml/base.xml | 8 +++ .../views/disable_odoo_online.xml | 13 +++++ disable_odoo_online/views/ir_ui_menu.xml | 15 ++++++ 17 files changed, 402 insertions(+) create mode 100644 disable_odoo_online/__init__.py create mode 100644 disable_odoo_online/__openerp__.py create mode 100644 disable_odoo_online/data/ir_cron.xml create mode 100644 disable_odoo_online/i18n/de.po create mode 100644 disable_odoo_online/i18n/es.po create mode 100644 disable_odoo_online/i18n/fr.po create mode 100644 disable_odoo_online/i18n/hr.po create mode 100644 disable_odoo_online/i18n/hr_HR.po create mode 100644 disable_odoo_online/i18n/pt_BR.po create mode 100644 disable_odoo_online/i18n/sl.po create mode 100644 disable_odoo_online/model/__init__.py create mode 100644 disable_odoo_online/model/publisher_warranty_contract.py create mode 100644 disable_odoo_online/static/description/icon.png create mode 100644 disable_odoo_online/static/src/js/disable_odoo_online.js create mode 100644 disable_odoo_online/static/src/xml/base.xml create mode 100644 disable_odoo_online/views/disable_odoo_online.xml create mode 100644 disable_odoo_online/views/ir_ui_menu.xml diff --git a/disable_odoo_online/__init__.py b/disable_odoo_online/__init__.py new file mode 100644 index 00000000..991a0f0b --- /dev/null +++ b/disable_odoo_online/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# This module copyright (C) 2013 Therp BV (). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## +from . import model + +from openerp.tools.misc import upload_data_thread +upload_data_thread.run = lambda x: None diff --git a/disable_odoo_online/__openerp__.py b/disable_odoo_online/__openerp__.py new file mode 100644 index 00000000..49241a4e --- /dev/null +++ b/disable_odoo_online/__openerp__.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# This module copyright (C) 2013 Therp BV (). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## +{ + "name": "Remove odoo.com bindings", + "version": "9.0.1.0.0", + "author": "Therp BV,Odoo Community Association (OCA)", + "license": "AGPL-3", + "complexity": "normal", + "description": """ +This module deactivates all bindings to openerp.com that +come with the standard code: + +* update notifier code is deactivated and the function is overwritten +* apps and updates menu items in settings are hidden inside Tools\\Parameters +* help and account menu items in user menu are removed +* prevent lookup of OPW for current database uuid and resulting + 'unsupported' warning + """, + "category": "", + "depends": [ + 'base', + 'mail', + ], + "data": [ + "views/disable_odoo_online.xml", + 'views/ir_ui_menu.xml', + 'data/ir_cron.xml', + ], + "qweb": [ + 'static/src/xml/base.xml', + ], + 'installable': True, +} diff --git a/disable_odoo_online/data/ir_cron.xml b/disable_odoo_online/data/ir_cron.xml new file mode 100644 index 00000000..faa58ff6 --- /dev/null +++ b/disable_odoo_online/data/ir_cron.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/disable_odoo_online/i18n/de.po b/disable_odoo_online/i18n/de.po new file mode 100644 index 00000000..a8710d4b --- /dev/null +++ b/disable_odoo_online/i18n/de.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * disable_odoo_online +# +# Translators: +# Rudolf Schnapka , 2016 +msgid "" +msgstr "" +"Project-Id-Version: server-tools (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-04-17 12:15+0000\n" +"PO-Revision-Date: 2016-04-21 09:16+0000\n" +"Last-Translator: Rudolf Schnapka \n" +"Language-Team: German (http://www.transifex.com/oca/OCA-server-tools-9-0/language/de/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: disable_odoo_online +#: model:ir.model,name:disable_odoo_online.model_publisher_warranty_contract +msgid "publisher_warranty.contract" +msgstr "publisher_warranty.contract" diff --git a/disable_odoo_online/i18n/es.po b/disable_odoo_online/i18n/es.po new file mode 100644 index 00000000..6f9c08e0 --- /dev/null +++ b/disable_odoo_online/i18n/es.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * disable_odoo_online +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-29 11:14+0000\n" +"PO-Revision-Date: 2015-09-18 13:55+0000\n" +"Last-Translator: <>\n" +"Language-Team: Spanish (http://www.transifex.com/oca/OCA-server-tools-8-0/language/es/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: disable_odoo_online +#: field:publisher_warranty.contract,create_uid:0 +msgid "Created by" +msgstr "Creado por" + +#. module: disable_odoo_online +#: field:publisher_warranty.contract,create_date:0 +msgid "Created on" +msgstr "Creado en" + +#. module: disable_odoo_online +#: field:publisher_warranty.contract,write_uid:0 +msgid "Last Updated by" +msgstr "Última actualización de" + +#. module: disable_odoo_online +#: field:publisher_warranty.contract,write_date:0 +msgid "Last Updated on" +msgstr "Última actualización en" diff --git a/disable_odoo_online/i18n/fr.po b/disable_odoo_online/i18n/fr.po new file mode 100644 index 00000000..f5da5411 --- /dev/null +++ b/disable_odoo_online/i18n/fr.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * disable_odoo_online +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-29 11:14+0000\n" +"PO-Revision-Date: 2015-09-18 13:55+0000\n" +"Last-Translator: <>\n" +"Language-Team: French (http://www.transifex.com/oca/OCA-server-tools-8-0/language/fr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: disable_odoo_online +#: field:publisher_warranty.contract,create_uid:0 +msgid "Created by" +msgstr "Créé par" + +#. module: disable_odoo_online +#: field:publisher_warranty.contract,create_date:0 +msgid "Created on" +msgstr "Date" + +#. module: disable_odoo_online +#: field:publisher_warranty.contract,write_uid:0 +msgid "Last Updated by" +msgstr "Dernière mise à jour par" + +#. module: disable_odoo_online +#: field:publisher_warranty.contract,write_date:0 +msgid "Last Updated on" +msgstr "Dernière mise à jour le" diff --git a/disable_odoo_online/i18n/hr.po b/disable_odoo_online/i18n/hr.po new file mode 100644 index 00000000..01297105 --- /dev/null +++ b/disable_odoo_online/i18n/hr.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * disable_odoo_online +# +# Translators: +# Bole , 2016 +msgid "" +msgstr "" +"Project-Id-Version: server-tools (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-05-01 13:12+0000\n" +"PO-Revision-Date: 2016-05-06 13:11+0000\n" +"Last-Translator: Bole \n" +"Language-Team: Croatian (http://www.transifex.com/oca/OCA-server-tools-9-0/language/hr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hr\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: disable_odoo_online +#: model:ir.model,name:disable_odoo_online.model_publisher_warranty_contract +msgid "publisher_warranty.contract" +msgstr "publisher_warranty.contract" diff --git a/disable_odoo_online/i18n/hr_HR.po b/disable_odoo_online/i18n/hr_HR.po new file mode 100644 index 00000000..6fdc787e --- /dev/null +++ b/disable_odoo_online/i18n/hr_HR.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * disable_odoo_online +# +# Translators: +# Bole , 2016 +msgid "" +msgstr "" +"Project-Id-Version: server-tools (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-06-09 12:31+0000\n" +"PO-Revision-Date: 2016-05-31 20:16+0000\n" +"Last-Translator: Bole \n" +"Language-Team: Croatian (Croatia) (http://www.transifex.com/oca/OCA-server-tools-9-0/language/hr_HR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hr_HR\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: disable_odoo_online +#: model:ir.model,name:disable_odoo_online.model_publisher_warranty_contract +msgid "publisher_warranty.contract" +msgstr "publisher_warranty.contract" diff --git a/disable_odoo_online/i18n/pt_BR.po b/disable_odoo_online/i18n/pt_BR.po new file mode 100644 index 00000000..6cdde09c --- /dev/null +++ b/disable_odoo_online/i18n/pt_BR.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * disable_openerp_online +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-29 11:14+0000\n" +"PO-Revision-Date: 2015-09-18 13:55+0000\n" +"Last-Translator: <>\n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-server-tools-8-0/language/pt_BR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: disable_openerp_online +#: field:publisher_warranty.contract,create_uid:0 +msgid "Created by" +msgstr "Criado por" + +#. module: disable_openerp_online +#: field:publisher_warranty.contract,create_date:0 +msgid "Created on" +msgstr "Criado em" + +#. module: disable_openerp_online +#: field:publisher_warranty.contract,write_uid:0 +msgid "Last Updated by" +msgstr "Última atualização por" + +#. module: disable_openerp_online +#: field:publisher_warranty.contract,write_date:0 +msgid "Last Updated on" +msgstr "Última atualização em" diff --git a/disable_odoo_online/i18n/sl.po b/disable_odoo_online/i18n/sl.po new file mode 100644 index 00000000..bd5771f4 --- /dev/null +++ b/disable_odoo_online/i18n/sl.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * disable_odoo_online +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-29 11:14+0000\n" +"PO-Revision-Date: 2015-09-24 11:47+0000\n" +"Last-Translator: Matjaž Mozetič \n" +"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-server-tools-8-0/language/sl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sl\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" + +#. module: disable_odoo_online +#: field:publisher_warranty.contract,create_uid:0 +msgid "Created by" +msgstr "Ustvaril" + +#. module: disable_odoo_online +#: field:publisher_warranty.contract,create_date:0 +msgid "Created on" +msgstr "Ustvarjeno" + +#. module: disable_odoo_online +#: field:publisher_warranty.contract,write_uid:0 +msgid "Last Updated by" +msgstr "Zadnjič posodobil" + +#. module: disable_odoo_online +#: field:publisher_warranty.contract,write_date:0 +msgid "Last Updated on" +msgstr "Zadnjič posodobljeno" diff --git a/disable_odoo_online/model/__init__.py b/disable_odoo_online/model/__init__.py new file mode 100644 index 00000000..db35c95d --- /dev/null +++ b/disable_odoo_online/model/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# This module copyright (C) 2013 Therp BV (). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## +from . import publisher_warranty_contract diff --git a/disable_odoo_online/model/publisher_warranty_contract.py b/disable_odoo_online/model/publisher_warranty_contract.py new file mode 100644 index 00000000..8830acc9 --- /dev/null +++ b/disable_odoo_online/model/publisher_warranty_contract.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# This module copyright (C) 2013 Therp BV (). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## +from openerp import api, models + + +class publisher_warranty_contract(models.AbstractModel): + _inherit = 'publisher_warranty.contract' + + @api.multi + def update_notification(self, cron_mode=True, context=None): + pass diff --git a/disable_odoo_online/static/description/icon.png b/disable_odoo_online/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..7252e01ea68e84cd59d70f29f7dec9c667b39ac2 GIT binary patch literal 4141 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 + + + + this.parent().remove(); + + + diff --git a/disable_odoo_online/views/disable_odoo_online.xml b/disable_odoo_online/views/disable_odoo_online.xml new file mode 100644 index 00000000..6c9adfab --- /dev/null +++ b/disable_odoo_online/views/disable_odoo_online.xml @@ -0,0 +1,13 @@ + + + + + + + diff --git a/disable_odoo_online/views/ir_ui_menu.xml b/disable_odoo_online/views/ir_ui_menu.xml new file mode 100644 index 00000000..3fdb4e9b --- /dev/null +++ b/disable_odoo_online/views/ir_ui_menu.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + From b2f0eba3d7978f332243ea6dc7f389d5d8e5ae91 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Sun, 23 Oct 2016 18:15:20 +0200 Subject: [PATCH 02/34] [PORT] disable_odoo_online. [REF] remove obsolete code. OCA convention. (#583) * [PORT] disable_odoo_online. [REF] remove obsolete code. OCA convention. * [FIX] restauring old feature * [IMP] do not disable some feature for Enterprise Edition. [REF] some improvements --- disable_odoo_online/README.rst | 56 +++++++++++++++++++ disable_odoo_online/__init__.py | 26 ++------- disable_odoo_online/__manifest__.py | 22 ++++++++ disable_odoo_online/__openerp__.py | 51 ----------------- disable_odoo_online/data/ir_cron.xml | 14 ++--- disable_odoo_online/i18n/es.po | 32 +++-------- disable_odoo_online/i18n/fr.po | 32 +++-------- disable_odoo_online/i18n/it.po | 24 ++++++++ disable_odoo_online/i18n/nl_NL.po | 24 ++++++++ disable_odoo_online/model/__init__.py | 21 ------- .../model/publisher_warranty_contract.py | 29 ---------- disable_odoo_online/models/__init__.py | 2 + .../models/publisher_warranty_contract.py | 16 ++++++ .../static/src/js/disable_odoo_online.js | 9 --- .../views/disable_odoo_online.xml | 13 ----- disable_odoo_online/views/ir_ui_menu.xml | 20 +++---- 16 files changed, 183 insertions(+), 208 deletions(-) create mode 100644 disable_odoo_online/README.rst create mode 100644 disable_odoo_online/__manifest__.py delete mode 100644 disable_odoo_online/__openerp__.py create mode 100644 disable_odoo_online/i18n/it.po create mode 100644 disable_odoo_online/i18n/nl_NL.po delete mode 100644 disable_odoo_online/model/__init__.py delete mode 100644 disable_odoo_online/model/publisher_warranty_contract.py create mode 100644 disable_odoo_online/models/__init__.py create mode 100644 disable_odoo_online/models/publisher_warranty_contract.py delete mode 100644 disable_odoo_online/static/src/js/disable_odoo_online.js delete mode 100644 disable_odoo_online/views/disable_odoo_online.xml diff --git a/disable_odoo_online/README.rst b/disable_odoo_online/README.rst new file mode 100644 index 00000000..98614f6a --- /dev/null +++ b/disable_odoo_online/README.rst @@ -0,0 +1,56 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +======================== +Remove odoo.com Bindings +======================== + +This module deactivates all bindings to odoo.com that come with the standard +code: + +* update notifier code is deactivated and the function is overwritten +* apps and updates menu items in settings are hidden inside Tools\\Parameters +* upload thread is deactivated + +Usage +===== + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/149/10.0 + + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues +`_. In case of trouble, please +check there if your issue has already been reported. If you spotted it first, +help us smashing it by providing a detailed and welcomed feedback. + +Credits +======= + +Contributors +------------ + +* Holger Brunn +* Stefan Rijnhart +* Sylvain LE GAL (https://twitter.com/legalsylvain) + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +To contribute to this module, please visit https://odoo-community.org. + diff --git a/disable_odoo_online/__init__.py b/disable_odoo_online/__init__.py index 991a0f0b..47e936c0 100644 --- a/disable_odoo_online/__init__.py +++ b/disable_odoo_online/__init__.py @@ -1,24 +1,8 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# This module copyright (C) 2013 Therp BV (). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## -from . import model +# Copyright (C) 2013 Therp BV (). +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp.tools.misc import upload_data_thread +from . import models + +from odoo.tools.misc import upload_data_thread upload_data_thread.run = lambda x: None diff --git a/disable_odoo_online/__manifest__.py b/disable_odoo_online/__manifest__.py new file mode 100644 index 00000000..0fbc68ac --- /dev/null +++ b/disable_odoo_online/__manifest__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +# Copyright (C) 2013 Therp BV (). +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +{ + "name": "Remove odoo.com Bindings", + "version": "10.0.1.0.0", + "author": "Therp BV,GRAP,Odoo Community Association (OCA)", + "license": "AGPL-3", + "category": "base", + "depends": [ + 'base', + 'mail', + ], + "data": [ + 'views/ir_ui_menu.xml', + 'data/ir_cron.xml', + ], + "qweb": [ + 'static/src/xml/base.xml', + ], + 'installable': True, +} diff --git a/disable_odoo_online/__openerp__.py b/disable_odoo_online/__openerp__.py deleted file mode 100644 index 49241a4e..00000000 --- a/disable_odoo_online/__openerp__.py +++ /dev/null @@ -1,51 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# This module copyright (C) 2013 Therp BV (). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## -{ - "name": "Remove odoo.com bindings", - "version": "9.0.1.0.0", - "author": "Therp BV,Odoo Community Association (OCA)", - "license": "AGPL-3", - "complexity": "normal", - "description": """ -This module deactivates all bindings to openerp.com that -come with the standard code: - -* update notifier code is deactivated and the function is overwritten -* apps and updates menu items in settings are hidden inside Tools\\Parameters -* help and account menu items in user menu are removed -* prevent lookup of OPW for current database uuid and resulting - 'unsupported' warning - """, - "category": "", - "depends": [ - 'base', - 'mail', - ], - "data": [ - "views/disable_odoo_online.xml", - 'views/ir_ui_menu.xml', - 'data/ir_cron.xml', - ], - "qweb": [ - 'static/src/xml/base.xml', - ], - 'installable': True, -} diff --git a/disable_odoo_online/data/ir_cron.xml b/disable_odoo_online/data/ir_cron.xml index faa58ff6..2d5aa0d3 100644 --- a/disable_odoo_online/data/ir_cron.xml +++ b/disable_odoo_online/data/ir_cron.xml @@ -1,8 +1,8 @@ - - - - - - - + + + + + + + diff --git a/disable_odoo_online/i18n/es.po b/disable_odoo_online/i18n/es.po index 6f9c08e0..e01889ee 100644 --- a/disable_odoo_online/i18n/es.po +++ b/disable_odoo_online/i18n/es.po @@ -3,14 +3,15 @@ # * disable_odoo_online # # Translators: +# Pedro M. Baeza , 2016 msgid "" msgstr "" -"Project-Id-Version: server-tools (8.0)\n" +"Project-Id-Version: server-tools (10.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-29 11:14+0000\n" -"PO-Revision-Date: 2015-09-18 13:55+0000\n" -"Last-Translator: <>\n" -"Language-Team: Spanish (http://www.transifex.com/oca/OCA-server-tools-8-0/language/es/)\n" +"POT-Creation-Date: 2016-12-23 02:01+0000\n" +"PO-Revision-Date: 2016-12-21 09:10+0000\n" +"Last-Translator: Pedro M. Baeza \n" +"Language-Team: Spanish (http://www.transifex.com/oca/OCA-server-tools-10-0/language/es/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" @@ -18,21 +19,6 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: disable_odoo_online -#: field:publisher_warranty.contract,create_uid:0 -msgid "Created by" -msgstr "Creado por" - -#. module: disable_odoo_online -#: field:publisher_warranty.contract,create_date:0 -msgid "Created on" -msgstr "Creado en" - -#. module: disable_odoo_online -#: field:publisher_warranty.contract,write_uid:0 -msgid "Last Updated by" -msgstr "Última actualización de" - -#. module: disable_odoo_online -#: field:publisher_warranty.contract,write_date:0 -msgid "Last Updated on" -msgstr "Última actualización en" +#: model:ir.model,name:disable_odoo_online.model_publisher_warranty_contract +msgid "publisher_warranty.contract" +msgstr "publisher_warranty.contract" diff --git a/disable_odoo_online/i18n/fr.po b/disable_odoo_online/i18n/fr.po index f5da5411..b568674c 100644 --- a/disable_odoo_online/i18n/fr.po +++ b/disable_odoo_online/i18n/fr.po @@ -3,14 +3,15 @@ # * disable_odoo_online # # Translators: +# Guigui4ever , 2017 msgid "" msgstr "" -"Project-Id-Version: server-tools (8.0)\n" +"Project-Id-Version: server-tools (10.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-29 11:14+0000\n" -"PO-Revision-Date: 2015-09-18 13:55+0000\n" -"Last-Translator: <>\n" -"Language-Team: French (http://www.transifex.com/oca/OCA-server-tools-8-0/language/fr/)\n" +"POT-Creation-Date: 2017-08-18 02:47+0000\n" +"PO-Revision-Date: 2017-08-28 15:36+0000\n" +"Last-Translator: Guigui4ever \n" +"Language-Team: French (http://www.transifex.com/oca/OCA-server-tools-10-0/language/fr/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" @@ -18,21 +19,6 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: disable_odoo_online -#: field:publisher_warranty.contract,create_uid:0 -msgid "Created by" -msgstr "Créé par" - -#. module: disable_odoo_online -#: field:publisher_warranty.contract,create_date:0 -msgid "Created on" -msgstr "Date" - -#. module: disable_odoo_online -#: field:publisher_warranty.contract,write_uid:0 -msgid "Last Updated by" -msgstr "Dernière mise à jour par" - -#. module: disable_odoo_online -#: field:publisher_warranty.contract,write_date:0 -msgid "Last Updated on" -msgstr "Dernière mise à jour le" +#: model:ir.model,name:disable_odoo_online.model_publisher_warranty_contract +msgid "publisher_warranty.contract" +msgstr "Contrat de garantie d'éditeur" diff --git a/disable_odoo_online/i18n/it.po b/disable_odoo_online/i18n/it.po new file mode 100644 index 00000000..e8e6d28a --- /dev/null +++ b/disable_odoo_online/i18n/it.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * disable_odoo_online +# +# Translators: +# Paolo Valier, 2016 +msgid "" +msgstr "" +"Project-Id-Version: server-tools (10.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-23 02:01+0000\n" +"PO-Revision-Date: 2016-12-17 15:23+0000\n" +"Last-Translator: Paolo Valier\n" +"Language-Team: Italian (http://www.transifex.com/oca/OCA-server-tools-10-0/language/it/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: it\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: disable_odoo_online +#: model:ir.model,name:disable_odoo_online.model_publisher_warranty_contract +msgid "publisher_warranty.contract" +msgstr "publisher_warranty.contract" diff --git a/disable_odoo_online/i18n/nl_NL.po b/disable_odoo_online/i18n/nl_NL.po new file mode 100644 index 00000000..4eb447b7 --- /dev/null +++ b/disable_odoo_online/i18n/nl_NL.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * disable_odoo_online +# +# Translators: +# Peter Hageman , 2017 +msgid "" +msgstr "" +"Project-Id-Version: server-tools (10.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-30 12:21+0000\n" +"PO-Revision-Date: 2017-06-29 07:30+0000\n" +"Last-Translator: Peter Hageman \n" +"Language-Team: Dutch (Netherlands) (http://www.transifex.com/oca/OCA-server-tools-10-0/language/nl_NL/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nl_NL\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: disable_odoo_online +#: model:ir.model,name:disable_odoo_online.model_publisher_warranty_contract +msgid "publisher_warranty.contract" +msgstr "publisher_warranty.contract" diff --git a/disable_odoo_online/model/__init__.py b/disable_odoo_online/model/__init__.py deleted file mode 100644 index db35c95d..00000000 --- a/disable_odoo_online/model/__init__.py +++ /dev/null @@ -1,21 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# This module copyright (C) 2013 Therp BV (). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## -from . import publisher_warranty_contract diff --git a/disable_odoo_online/model/publisher_warranty_contract.py b/disable_odoo_online/model/publisher_warranty_contract.py deleted file mode 100644 index 8830acc9..00000000 --- a/disable_odoo_online/model/publisher_warranty_contract.py +++ /dev/null @@ -1,29 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# This module copyright (C) 2013 Therp BV (). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## -from openerp import api, models - - -class publisher_warranty_contract(models.AbstractModel): - _inherit = 'publisher_warranty.contract' - - @api.multi - def update_notification(self, cron_mode=True, context=None): - pass diff --git a/disable_odoo_online/models/__init__.py b/disable_odoo_online/models/__init__.py new file mode 100644 index 00000000..9fa3d64f --- /dev/null +++ b/disable_odoo_online/models/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- +from . import publisher_warranty_contract diff --git a/disable_odoo_online/models/publisher_warranty_contract.py b/disable_odoo_online/models/publisher_warranty_contract.py new file mode 100644 index 00000000..2b6c6232 --- /dev/null +++ b/disable_odoo_online/models/publisher_warranty_contract.py @@ -0,0 +1,16 @@ +# -*- coding: utf-8 -*- +# Copyright (C) 2013 Therp BV (). +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import api, models +from odoo.release import version_info + + +class PublisherWarrantyContract(models.AbstractModel): + _inherit = 'publisher_warranty.contract' + + @api.multi + def update_notification(self, cron_mode=True): + if version_info[5] == 'e': + return super(PublisherWarrantyContract, self).update_notification( + cron_mode=cron_mode) diff --git a/disable_odoo_online/static/src/js/disable_odoo_online.js b/disable_odoo_online/static/src/js/disable_odoo_online.js deleted file mode 100644 index 7cc34d30..00000000 --- a/disable_odoo_online/static/src/js/disable_odoo_online.js +++ /dev/null @@ -1,9 +0,0 @@ -odoo.define('disable_odoo_online.announcement', function (require) { - "use strict"; - var WebClient = require('web.WebClient'); - WebClient.include({ - show_announcement_bar: function() { - // do nothing here - } - }); -}); diff --git a/disable_odoo_online/views/disable_odoo_online.xml b/disable_odoo_online/views/disable_odoo_online.xml deleted file mode 100644 index 6c9adfab..00000000 --- a/disable_odoo_online/views/disable_odoo_online.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - diff --git a/disable_odoo_online/views/ir_ui_menu.xml b/disable_odoo_online/views/ir_ui_menu.xml index 3fdb4e9b..77784328 100644 --- a/disable_odoo_online/views/ir_ui_menu.xml +++ b/disable_odoo_online/views/ir_ui_menu.xml @@ -1,15 +1,13 @@ - - + - - - - + + + + - - - + + + - - + From 28dd8ff8bf3ada8c04cbca9eeb31be822a9466ce Mon Sep 17 00:00:00 2001 From: Vo Minh Bao Hieu Date: Thu, 23 Nov 2017 11:52:32 +0700 Subject: [PATCH 03/34] [MIG] Disable_odoo_online: Migration to 11.0 --- disable_odoo_online/README.rst | 18 +++++++---- disable_odoo_online/__init__.py | 4 --- disable_odoo_online/__manifest__.py | 5 +-- disable_odoo_online/data/ir_cron.xml | 8 ----- disable_odoo_online/i18n/fr.po | 32 +++++++++++++------ disable_odoo_online/models/__init__.py | 1 - .../models/publisher_warranty_contract.py | 1 - disable_odoo_online/views/ir_ui_menu.xml | 5 --- 8 files changed, 36 insertions(+), 38 deletions(-) delete mode 100644 disable_odoo_online/data/ir_cron.xml diff --git a/disable_odoo_online/README.rst b/disable_odoo_online/README.rst index 98614f6a..70390aad 100644 --- a/disable_odoo_online/README.rst +++ b/disable_odoo_online/README.rst @@ -1,5 +1,5 @@ .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :target: https://www.gnu.org/licenses/agpl :alt: License: AGPL-3 ======================== @@ -10,34 +10,40 @@ This module deactivates all bindings to odoo.com that come with the standard code: * update notifier code is deactivated and the function is overwritten -* apps and updates menu items in settings are hidden inside Tools\\Parameters -* upload thread is deactivated +* apps and updates menu items in settings are hidden inside Technical \\Parameters Usage ===== .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/149/10.0 - + :target: https://runbot.odoo-community.org/runbot/149/11.0 Bug Tracker =========== Bugs are tracked on `GitHub Issues -`_. In case of trouble, please +`_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback. Credits ======= +Images +------ + +* Odoo Community Association: `Icon `_. + Contributors ------------ * Holger Brunn * Stefan Rijnhart * Sylvain LE GAL (https://twitter.com/legalsylvain) +* Hieu, Vo Minh Bao + +Do not contact contributors directly about support or help with technical issues. Maintainer ---------- diff --git a/disable_odoo_online/__init__.py b/disable_odoo_online/__init__.py index 47e936c0..ab40b843 100644 --- a/disable_odoo_online/__init__.py +++ b/disable_odoo_online/__init__.py @@ -1,8 +1,4 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2013 Therp BV (). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import models - -from odoo.tools.misc import upload_data_thread -upload_data_thread.run = lambda x: None diff --git a/disable_odoo_online/__manifest__.py b/disable_odoo_online/__manifest__.py index 0fbc68ac..b1d2e15b 100644 --- a/disable_odoo_online/__manifest__.py +++ b/disable_odoo_online/__manifest__.py @@ -1,19 +1,16 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2013 Therp BV (). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "Remove odoo.com Bindings", - "version": "10.0.1.0.0", + "version": "11.0.1.0.0", "author": "Therp BV,GRAP,Odoo Community Association (OCA)", "license": "AGPL-3", "category": "base", "depends": [ - 'base', 'mail', ], "data": [ 'views/ir_ui_menu.xml', - 'data/ir_cron.xml', ], "qweb": [ 'static/src/xml/base.xml', diff --git a/disable_odoo_online/data/ir_cron.xml b/disable_odoo_online/data/ir_cron.xml deleted file mode 100644 index 2d5aa0d3..00000000 --- a/disable_odoo_online/data/ir_cron.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/disable_odoo_online/i18n/fr.po b/disable_odoo_online/i18n/fr.po index b568674c..f5da5411 100644 --- a/disable_odoo_online/i18n/fr.po +++ b/disable_odoo_online/i18n/fr.po @@ -3,15 +3,14 @@ # * disable_odoo_online # # Translators: -# Guigui4ever , 2017 msgid "" msgstr "" -"Project-Id-Version: server-tools (10.0)\n" +"Project-Id-Version: server-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-18 02:47+0000\n" -"PO-Revision-Date: 2017-08-28 15:36+0000\n" -"Last-Translator: Guigui4ever \n" -"Language-Team: French (http://www.transifex.com/oca/OCA-server-tools-10-0/language/fr/)\n" +"POT-Creation-Date: 2015-09-29 11:14+0000\n" +"PO-Revision-Date: 2015-09-18 13:55+0000\n" +"Last-Translator: <>\n" +"Language-Team: French (http://www.transifex.com/oca/OCA-server-tools-8-0/language/fr/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" @@ -19,6 +18,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: disable_odoo_online -#: model:ir.model,name:disable_odoo_online.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "Contrat de garantie d'éditeur" +#: field:publisher_warranty.contract,create_uid:0 +msgid "Created by" +msgstr "Créé par" + +#. module: disable_odoo_online +#: field:publisher_warranty.contract,create_date:0 +msgid "Created on" +msgstr "Date" + +#. module: disable_odoo_online +#: field:publisher_warranty.contract,write_uid:0 +msgid "Last Updated by" +msgstr "Dernière mise à jour par" + +#. module: disable_odoo_online +#: field:publisher_warranty.contract,write_date:0 +msgid "Last Updated on" +msgstr "Dernière mise à jour le" diff --git a/disable_odoo_online/models/__init__.py b/disable_odoo_online/models/__init__.py index 9fa3d64f..beb978ea 100644 --- a/disable_odoo_online/models/__init__.py +++ b/disable_odoo_online/models/__init__.py @@ -1,2 +1 @@ -# -*- coding: utf-8 -*- from . import publisher_warranty_contract diff --git a/disable_odoo_online/models/publisher_warranty_contract.py b/disable_odoo_online/models/publisher_warranty_contract.py index 2b6c6232..1ba9056d 100644 --- a/disable_odoo_online/models/publisher_warranty_contract.py +++ b/disable_odoo_online/models/publisher_warranty_contract.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2013 Therp BV (). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). diff --git a/disable_odoo_online/views/ir_ui_menu.xml b/disable_odoo_online/views/ir_ui_menu.xml index 77784328..1363ab71 100644 --- a/disable_odoo_online/views/ir_ui_menu.xml +++ b/disable_odoo_online/views/ir_ui_menu.xml @@ -1,11 +1,6 @@ - - - - - From 29d2c45904c9e8c286e93ce0f6958731f0f10a77 Mon Sep 17 00:00:00 2001 From: Ivan Yelizariev Date: Mon, 9 Apr 2018 01:28:39 -0600 Subject: [PATCH 04/34] disable_odoo_online: make it clear in README, that feature works in odoo community only (#4) * [DOC] disable_odoo_online: clarify docs -- one of the features is applied only in odoo community --- disable_odoo_online/README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disable_odoo_online/README.rst b/disable_odoo_online/README.rst index 70390aad..4a3448ec 100644 --- a/disable_odoo_online/README.rst +++ b/disable_odoo_online/README.rst @@ -9,7 +9,7 @@ Remove odoo.com Bindings This module deactivates all bindings to odoo.com that come with the standard code: -* update notifier code is deactivated and the function is overwritten +* update notifier code is deactivated and the function is overwritten. It's deactivated only in community version, because `it's not legal `_ to deactivate notifier code in odoo enterprise * apps and updates menu items in settings are hidden inside Technical \\Parameters Usage From 79bbbaf83ce7755b6b6ca3baa8db797b310c7668 Mon Sep 17 00:00:00 2001 From: Aldo Soares Date: Mon, 9 Apr 2018 12:51:12 -0300 Subject: [PATCH 05/34] Refactor in customized template and alter menu app location (#3) * [REF] Changes template used to modificate user preferences menu * [IMP] Includes app menu from settings in technical parameters menu --- disable_odoo_online/__manifest__.py | 2 +- disable_odoo_online/static/src/xml/base.xml | 2 +- disable_odoo_online/views/ir_ui_menu.xml | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/disable_odoo_online/__manifest__.py b/disable_odoo_online/__manifest__.py index b1d2e15b..50eafd1f 100644 --- a/disable_odoo_online/__manifest__.py +++ b/disable_odoo_online/__manifest__.py @@ -2,7 +2,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "Remove odoo.com Bindings", - "version": "11.0.1.0.0", + "version": "11.0.1.1.0", "author": "Therp BV,GRAP,Odoo Community Association (OCA)", "license": "AGPL-3", "category": "base", diff --git a/disable_odoo_online/static/src/xml/base.xml b/disable_odoo_online/static/src/xml/base.xml index ad568507..aeddd6bd 100644 --- a/disable_odoo_online/static/src/xml/base.xml +++ b/disable_odoo_online/static/src/xml/base.xml @@ -1,6 +1,6 @@ - + this.parent().remove(); diff --git a/disable_odoo_online/views/ir_ui_menu.xml b/disable_odoo_online/views/ir_ui_menu.xml index 1363ab71..67fefe83 100644 --- a/disable_odoo_online/views/ir_ui_menu.xml +++ b/disable_odoo_online/views/ir_ui_menu.xml @@ -5,4 +5,8 @@ + + + + From a0ac67f7522ab5fc8fef396a2afe8404408cc231 Mon Sep 17 00:00:00 2001 From: eLBati Date: Sun, 21 Oct 2018 09:52:27 +0200 Subject: [PATCH 06/34] porting disable_odoo_online to 12 --- disable_odoo_online/README.rst | 68 ++- disable_odoo_online/__manifest__.py | 2 +- disable_odoo_online/readme/CONTRIBUTORS.rst | 5 + disable_odoo_online/readme/DESCRIPTION.rst | 5 + .../static/description/index.html | 429 ++++++++++++++++++ disable_odoo_online/static/src/xml/base.xml | 2 +- 6 files changed, 485 insertions(+), 26 deletions(-) create mode 100644 disable_odoo_online/readme/CONTRIBUTORS.rst create mode 100644 disable_odoo_online/readme/DESCRIPTION.rst create mode 100644 disable_odoo_online/static/description/index.html diff --git a/disable_odoo_online/README.rst b/disable_odoo_online/README.rst index 4a3448ec..f27d7b57 100644 --- a/disable_odoo_online/README.rst +++ b/disable_odoo_online/README.rst @@ -1,62 +1,82 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: https://www.gnu.org/licenses/agpl - :alt: License: AGPL-3 - ======================== Remove odoo.com Bindings ======================== +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--brand-lightgray.png?logo=github + :target: https://github.com/OCA/server-brand/tree/12.0/disable_odoo_online + :alt: OCA/server-brand +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/server-brand-12-0/server-brand-12-0-disable_odoo_online + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/252/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + This module deactivates all bindings to odoo.com that come with the standard code: -* update notifier code is deactivated and the function is overwritten. It's deactivated only in community version, because `it's not legal `_ to deactivate notifier code in odoo enterprise +* update notifier code is deactivated and the function is overwritten. It's deactivated only in community version, because `it's not legal `_ to deactivate notifier code in odoo enterprise * apps and updates menu items in settings are hidden inside Technical \\Parameters -Usage -===== +**Table of contents** -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/149/11.0 +.. contents:: + :local: Bug Tracker =========== -Bugs are tracked on `GitHub Issues -`_. In case of trouble, please -check there if your issue has already been reported. If you spotted it first, -help us smashing it by providing a detailed and welcomed feedback. +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. Credits ======= -Images ------- +Authors +~~~~~~~ -* Odoo Community Association: `Icon `_. +* Therp BV +* GRAP Contributors ------------- +~~~~~~~~~~~~ * Holger Brunn * Stefan Rijnhart * Sylvain LE GAL (https://twitter.com/legalsylvain) * Hieu, Vo Minh Bao +* Lorenzo Battistini -Do not contact contributors directly about support or help with technical issues. +Maintainers +~~~~~~~~~~~ -Maintainer ----------- +This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org -This module is maintained by the OCA. - OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -To contribute to this module, please visit https://odoo-community.org. +This module is part of the `OCA/server-brand `_ project on GitHub. +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/disable_odoo_online/__manifest__.py b/disable_odoo_online/__manifest__.py index 50eafd1f..0603cfe6 100644 --- a/disable_odoo_online/__manifest__.py +++ b/disable_odoo_online/__manifest__.py @@ -2,7 +2,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "Remove odoo.com Bindings", - "version": "11.0.1.1.0", + "version": "12.0.1.0.0", "author": "Therp BV,GRAP,Odoo Community Association (OCA)", "license": "AGPL-3", "category": "base", diff --git a/disable_odoo_online/readme/CONTRIBUTORS.rst b/disable_odoo_online/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000..c8dad227 --- /dev/null +++ b/disable_odoo_online/readme/CONTRIBUTORS.rst @@ -0,0 +1,5 @@ +* Holger Brunn +* Stefan Rijnhart +* Sylvain LE GAL (https://twitter.com/legalsylvain) +* Hieu, Vo Minh Bao +* Lorenzo Battistini diff --git a/disable_odoo_online/readme/DESCRIPTION.rst b/disable_odoo_online/readme/DESCRIPTION.rst new file mode 100644 index 00000000..0b1d71a5 --- /dev/null +++ b/disable_odoo_online/readme/DESCRIPTION.rst @@ -0,0 +1,5 @@ +This module deactivates all bindings to odoo.com that come with the standard +code: + +* update notifier code is deactivated and the function is overwritten. It's deactivated only in community version, because `it's not legal `_ to deactivate notifier code in odoo enterprise +* apps and updates menu items in settings are hidden inside Technical \\Parameters diff --git a/disable_odoo_online/static/description/index.html b/disable_odoo_online/static/description/index.html new file mode 100644 index 00000000..dfa30306 --- /dev/null +++ b/disable_odoo_online/static/description/index.html @@ -0,0 +1,429 @@ + + + + + + +Remove odoo.com Bindings + + + +
+

Remove odoo.com Bindings

+ + +

Beta License: AGPL-3 OCA/server-brand Translate me on Weblate Try me on Runbot

+

This module deactivates all bindings to odoo.com that come with the standard +code:

+
    +
  • update notifier code is deactivated and the function is overwritten. It’s deactivated only in community version, because it’s not legal to deactivate notifier code in odoo enterprise
  • +
  • apps and updates menu items in settings are hidden inside Technical \Parameters
  • +
+

Table of contents

+ +
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Therp BV
  • +
  • GRAP
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

This module is part of the OCA/server-brand project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/disable_odoo_online/static/src/xml/base.xml b/disable_odoo_online/static/src/xml/base.xml index aeddd6bd..98fe219d 100644 --- a/disable_odoo_online/static/src/xml/base.xml +++ b/disable_odoo_online/static/src/xml/base.xml @@ -2,7 +2,7 @@ - this.parent().remove(); + this.remove(); From 8e51c5972614f3fa918407556bc6f94cbbe4a32c Mon Sep 17 00:00:00 2001 From: oca-travis Date: Fri, 2 Nov 2018 14:58:59 +0000 Subject: [PATCH 07/34] [UPD] Update disable_odoo_online.pot --- disable_odoo_online/i18n/de.po | 10 +++-- .../i18n/disable_odoo_online.pot | 20 ++++++++++ disable_odoo_online/i18n/es.po | 10 +++-- disable_odoo_online/i18n/fr.po | 34 ++++++++--------- disable_odoo_online/i18n/hr.po | 13 ++++--- disable_odoo_online/i18n/hr_HR.po | 13 ++++--- disable_odoo_online/i18n/it.po | 10 +++-- disable_odoo_online/i18n/nl_NL.po | 10 +++-- disable_odoo_online/i18n/pt_BR.po | 36 +++++++++--------- disable_odoo_online/i18n/sl.po | 37 +++++++++---------- 10 files changed, 111 insertions(+), 82 deletions(-) create mode 100644 disable_odoo_online/i18n/disable_odoo_online.pot diff --git a/disable_odoo_online/i18n/de.po b/disable_odoo_online/i18n/de.po index a8710d4b..f150dd9c 100644 --- a/disable_odoo_online/i18n/de.po +++ b/disable_odoo_online/i18n/de.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * disable_odoo_online -# +# # Translators: # Rudolf Schnapka , 2016 msgid "" @@ -11,14 +11,16 @@ msgstr "" "POT-Creation-Date: 2016-04-17 12:15+0000\n" "PO-Revision-Date: 2016-04-21 09:16+0000\n" "Last-Translator: Rudolf Schnapka \n" -"Language-Team: German (http://www.transifex.com/oca/OCA-server-tools-9-0/language/de/)\n" +"Language-Team: German (http://www.transifex.com/oca/OCA-server-tools-9-0/" +"language/de/)\n" +"Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: disable_odoo_online #: model:ir.model,name:disable_odoo_online.model_publisher_warranty_contract -msgid "publisher_warranty.contract" +#, fuzzy +msgid "Publisher Warranty Contract" msgstr "publisher_warranty.contract" diff --git a/disable_odoo_online/i18n/disable_odoo_online.pot b/disable_odoo_online/i18n/disable_odoo_online.pot new file mode 100644 index 00000000..3152ae31 --- /dev/null +++ b/disable_odoo_online/i18n/disable_odoo_online.pot @@ -0,0 +1,20 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * disable_odoo_online +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: disable_odoo_online +#: model:ir.model,name:disable_odoo_online.model_publisher_warranty_contract +msgid "Publisher Warranty Contract" +msgstr "" + diff --git a/disable_odoo_online/i18n/es.po b/disable_odoo_online/i18n/es.po index e01889ee..4a85a1ff 100644 --- a/disable_odoo_online/i18n/es.po +++ b/disable_odoo_online/i18n/es.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * disable_odoo_online -# +# # Translators: # Pedro M. Baeza , 2016 msgid "" @@ -11,14 +11,16 @@ msgstr "" "POT-Creation-Date: 2016-12-23 02:01+0000\n" "PO-Revision-Date: 2016-12-21 09:10+0000\n" "Last-Translator: Pedro M. Baeza \n" -"Language-Team: Spanish (http://www.transifex.com/oca/OCA-server-tools-10-0/language/es/)\n" +"Language-Team: Spanish (http://www.transifex.com/oca/OCA-server-tools-10-0/" +"language/es/)\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: disable_odoo_online #: model:ir.model,name:disable_odoo_online.model_publisher_warranty_contract -msgid "publisher_warranty.contract" +#, fuzzy +msgid "Publisher Warranty Contract" msgstr "publisher_warranty.contract" diff --git a/disable_odoo_online/i18n/fr.po b/disable_odoo_online/i18n/fr.po index f5da5411..057f1361 100644 --- a/disable_odoo_online/i18n/fr.po +++ b/disable_odoo_online/i18n/fr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * disable_odoo_online -# +# # Translators: msgid "" msgstr "" @@ -10,29 +10,27 @@ msgstr "" "POT-Creation-Date: 2015-09-29 11:14+0000\n" "PO-Revision-Date: 2015-09-18 13:55+0000\n" "Last-Translator: <>\n" -"Language-Team: French (http://www.transifex.com/oca/OCA-server-tools-8-0/language/fr/)\n" +"Language-Team: French (http://www.transifex.com/oca/OCA-server-tools-8-0/" +"language/fr/)\n" +"Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: disable_odoo_online -#: field:publisher_warranty.contract,create_uid:0 -msgid "Created by" -msgstr "Créé par" +#: model:ir.model,name:disable_odoo_online.model_publisher_warranty_contract +msgid "Publisher Warranty Contract" +msgstr "" -#. module: disable_odoo_online -#: field:publisher_warranty.contract,create_date:0 -msgid "Created on" -msgstr "Date" +#~ msgid "Created by" +#~ msgstr "Créé par" -#. module: disable_odoo_online -#: field:publisher_warranty.contract,write_uid:0 -msgid "Last Updated by" -msgstr "Dernière mise à jour par" +#~ msgid "Created on" +#~ msgstr "Date" -#. module: disable_odoo_online -#: field:publisher_warranty.contract,write_date:0 -msgid "Last Updated on" -msgstr "Dernière mise à jour le" +#~ msgid "Last Updated by" +#~ msgstr "Dernière mise à jour par" + +#~ msgid "Last Updated on" +#~ msgstr "Dernière mise à jour le" diff --git a/disable_odoo_online/i18n/hr.po b/disable_odoo_online/i18n/hr.po index 01297105..76ced24e 100644 --- a/disable_odoo_online/i18n/hr.po +++ b/disable_odoo_online/i18n/hr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * disable_odoo_online -# +# # Translators: # Bole , 2016 msgid "" @@ -11,14 +11,17 @@ msgstr "" "POT-Creation-Date: 2016-05-01 13:12+0000\n" "PO-Revision-Date: 2016-05-06 13:11+0000\n" "Last-Translator: Bole \n" -"Language-Team: Croatian (http://www.transifex.com/oca/OCA-server-tools-9-0/language/hr/)\n" +"Language-Team: Croatian (http://www.transifex.com/oca/OCA-server-tools-9-0/" +"language/hr/)\n" +"Language: hr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: hr\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: disable_odoo_online #: model:ir.model,name:disable_odoo_online.model_publisher_warranty_contract -msgid "publisher_warranty.contract" +#, fuzzy +msgid "Publisher Warranty Contract" msgstr "publisher_warranty.contract" diff --git a/disable_odoo_online/i18n/hr_HR.po b/disable_odoo_online/i18n/hr_HR.po index 6fdc787e..53fd5743 100644 --- a/disable_odoo_online/i18n/hr_HR.po +++ b/disable_odoo_online/i18n/hr_HR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * disable_odoo_online -# +# # Translators: # Bole , 2016 msgid "" @@ -11,14 +11,17 @@ msgstr "" "POT-Creation-Date: 2016-06-09 12:31+0000\n" "PO-Revision-Date: 2016-05-31 20:16+0000\n" "Last-Translator: Bole \n" -"Language-Team: Croatian (Croatia) (http://www.transifex.com/oca/OCA-server-tools-9-0/language/hr_HR/)\n" +"Language-Team: Croatian (Croatia) (http://www.transifex.com/oca/OCA-server-" +"tools-9-0/language/hr_HR/)\n" +"Language: hr_HR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: hr_HR\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: disable_odoo_online #: model:ir.model,name:disable_odoo_online.model_publisher_warranty_contract -msgid "publisher_warranty.contract" +#, fuzzy +msgid "Publisher Warranty Contract" msgstr "publisher_warranty.contract" diff --git a/disable_odoo_online/i18n/it.po b/disable_odoo_online/i18n/it.po index e8e6d28a..9b6a1bee 100644 --- a/disable_odoo_online/i18n/it.po +++ b/disable_odoo_online/i18n/it.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * disable_odoo_online -# +# # Translators: # Paolo Valier, 2016 msgid "" @@ -11,14 +11,16 @@ msgstr "" "POT-Creation-Date: 2016-12-23 02:01+0000\n" "PO-Revision-Date: 2016-12-17 15:23+0000\n" "Last-Translator: Paolo Valier\n" -"Language-Team: Italian (http://www.transifex.com/oca/OCA-server-tools-10-0/language/it/)\n" +"Language-Team: Italian (http://www.transifex.com/oca/OCA-server-tools-10-0/" +"language/it/)\n" +"Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: it\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: disable_odoo_online #: model:ir.model,name:disable_odoo_online.model_publisher_warranty_contract -msgid "publisher_warranty.contract" +#, fuzzy +msgid "Publisher Warranty Contract" msgstr "publisher_warranty.contract" diff --git a/disable_odoo_online/i18n/nl_NL.po b/disable_odoo_online/i18n/nl_NL.po index 4eb447b7..fc998fb4 100644 --- a/disable_odoo_online/i18n/nl_NL.po +++ b/disable_odoo_online/i18n/nl_NL.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * disable_odoo_online -# +# # Translators: # Peter Hageman , 2017 msgid "" @@ -11,14 +11,16 @@ msgstr "" "POT-Creation-Date: 2017-06-30 12:21+0000\n" "PO-Revision-Date: 2017-06-29 07:30+0000\n" "Last-Translator: Peter Hageman \n" -"Language-Team: Dutch (Netherlands) (http://www.transifex.com/oca/OCA-server-tools-10-0/language/nl_NL/)\n" +"Language-Team: Dutch (Netherlands) (http://www.transifex.com/oca/OCA-server-" +"tools-10-0/language/nl_NL/)\n" +"Language: nl_NL\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: nl_NL\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: disable_odoo_online #: model:ir.model,name:disable_odoo_online.model_publisher_warranty_contract -msgid "publisher_warranty.contract" +#, fuzzy +msgid "Publisher Warranty Contract" msgstr "publisher_warranty.contract" diff --git a/disable_odoo_online/i18n/pt_BR.po b/disable_odoo_online/i18n/pt_BR.po index 6cdde09c..71512177 100644 --- a/disable_odoo_online/i18n/pt_BR.po +++ b/disable_odoo_online/i18n/pt_BR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * disable_openerp_online -# +# # Translators: msgid "" msgstr "" @@ -10,29 +10,27 @@ msgstr "" "POT-Creation-Date: 2015-09-29 11:14+0000\n" "PO-Revision-Date: 2015-09-18 13:55+0000\n" "Last-Translator: <>\n" -"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-server-tools-8-0/language/pt_BR/)\n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-server-" +"tools-8-0/language/pt_BR/)\n" +"Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pt_BR\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#. module: disable_openerp_online -#: field:publisher_warranty.contract,create_uid:0 -msgid "Created by" -msgstr "Criado por" +#. module: disable_odoo_online +#: model:ir.model,name:disable_odoo_online.model_publisher_warranty_contract +msgid "Publisher Warranty Contract" +msgstr "" + +#~ msgid "Created by" +#~ msgstr "Criado por" -#. module: disable_openerp_online -#: field:publisher_warranty.contract,create_date:0 -msgid "Created on" -msgstr "Criado em" +#~ msgid "Created on" +#~ msgstr "Criado em" -#. module: disable_openerp_online -#: field:publisher_warranty.contract,write_uid:0 -msgid "Last Updated by" -msgstr "Última atualização por" +#~ msgid "Last Updated by" +#~ msgstr "Última atualização por" -#. module: disable_openerp_online -#: field:publisher_warranty.contract,write_date:0 -msgid "Last Updated on" -msgstr "Última atualização em" +#~ msgid "Last Updated on" +#~ msgstr "Última atualização em" diff --git a/disable_odoo_online/i18n/sl.po b/disable_odoo_online/i18n/sl.po index bd5771f4..6b673bdc 100644 --- a/disable_odoo_online/i18n/sl.po +++ b/disable_odoo_online/i18n/sl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * disable_odoo_online -# +# # Translators: msgid "" msgstr "" @@ -10,29 +10,28 @@ msgstr "" "POT-Creation-Date: 2015-09-29 11:14+0000\n" "PO-Revision-Date: 2015-09-24 11:47+0000\n" "Last-Translator: Matjaž Mozetič \n" -"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-server-tools-8-0/language/sl/)\n" +"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-server-tools-8-0/" +"language/sl/)\n" +"Language: sl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sl\n" -"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" #. module: disable_odoo_online -#: field:publisher_warranty.contract,create_uid:0 -msgid "Created by" -msgstr "Ustvaril" +#: model:ir.model,name:disable_odoo_online.model_publisher_warranty_contract +msgid "Publisher Warranty Contract" +msgstr "" -#. module: disable_odoo_online -#: field:publisher_warranty.contract,create_date:0 -msgid "Created on" -msgstr "Ustvarjeno" +#~ msgid "Created by" +#~ msgstr "Ustvaril" -#. module: disable_odoo_online -#: field:publisher_warranty.contract,write_uid:0 -msgid "Last Updated by" -msgstr "Zadnjič posodobil" +#~ msgid "Created on" +#~ msgstr "Ustvarjeno" -#. module: disable_odoo_online -#: field:publisher_warranty.contract,write_date:0 -msgid "Last Updated on" -msgstr "Zadnjič posodobljeno" +#~ msgid "Last Updated by" +#~ msgstr "Zadnjič posodobil" + +#~ msgid "Last Updated on" +#~ msgstr "Zadnjič posodobljeno" From b59dcfb8e1994bda7dc52ae43f96e30ca9c2e2a0 Mon Sep 17 00:00:00 2001 From: Alexandre Fayolle Date: Tue, 11 Dec 2018 19:41:04 +0000 Subject: [PATCH 08/34] Translated using Weblate (French) Currently translated at 100.0% (1 of 1 strings) Translation: server-brand-12.0/server-brand-12.0-disable_odoo_online Translate-URL: https://translation.odoo-community.org/projects/server-brand-12-0/server-brand-12-0-disable_odoo_online/fr/ --- disable_odoo_online/i18n/fr.po | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/disable_odoo_online/i18n/fr.po b/disable_odoo_online/i18n/fr.po index 057f1361..e0cf8556 100644 --- a/disable_odoo_online/i18n/fr.po +++ b/disable_odoo_online/i18n/fr.po @@ -8,20 +8,21 @@ msgstr "" "Project-Id-Version: server-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-09-29 11:14+0000\n" -"PO-Revision-Date: 2015-09-18 13:55+0000\n" -"Last-Translator: <>\n" +"PO-Revision-Date: 2018-12-12 19:58+0000\n" +"Last-Translator: Alexandre Fayolle \n" "Language-Team: French (http://www.transifex.com/oca/OCA-server-tools-8-0/" "language/fr/)\n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 3.3\n" #. module: disable_odoo_online #: model:ir.model,name:disable_odoo_online.model_publisher_warranty_contract msgid "Publisher Warranty Contract" -msgstr "" +msgstr "Contrat de garantie fournisseur" #~ msgid "Created by" #~ msgstr "Créé par" From 70a15d452a310743cb4bb29ad927d11a4d9ed3d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marta=20V=C3=A1zquez=20Rodr=C3=ADguez?= Date: Fri, 1 Mar 2019 13:10:40 +0000 Subject: [PATCH 09/34] Translated using Weblate (Spanish) Currently translated at 100.0% (1 of 1 strings) Translation: server-brand-12.0/server-brand-12.0-disable_odoo_online Translate-URL: https://translation.odoo-community.org/projects/server-brand-12-0/server-brand-12-0-disable_odoo_online/es/ --- disable_odoo_online/i18n/es.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/disable_odoo_online/i18n/es.po b/disable_odoo_online/i18n/es.po index 4a85a1ff..3e536ad0 100644 --- a/disable_odoo_online/i18n/es.po +++ b/disable_odoo_online/i18n/es.po @@ -9,18 +9,18 @@ msgstr "" "Project-Id-Version: server-tools (10.0)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-12-23 02:01+0000\n" -"PO-Revision-Date: 2016-12-21 09:10+0000\n" -"Last-Translator: Pedro M. Baeza \n" +"PO-Revision-Date: 2019-03-01 15:53+0000\n" +"Last-Translator: Marta Vázquez Rodríguez \n" "Language-Team: Spanish (http://www.transifex.com/oca/OCA-server-tools-10-0/" "language/es/)\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.4\n" #. module: disable_odoo_online #: model:ir.model,name:disable_odoo_online.model_publisher_warranty_contract -#, fuzzy msgid "Publisher Warranty Contract" -msgstr "publisher_warranty.contract" +msgstr "'publisher_warranty.contract'" From 018e9b89ca611eb71bc202499d45ecbb262aaa26 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Mon, 29 Jul 2019 03:38:00 +0000 Subject: [PATCH 10/34] [UPD] README.rst --- disable_odoo_online/static/description/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disable_odoo_online/static/description/index.html b/disable_odoo_online/static/description/index.html index dfa30306..7687f769 100644 --- a/disable_odoo_online/static/description/index.html +++ b/disable_odoo_online/static/description/index.html @@ -3,7 +3,7 @@ - + Remove odoo.com Bindings