Skip to content

Commit

Permalink
[MIG] Disable_odoo_online: Migration to 11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hieulucky111 committed Jan 19, 2018
1 parent 8a19b86 commit e24daf9
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 37 deletions.
18 changes: 12 additions & 6 deletions 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

========================
Expand All @@ -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
<https://github.com/OCA/server-tools/issues>`_. In case of trouble, please
<https://github.com/OCA/server-brand/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
=======

Images
------

* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.

Contributors
------------

* Holger Brunn <hbrunn@therp.nl>
* Stefan Rijnhart <stefan@opener.am>
* Sylvain LE GAL (https://twitter.com/legalsylvain)
* Hieu, Vo Minh Bao <hieu.vmb@komit-consulting.com>

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

Maintainer
----------
Expand Down
4 changes: 0 additions & 4 deletions disable_odoo_online/__init__.py
@@ -1,8 +1,4 @@
# -*- coding: utf-8 -*-
# Copyright (C) 2013 Therp BV (<http://therp.nl>).
# 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
4 changes: 1 addition & 3 deletions disable_odoo_online/__manifest__.py
@@ -1,9 +1,8 @@
# -*- coding: utf-8 -*-
# Copyright (C) 2013 Therp BV (<http://therp.nl>).
# 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",
Expand All @@ -13,7 +12,6 @@
],
"data": [
'views/ir_ui_menu.xml',
'data/ir_cron.xml',
],
"qweb": [
'static/src/xml/base.xml',
Expand Down
8 changes: 0 additions & 8 deletions disable_odoo_online/data/ir_cron.xml

This file was deleted.

32 changes: 23 additions & 9 deletions disable_odoo_online/i18n/fr.po
Expand Up @@ -3,22 +3,36 @@
# * disable_odoo_online
#
# Translators:
# Guigui4ever <guillaume.pagniez59@gmail.com>, 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 <guillaume.pagniez59@gmail.com>\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"
"Language: fr\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 "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"
1 change: 0 additions & 1 deletion disable_odoo_online/models/__init__.py
@@ -1,2 +1 @@
# -*- coding: utf-8 -*-
from . import publisher_warranty_contract
1 change: 0 additions & 1 deletion disable_odoo_online/models/publisher_warranty_contract.py
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright (C) 2013 Therp BV (<http://therp.nl>).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

Expand Down
5 changes: 0 additions & 5 deletions disable_odoo_online/views/ir_ui_menu.xml
@@ -1,11 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>

<!-- Menus moved under Tools\Parameters -->
<record model="ir.ui.menu" id="base.module_mi">
<field name="parent_id" ref="base.menu_ir_property"/>
</record>

<record model="ir.ui.menu" id="base.menu_module_updates">
<field name="parent_id" ref="base.menu_ir_property"/>
</record>
Expand Down

0 comments on commit e24daf9

Please sign in to comment.