Browse Source

[MIG] base_multi_image: Upgrade to v10

* Update openerp to odoo
* Bump versions
* Installable to True
pull/600/head
Dave Lasley 8 years ago
parent
commit
482a273788
No known key found for this signature in database GPG Key ID: 7DDBA4BA81B934CF
  1. 6
      base_multi_image/README.rst
  2. 7
      base_multi_image/__manifest__.py
  3. 6
      base_multi_image/hooks.py
  4. 2
      base_multi_image/i18n/am.po
  5. 2
      base_multi_image/i18n/bg.po
  6. 2
      base_multi_image/i18n/ca.po
  7. 2
      base_multi_image/i18n/de.po
  8. 2
      base_multi_image/i18n/el_GR.po
  9. 2
      base_multi_image/i18n/es.po
  10. 2
      base_multi_image/i18n/es_ES.po
  11. 2
      base_multi_image/i18n/fi.po
  12. 2
      base_multi_image/i18n/fr.po
  13. 2
      base_multi_image/i18n/fr_CA.po
  14. 2
      base_multi_image/i18n/gl.po
  15. 2
      base_multi_image/i18n/hr.po
  16. 2
      base_multi_image/i18n/hr_HR.po
  17. 2
      base_multi_image/i18n/it.po
  18. 2
      base_multi_image/i18n/nl.po
  19. 2
      base_multi_image/i18n/pt.po
  20. 2
      base_multi_image/i18n/pt_BR.po
  21. 2
      base_multi_image/i18n/pt_PT.po
  22. 2
      base_multi_image/i18n/ru.po
  23. 2
      base_multi_image/i18n/sl.po
  24. 2
      base_multi_image/i18n/sv.po
  25. 2
      base_multi_image/i18n/tr.po
  26. 2
      base_multi_image/i18n/zh_CN.po
  27. 4
      base_multi_image/models/image.py
  28. 2
      base_multi_image/models/owner.py
  29. 6
      base_multi_image/views/image_view.xml

6
base_multi_image/README.rst

@ -63,7 +63,7 @@ To develop a module based on this one:
``product_multi_image`` module does::
try:
from openerp.addons.base_multi_image.hooks import (
from odoo.addons.base_multi_image.hooks import (
pre_init_hook_for_submodules,
uninstall_hook_for_submodules,
)
@ -85,7 +85,7 @@ To develop a module based on this one:
.. 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/9.0
:target: https://runbot.odoo-community.org/runbot/149/10.0
Known issues / Roadmap
======================
@ -104,7 +104,7 @@ help us smashing it by providing a detailed and welcomed `feedback
<https://github.com/OCA/
server-tools/issues/new?body=module:%20
base_multi_image%0Aversion:%20
9.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
10.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Credits
=======

7
base_multi_image/__manifest__.py

@ -8,15 +8,16 @@
{
"name": "Multiple images base",
"summary": "Allow multiple images for database objects",
"version": "9.0.1.1.0",
"author": "Serv. Tecnol. Avanzados - Pedro M. Baeza, "
"version": "10.0.1.0.0",
"author": "Tecnativa, "
"Antiun Ingeniería, S.L., Sodexis, "
"LasLabs, "
"Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "http://www.antiun.com",
"category": "Tools",
"depends": ['base'],
'installable': False,
'installable': True,
"data": [
"security/ir.model.access.csv",
"views/image_view.xml",

6
base_multi_image/hooks.py

@ -2,7 +2,7 @@
# © 2016 Antiun Ingeniería S.L. - Jairo Llopis
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import api, SUPERUSER_ID
from odoo import api, SUPERUSER_ID
import logging
_logger = logging.getLogger(__name__)
@ -66,10 +66,10 @@ def pre_init_hook_for_submodules(cr, model, field):
def uninstall_hook_for_submodules(cr, registry, model):
"""Remove multi-images for a given model.
:param openerp.sql_db.Cursor cr:
:param odoo.sql_db.Cursor cr:
Database cursor.
:param openerp.modules.registry.RegistryManager registry:
:param odoo.modules.registry.RegistryManager registry:
Database registry, using v7 api.
:param str model:

2
base_multi_image/i18n/am.po

@ -5,7 +5,7 @@
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Project-Id-Version: server-tools (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-10 02:52+0000\n"
"PO-Revision-Date: 2016-09-09 12:26+0000\n"

2
base_multi_image/i18n/bg.po

@ -5,7 +5,7 @@
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Project-Id-Version: server-tools (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-10-04 09:42+0000\n"
"PO-Revision-Date: 2016-09-25 14:00+0000\n"

2
base_multi_image/i18n/ca.po

@ -5,7 +5,7 @@
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Project-Id-Version: server-tools (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-10 02:52+0000\n"
"PO-Revision-Date: 2016-09-09 12:25+0000\n"

2
base_multi_image/i18n/de.po

@ -17,7 +17,7 @@
# Thomas A. Jaeger, 2015
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Project-Id-Version: server-tools (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-04-17 12:15+0000\n"
"PO-Revision-Date: 2016-04-22 09:06+0000\n"

2
base_multi_image/i18n/el_GR.po

@ -5,7 +5,7 @@
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Project-Id-Version: server-tools (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-10 02:52+0000\n"
"PO-Revision-Date: 2016-09-09 12:25+0000\n"

2
base_multi_image/i18n/es.po

@ -19,7 +19,7 @@
# SaFi J. <safi2266@gmail.com>, 2015
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Project-Id-Version: server-tools (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-10-04 09:42+0000\n"
"PO-Revision-Date: 2016-10-04 09:43+0000\n"

2
base_multi_image/i18n/es_ES.po

@ -5,7 +5,7 @@
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Project-Id-Version: server-tools (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-10 02:52+0000\n"
"PO-Revision-Date: 2016-09-09 12:25+0000\n"

2
base_multi_image/i18n/fi.po

@ -18,7 +18,7 @@
# Rudolf Schnapka <rs@techno-flex.de>, 2015
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Project-Id-Version: server-tools (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-07-09 10:34+0000\n"
"PO-Revision-Date: 2016-07-05 18:08+0000\n"

2
base_multi_image/i18n/fr.po

@ -17,7 +17,7 @@
# Thomas A. Jaeger, 2015
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Project-Id-Version: server-tools (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-10-04 09:42+0000\n"
"PO-Revision-Date: 2016-10-04 09:43+0000\n"

2
base_multi_image/i18n/fr_CA.po

@ -15,7 +15,7 @@
# Wagner Pereira <wagner@wagner.pereira.nom.br>, 2015
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Project-Id-Version: server-tools (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-04-02 00:57+0000\n"
"PO-Revision-Date: 2016-03-31 07:18+0000\n"

2
base_multi_image/i18n/gl.po

@ -5,7 +5,7 @@
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Project-Id-Version: server-tools (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-10 02:52+0000\n"
"PO-Revision-Date: 2016-09-09 12:25+0000\n"

2
base_multi_image/i18n/hr.po

@ -6,7 +6,7 @@
# Bole <bole@dajmi5.com>, 2016
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Project-Id-Version: server-tools (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-10-04 09:42+0000\n"
"PO-Revision-Date: 2016-10-05 06:35+0000\n"

2
base_multi_image/i18n/hr_HR.po

@ -5,7 +5,7 @@
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Project-Id-Version: server-tools (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-06-09 12:31+0000\n"
"PO-Revision-Date: 2016-03-31 07:18+0000\n"

2
base_multi_image/i18n/it.po

@ -15,7 +15,7 @@
# Rudolf Schnapka <rs@techno-flex.de>, 2016
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Project-Id-Version: server-tools (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-10 02:52+0000\n"
"PO-Revision-Date: 2016-09-09 12:24+0000\n"

2
base_multi_image/i18n/nl.po

@ -5,7 +5,7 @@
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Project-Id-Version: server-tools (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-10 02:52+0000\n"
"PO-Revision-Date: 2016-09-17 18:43+0000\n"

2
base_multi_image/i18n/pt.po

@ -5,7 +5,7 @@
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Project-Id-Version: server-tools (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-10 02:52+0000\n"
"PO-Revision-Date: 2016-09-09 12:27+0000\n"

2
base_multi_image/i18n/pt_BR.po

@ -44,7 +44,7 @@
# Young Kim <youngck.uw@gmail.com>, 2015
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Project-Id-Version: server-tools (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-07-09 10:34+0000\n"
"PO-Revision-Date: 2016-07-05 18:08+0000\n"

2
base_multi_image/i18n/pt_PT.po

@ -5,7 +5,7 @@
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Project-Id-Version: server-tools (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-10 02:52+0000\n"
"PO-Revision-Date: 2016-09-09 12:25+0000\n"

2
base_multi_image/i18n/ru.po

@ -27,7 +27,7 @@
# SaFi J. <safi2266@gmail.com>, 2015
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Project-Id-Version: server-tools (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-04-02 00:57+0000\n"
"PO-Revision-Date: 2016-03-31 07:18+0000\n"

2
base_multi_image/i18n/sl.po

@ -31,7 +31,7 @@
# SEUNGWON <baeksw0620@gmail.com>, 2014
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Project-Id-Version: server-tools (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-10-04 09:42+0000\n"
"PO-Revision-Date: 2016-10-04 09:42+0000\n"

2
base_multi_image/i18n/sv.po

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.14\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"Report-Msgid-Bugs-To: support@odoo.com\n"
"POT-Creation-Date: 2010-11-22 10:19:32+0000\n"
"PO-Revision-Date: 2010-11-22 10:19:32+0000\n"
"Last-Translator: <>\n"

2
base_multi_image/i18n/tr.po

@ -27,7 +27,7 @@
# Yael Terrettaz, 2015
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Project-Id-Version: server-tools (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-04-02 00:57+0000\n"
"PO-Revision-Date: 2016-03-31 07:19+0000\n"

2
base_multi_image/i18n/zh_CN.po

@ -6,7 +6,7 @@
# Jeffery Chenn <jeffery9@gmail.com>, 2016
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Project-Id-Version: server-tools (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-10-04 09:42+0000\n"
"PO-Revision-Date: 2016-10-04 09:42+0000\n"

4
base_multi_image/models/image.py

@ -8,8 +8,8 @@ import base64
import urllib
import os
import logging
from openerp import models, fields, api, exceptions, _
from openerp import tools
from odoo import models, fields, api, exceptions, _
from odoo import tools
_logger = logging.getLogger(__name__)

2
base_multi_image/models/owner.py

@ -4,7 +4,7 @@
# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import _, api, fields, models, tools
from odoo import _, api, fields, models, tools
class Owner(models.AbstractModel):

6
base_multi_image/views/image_view.xml

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<odoo>
<record id="image_form_view" model="ir.ui.view">
<field name="name">Multi image form</field>
@ -148,5 +147,4 @@
action="image_action"
parent="base.menu_custom"/>
</data>
</openerp>
</odoo>
Loading…
Cancel
Save