Fix Qweb templates. (#561)

* [FIX][web_m2x_options] Fix Qweb templates.

They were trying to replace non-existing elements, and this was being logged to console:

    Can't find "a.oe_m2o_cm_button" when extending template FieldMany2One
    Can't find "span.badge" when extending template FieldMany2ManyTag

* Raise version correctly.

* [FIX] Make many2many_tags tag deletion work again

* Correct replacement of event

Instead of overwriting all events from upstream widget, better just overwrite the one you need and inherit the rest.
pull/2888/head
Jairo Llopis 2017-03-08 19:19:19 +01:00 committed by manu
parent f52a14d995
commit 85294a1958
15 changed files with 677 additions and 140 deletions

View File

@ -146,6 +146,7 @@ Contributors
* Nicolas JEUDY <nicolas@sudokeys.com> * Nicolas JEUDY <nicolas@sudokeys.com>
* Yannick Vaucher <yannick.vaucher@camptocamp.com> * Yannick Vaucher <yannick.vaucher@camptocamp.com>
* Zakaria Makrelouf <z.makrelouf@gmail.com> * Zakaria Makrelouf <z.makrelouf@gmail.com>
* Jairo Llopis <jairo.llopis@tecnativa.com>
Maintainer Maintainer
---------- ----------

View File

@ -2,7 +2,7 @@
{ {
"name": 'web_m2x_options', "name": 'web_m2x_options',
"version": "9.0.1.0.0", "version": "9.0.1.1.0",
"depends": [ "depends": [
'base', 'base',
'web', 'web',
@ -12,6 +12,7 @@
], ],
'license': 'AGPL-3', 'license': 'AGPL-3',
'data': ['views/view.xml'], 'data': ['views/view.xml'],
"author": "ACSONE SA/NV, 0k.io,Odoo Community Association (OCA)", "author": "ACSONE SA/NV, 0k.io, Tecnativa, "
"Odoo Community Association (OCA)",
'installable': True, 'installable': True,
} }

View File

@ -3,15 +3,15 @@
# * web_m2x_options # * web_m2x_options
# #
# Translators: # Translators:
# SaFi J. <safi2266@gmail.com>, 2015 # OCA Transbot <transbot@odoo-community.org>, 2017
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: web (8.0)\n" "Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-02-26 02:05+0000\n" "POT-Creation-Date: 2018-01-03 03:50+0000\n"
"PO-Revision-Date: 2015-12-16 17:30+0000\n" "PO-Revision-Date: 2018-01-03 03:50+0000\n"
"Last-Translator: SaFi J. <safi2266@gmail.com>\n" "Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Arabic (http://www.transifex.com/oca/OCA-web-8-0/language/ar/)\n" "Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
@ -20,24 +20,66 @@ msgstr ""
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:219 #: code:addons/web_m2x_options/static/src/xml/base.xml:8
#: code:addons/web_m2x_options/static/src/js/form.js:373 #, python-format
msgid "!(widget.options.no_open || widget.options.no_open_edit)"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:47
#, python-format
msgid "Cancel"
msgstr "إلغاء"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:33
#, python-format
msgid "Create"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:232
#: code:addons/web_m2x_options/static/src/js/form.js:382
#, python-format #, python-format
msgid "Create \"<strong>%s</strong>\"" msgid "Create \"<strong>%s</strong>\""
msgstr "إنشاء \"<strong>%s</strong>\"" msgstr "إنشاء \"<strong>%s</strong>\""
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:237 #: code:addons/web_m2x_options/static/src/js/form.js:30
#: code:addons/web_m2x_options/static/src/js/form.js:392 #, python-format
msgid "Create a %s"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:250
#: code:addons/web_m2x_options/static/src/js/form.js:401
#, python-format #, python-format
msgid "Create and Edit..." msgid "Create and Edit..."
msgstr "إنشاء وتحرير ..." msgstr "إنشاء وتحرير ..."
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:188 #: code:addons/web_m2x_options/static/src/js/form.js:43
#: code:addons/web_m2x_options/static/src/js/form.js:349 #, python-format
msgid "Create and edit"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:201
#: code:addons/web_m2x_options/static/src/js/form.js:358
#, python-format #, python-format
msgid "Search More..." msgid "Search More..."
msgstr "البحث عن المزيد ..." msgstr "البحث عن المزيد ..."
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:52
#, python-format
msgid "You are creating a new %s, are you sure it does not exist yet?"
msgstr ""

View File

@ -3,15 +3,16 @@
# * web_m2x_options # * web_m2x_options
# #
# Translators: # Translators:
# Rudolf Schnapka <rs@techno-flex.de>, 2016 # OCA Transbot <transbot@odoo-community.org>, 2017
# Rudolf Schnapka <rs@techno-flex.de>, 2018
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: web (8.0)\n" "Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-02-26 02:05+0000\n" "POT-Creation-Date: 2018-01-03 03:50+0000\n"
"PO-Revision-Date: 2016-01-18 20:15+0000\n" "PO-Revision-Date: 2018-01-03 03:50+0000\n"
"Last-Translator: Rudolf Schnapka <rs@techno-flex.de>\n" "Last-Translator: Rudolf Schnapka <rs@techno-flex.de>, 2018\n"
"Language-Team: German (http://www.transifex.com/oca/OCA-web-8-0/language/de/)\n" "Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
@ -20,24 +21,68 @@ msgstr ""
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:219 #: code:addons/web_m2x_options/static/src/xml/base.xml:8
#: code:addons/web_m2x_options/static/src/js/form.js:373 #, python-format
msgid "!(widget.options.no_open || widget.options.no_open_edit)"
msgstr "!(widget.options.no_open || widget.options.no_open_edit)"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:47
#, python-format
msgid "Cancel"
msgstr "Abbrechen"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:33
#, python-format
msgid "Create"
msgstr "Anlegen"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:232
#: code:addons/web_m2x_options/static/src/js/form.js:382
#, python-format #, python-format
msgid "Create \"<strong>%s</strong>\"" msgid "Create \"<strong>%s</strong>\""
msgstr "Anlegen \"<strong>%s</strong>" msgstr "Anlegen \"<strong>%s</strong>"
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:237 #: code:addons/web_m2x_options/static/src/js/form.js:30
#: code:addons/web_m2x_options/static/src/js/form.js:392 #, python-format
msgid "Create a %s"
msgstr "Eine %s anlegen"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:250
#: code:addons/web_m2x_options/static/src/js/form.js:401
#, python-format #, python-format
msgid "Create and Edit..." msgid "Create and Edit..."
msgstr "Anlegen und Bearbeiten" msgstr "Anlegen und Bearbeiten"
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:188 #: code:addons/web_m2x_options/static/src/js/form.js:43
#: code:addons/web_m2x_options/static/src/js/form.js:349 #, python-format
msgid "Create and edit"
msgstr "Anlegen und bearbeiten"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:201
#: code:addons/web_m2x_options/static/src/js/form.js:358
#, python-format #, python-format
msgid "Search More..." msgid "Search More..."
msgstr "Suche weitere..." msgstr "Suche weitere..."
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:52
#, python-format
msgid "You are creating a new %s, are you sure it does not exist yet?"
msgstr ""
"Sie legen eine neue %s an, sind Sie sicher, dass diese nicht bereits "
"vorhanden ist?"

View File

@ -3,15 +3,15 @@
# * web_m2x_options # * web_m2x_options
# #
# Translators: # Translators:
# Pedro M. Baeza <pedro.baeza@gmail.com>, 2015 # OCA Transbot <transbot@odoo-community.org>, 2017
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: web (8.0)\n" "Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-02-26 02:05+0000\n" "POT-Creation-Date: 2018-01-03 03:50+0000\n"
"PO-Revision-Date: 2015-11-07 11:28+0000\n" "PO-Revision-Date: 2018-01-03 03:50+0000\n"
"Last-Translator: Pedro M. Baeza <pedro.baeza@gmail.com>\n" "Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Spanish (http://www.transifex.com/oca/OCA-web-8-0/language/es/)\n" "Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
@ -20,24 +20,66 @@ msgstr ""
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:219 #: code:addons/web_m2x_options/static/src/xml/base.xml:8
#: code:addons/web_m2x_options/static/src/js/form.js:373 #, python-format
msgid "!(widget.options.no_open || widget.options.no_open_edit)"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:47
#, python-format
msgid "Cancel"
msgstr "Cancelar"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:33
#, python-format
msgid "Create"
msgstr "Crear"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:232
#: code:addons/web_m2x_options/static/src/js/form.js:382
#, python-format #, python-format
msgid "Create \"<strong>%s</strong>\"" msgid "Create \"<strong>%s</strong>\""
msgstr "Crear \"<strong>%s</strong>\"" msgstr "Crear \"<strong>%s</strong>\""
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:237 #: code:addons/web_m2x_options/static/src/js/form.js:30
#: code:addons/web_m2x_options/static/src/js/form.js:392 #, python-format
msgid "Create a %s"
msgstr "Crear un %s"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:250
#: code:addons/web_m2x_options/static/src/js/form.js:401
#, python-format #, python-format
msgid "Create and Edit..." msgid "Create and Edit..."
msgstr "Crear y editar..." msgstr "Crear y editar..."
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:188 #: code:addons/web_m2x_options/static/src/js/form.js:43
#: code:addons/web_m2x_options/static/src/js/form.js:349 #, python-format
msgid "Create and edit"
msgstr "Crear y editar"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:201
#: code:addons/web_m2x_options/static/src/js/form.js:358
#, python-format #, python-format
msgid "Search More..." msgid "Search More..."
msgstr "Buscar más..." msgstr "Buscar más..."
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:52
#, python-format
msgid "You are creating a new %s, are you sure it does not exist yet?"
msgstr "Está creando un nuevo %s, ¿está seguro de no existe ya?"

View File

@ -3,15 +3,15 @@
# * web_m2x_options # * web_m2x_options
# #
# Translators: # Translators:
# Jarmo Kortetjärvi <jarmo.kortetjarvi@gmail.com>, 2016 # OCA Transbot <transbot@odoo-community.org>, 2017
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: web (8.0)\n" "Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-02-26 02:05+0000\n" "POT-Creation-Date: 2018-01-03 03:50+0000\n"
"PO-Revision-Date: 2016-02-01 09:52+0000\n" "PO-Revision-Date: 2018-01-03 03:50+0000\n"
"Last-Translator: Jarmo Kortetjärvi <jarmo.kortetjarvi@gmail.com>\n" "Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Finnish (http://www.transifex.com/oca/OCA-web-8-0/language/fi/)\n" "Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
@ -20,24 +20,66 @@ msgstr ""
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:219 #: code:addons/web_m2x_options/static/src/xml/base.xml:8
#: code:addons/web_m2x_options/static/src/js/form.js:373 #, python-format
msgid "!(widget.options.no_open || widget.options.no_open_edit)"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:47
#, python-format
msgid "Cancel"
msgstr "Peru"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:33
#, python-format
msgid "Create"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:232
#: code:addons/web_m2x_options/static/src/js/form.js:382
#, python-format #, python-format
msgid "Create \"<strong>%s</strong>\"" msgid "Create \"<strong>%s</strong>\""
msgstr "Luo \"<strong>%s</strong>\"" msgstr "Luo \"<strong>%s</strong>\""
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:237 #: code:addons/web_m2x_options/static/src/js/form.js:30
#: code:addons/web_m2x_options/static/src/js/form.js:392 #, python-format
msgid "Create a %s"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:250
#: code:addons/web_m2x_options/static/src/js/form.js:401
#, python-format #, python-format
msgid "Create and Edit..." msgid "Create and Edit..."
msgstr "Luo ja muokkaa..." msgstr "Luo ja muokkaa..."
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:188 #: code:addons/web_m2x_options/static/src/js/form.js:43
#: code:addons/web_m2x_options/static/src/js/form.js:349 #, python-format
msgid "Create and edit"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:201
#: code:addons/web_m2x_options/static/src/js/form.js:358
#, python-format #, python-format
msgid "Search More..." msgid "Search More..."
msgstr "Hae lisää..." msgstr "Hae lisää..."
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:52
#, python-format
msgid "You are creating a new %s, are you sure it does not exist yet?"
msgstr ""

View File

@ -3,15 +3,15 @@
# * web_m2x_options # * web_m2x_options
# #
# Translators: # Translators:
# Christophe CHAUVET <christophe.chauvet@gmail.com>, 2016 # OCA Transbot <transbot@odoo-community.org>, 2017
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: web (8.0)\n" "Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-05-06 15:50+0000\n" "POT-Creation-Date: 2018-01-03 03:50+0000\n"
"PO-Revision-Date: 2016-05-06 08:27+0000\n" "PO-Revision-Date: 2018-01-03 03:50+0000\n"
"Last-Translator: Christophe CHAUVET <christophe.chauvet@gmail.com>\n" "Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: French (http://www.transifex.com/oca/OCA-web-8-0/language/fr/)\n" "Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
@ -20,24 +20,66 @@ msgstr ""
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:219 #: code:addons/web_m2x_options/static/src/xml/base.xml:8
#: code:addons/web_m2x_options/static/src/js/form.js:373 #, python-format
msgid "!(widget.options.no_open || widget.options.no_open_edit)"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:47
#, python-format
msgid "Cancel"
msgstr "Annuler"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:33
#, python-format
msgid "Create"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:232
#: code:addons/web_m2x_options/static/src/js/form.js:382
#, python-format #, python-format
msgid "Create \"<strong>%s</strong>\"" msgid "Create \"<strong>%s</strong>\""
msgstr "Creer \"<strong>%s</strong>\"" msgstr "Creer \"<strong>%s</strong>\""
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:237 #: code:addons/web_m2x_options/static/src/js/form.js:30
#: code:addons/web_m2x_options/static/src/js/form.js:392 #, python-format
msgid "Create a %s"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:250
#: code:addons/web_m2x_options/static/src/js/form.js:401
#, python-format #, python-format
msgid "Create and Edit..." msgid "Create and Edit..."
msgstr "Créer et modifier..." msgstr "Créer et modifier..."
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:188 #: code:addons/web_m2x_options/static/src/js/form.js:43
#: code:addons/web_m2x_options/static/src/js/form.js:349 #, python-format
msgid "Create and edit"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:201
#: code:addons/web_m2x_options/static/src/js/form.js:358
#, python-format #, python-format
msgid "Search More..." msgid "Search More..."
msgstr "Rechercher plus..." msgstr "Rechercher plus..."
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:52
#, python-format
msgid "You are creating a new %s, are you sure it does not exist yet?"
msgstr ""

View File

@ -0,0 +1,86 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_m2x_options
#
# Translators:
# Bole <bole@dajmi5.com>, 2017
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-01-03 03:50+0000\n"
"PO-Revision-Date: 2018-01-03 03:50+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/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: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/xml/base.xml:8
#, python-format
msgid "!(widget.options.no_open || widget.options.no_open_edit)"
msgstr "!(opcije isključuju otvaranje ili uređivanje)"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:47
#, python-format
msgid "Cancel"
msgstr "Otkaži"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:33
#, python-format
msgid "Create"
msgstr "Kreiraj"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:232
#: code:addons/web_m2x_options/static/src/js/form.js:382
#, python-format
msgid "Create \"<strong>%s</strong>\""
msgstr "Kreiraj \" <strong>%s</strong>\""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:30
#, python-format
msgid "Create a %s"
msgstr "Kreiraj %s"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:250
#: code:addons/web_m2x_options/static/src/js/form.js:401
#, python-format
msgid "Create and Edit..."
msgstr "Kreiraj i uredi..."
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:43
#, python-format
msgid "Create and edit"
msgstr "Kreiraj i uredi"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:201
#: code:addons/web_m2x_options/static/src/js/form.js:358
#, python-format
msgid "Search More..."
msgstr "Traži dalje..."
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:52
#, python-format
msgid "You are creating a new %s, are you sure it does not exist yet?"
msgstr "Želite kreirati novi %s, jeste li sigurni da već ne postoji?"

View File

@ -3,27 +3,15 @@
# * web_m2x_options # * web_m2x_options
# #
# Translators: # Translators:
# Ahmet Altınışık <aaltinisik@altinkaya.com.tr>, 2015 # OCA Transbot <transbot@odoo-community.org>, 2017
# Antonio Trueba, 2016
# Armando Vulcano Junior <vulcano@uol.com.br>, 2015
# Carles Antoli <carlesantoli@hotmail.com>, 2015
# Bole <bole@dajmi5.com>, 2015
# FIRST AUTHOR <EMAIL@ADDRESS>, 2012,2014
# Giacomo <giacomo.spettoli@gmail.com>, 2015
# Hotellook, 2014
# Jarmo Kortetjärvi <jarmo.kortetjarvi@gmail.com>, 2016
# Paolo Valier, 2016
# Paolo Valier, 2016
# Rudolf Schnapka <rs@techno-flex.de>, 2016
# Thomas A. Jaeger, 2015
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: web (8.0)\n" "Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-04-28 07:09+0000\n" "POT-Creation-Date: 2018-01-03 03:50+0000\n"
"PO-Revision-Date: 2016-04-28 06:46+0000\n" "PO-Revision-Date: 2018-01-03 03:50+0000\n"
"Last-Translator: Paolo Valier\n" "Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Italian (http://www.transifex.com/oca/OCA-web-8-0/language/it/)\n" "Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
@ -32,24 +20,66 @@ msgstr ""
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:219 #: code:addons/web_m2x_options/static/src/xml/base.xml:8
#: code:addons/web_m2x_options/static/src/js/form.js:373 #, python-format
msgid "!(widget.options.no_open || widget.options.no_open_edit)"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:47
#, python-format
msgid "Cancel"
msgstr "Annulla"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:33
#, python-format
msgid "Create"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:232
#: code:addons/web_m2x_options/static/src/js/form.js:382
#, python-format #, python-format
msgid "Create \"<strong>%s</strong>\"" msgid "Create \"<strong>%s</strong>\""
msgstr "Crea \"<strong>%s</strong>\"" msgstr "Crea \"<strong>%s</strong>\""
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:237 #: code:addons/web_m2x_options/static/src/js/form.js:30
#: code:addons/web_m2x_options/static/src/js/form.js:392 #, python-format
msgid "Create a %s"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:250
#: code:addons/web_m2x_options/static/src/js/form.js:401
#, python-format #, python-format
msgid "Create and Edit..." msgid "Create and Edit..."
msgstr "Crea e Modifica..." msgstr "Crea e Modifica..."
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:188 #: code:addons/web_m2x_options/static/src/js/form.js:43
#: code:addons/web_m2x_options/static/src/js/form.js:349 #, python-format
msgid "Create and edit"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:201
#: code:addons/web_m2x_options/static/src/js/form.js:358
#, python-format #, python-format
msgid "Search More..." msgid "Search More..."
msgstr "Cerca altro..." msgstr "Cerca altro..."
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:52
#, python-format
msgid "You are creating a new %s, are you sure it does not exist yet?"
msgstr ""

View File

@ -0,0 +1,85 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_m2x_options
#
# Translators:
# Peter Hageman <hageman.p@gmail.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-07-01 03:35+0000\n"
"PO-Revision-Date: 2017-07-01 03:35+0000\n"
"Last-Translator: Peter Hageman <hageman.p@gmail.com>, 2017\n"
"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/teams/23907/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: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/xml/base.xml:8
#, python-format
msgid "!(widget.options.no_open || widget.options.no_open_edit)"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:47
#, python-format
msgid "Cancel"
msgstr "Annuleer"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:33
#, python-format
msgid "Create"
msgstr "Aanmaken"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:224
#: code:addons/web_m2x_options/static/src/js/form.js:374
#, python-format
msgid "Create \"<strong>%s</strong>\""
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:30
#, python-format
msgid "Create a %s"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:242
#: code:addons/web_m2x_options/static/src/js/form.js:393
#, python-format
msgid "Create and Edit..."
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:43
#, python-format
msgid "Create and edit"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:193
#: code:addons/web_m2x_options/static/src/js/form.js:350
#, python-format
msgid "Search More..."
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:52
#, python-format
msgid "You are creating a new %s, are you sure it does not exist yet?"
msgstr ""

View File

@ -3,15 +3,16 @@
# * web_m2x_options # * web_m2x_options
# #
# Translators: # Translators:
# danimaribeiro <danimaribeiro@gmail.com>, 2016 # OCA Transbot <transbot@odoo-community.org>, 2017
# Rodrigo de Almeida Sottomaior Macedo <rmsolucoeseminformatic4@gmail.com>, 2017
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: web (8.0)\n" "Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-03-11 02:17+0000\n" "POT-Creation-Date: 2018-01-03 03:50+0000\n"
"PO-Revision-Date: 2016-03-05 16:20+0000\n" "PO-Revision-Date: 2018-01-03 03:50+0000\n"
"Last-Translator: danimaribeiro <danimaribeiro@gmail.com>\n" "Last-Translator: Rodrigo de Almeida Sottomaior Macedo <rmsolucoeseminformatic4@gmail.com>, 2017\n"
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-web-8-0/language/pt_BR/)\n" "Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
@ -20,24 +21,67 @@ msgstr ""
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:219 #: code:addons/web_m2x_options/static/src/xml/base.xml:8
#: code:addons/web_m2x_options/static/src/js/form.js:373 #, python-format
msgid "!(widget.options.no_open || widget.options.no_open_edit)"
msgstr "!(widget.options.no_open || widget.options.no_open_edit)"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:47
#, python-format
msgid "Cancel"
msgstr "Cancelar"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:33
#, python-format
msgid "Create"
msgstr "Criar"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:232
#: code:addons/web_m2x_options/static/src/js/form.js:382
#, python-format #, python-format
msgid "Create \"<strong>%s</strong>\"" msgid "Create \"<strong>%s</strong>\""
msgstr "Criar \"<strong>%s</strong>\"" msgstr "Criar \"<strong>%s</strong>\""
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:237 #: code:addons/web_m2x_options/static/src/js/form.js:30
#: code:addons/web_m2x_options/static/src/js/form.js:392 #, python-format
msgid "Create a %s"
msgstr "Criar um %s"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:250
#: code:addons/web_m2x_options/static/src/js/form.js:401
#, python-format #, python-format
msgid "Create and Edit..." msgid "Create and Edit..."
msgstr "Criar e editar.." msgstr "Criar e editar.."
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:188 #: code:addons/web_m2x_options/static/src/js/form.js:43
#: code:addons/web_m2x_options/static/src/js/form.js:349 #, python-format
msgid "Create and edit"
msgstr "Criar e editar"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:201
#: code:addons/web_m2x_options/static/src/js/form.js:358
#, python-format #, python-format
msgid "Search More..." msgid "Search More..."
msgstr "Buscar mais..." msgstr "Buscar mais..."
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:52
#, python-format
msgid "You are creating a new %s, are you sure it does not exist yet?"
msgstr ""
"Você está criando um novo %s, você tem certeza de que ainda não existe?"

View File

@ -3,15 +3,15 @@
# * web_m2x_options # * web_m2x_options
# #
# Translators: # Translators:
# Matjaž Mozetič <m.mozetic@matmoz.si>, 2015 # OCA Transbot <transbot@odoo-community.org>, 2017
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: web (8.0)\n" "Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-02-26 02:05+0000\n" "POT-Creation-Date: 2018-01-03 03:50+0000\n"
"PO-Revision-Date: 2015-11-08 05:46+0000\n" "PO-Revision-Date: 2018-01-03 03:50+0000\n"
"Last-Translator: Matjaž Mozetič <m.mozetic@matmoz.si>\n" "Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-web-8-0/language/sl/)\n" "Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
@ -20,24 +20,66 @@ msgstr ""
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:219 #: code:addons/web_m2x_options/static/src/xml/base.xml:8
#: code:addons/web_m2x_options/static/src/js/form.js:373 #, python-format
msgid "!(widget.options.no_open || widget.options.no_open_edit)"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:47
#, python-format
msgid "Cancel"
msgstr "Preklic"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:33
#, python-format
msgid "Create"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:232
#: code:addons/web_m2x_options/static/src/js/form.js:382
#, python-format #, python-format
msgid "Create \"<strong>%s</strong>\"" msgid "Create \"<strong>%s</strong>\""
msgstr "Ustvari \"<strong>%s</strong>\"" msgstr "Ustvari \"<strong>%s</strong>\""
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:237 #: code:addons/web_m2x_options/static/src/js/form.js:30
#: code:addons/web_m2x_options/static/src/js/form.js:392 #, python-format
msgid "Create a %s"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:250
#: code:addons/web_m2x_options/static/src/js/form.js:401
#, python-format #, python-format
msgid "Create and Edit..." msgid "Create and Edit..."
msgstr "Ustvari in urejaj..." msgstr "Ustvari in urejaj..."
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:188 #: code:addons/web_m2x_options/static/src/js/form.js:43
#: code:addons/web_m2x_options/static/src/js/form.js:349 #, python-format
msgid "Create and edit"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:201
#: code:addons/web_m2x_options/static/src/js/form.js:358
#, python-format #, python-format
msgid "Search More..." msgid "Search More..."
msgstr "Poišči več..." msgstr "Poišči več..."
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:52
#, python-format
msgid "You are creating a new %s, are you sure it does not exist yet?"
msgstr ""

View File

@ -3,16 +3,15 @@
# * web_m2x_options # * web_m2x_options
# #
# Translators: # Translators:
# Ahmet Altınışık <aaltinisik@altinkaya.com.tr>, 2015 # OCA Transbot <transbot@odoo-community.org>, 2017
# Ahmet Altınışık <aaltinisik@altinkaya.com.tr>, 2015
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: web (8.0)\n" "Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-02-26 02:05+0000\n" "POT-Creation-Date: 2018-01-03 03:50+0000\n"
"PO-Revision-Date: 2015-12-30 21:53+0000\n" "PO-Revision-Date: 2018-01-03 03:50+0000\n"
"Last-Translator: Ahmet Altınışık <aaltinisik@altinkaya.com.tr>\n" "Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Turkish (http://www.transifex.com/oca/OCA-web-8-0/language/tr/)\n" "Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
@ -21,24 +20,66 @@ msgstr ""
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:219 #: code:addons/web_m2x_options/static/src/xml/base.xml:8
#: code:addons/web_m2x_options/static/src/js/form.js:373 #, python-format
msgid "!(widget.options.no_open || widget.options.no_open_edit)"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:47
#, python-format
msgid "Cancel"
msgstr "İptal"
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:33
#, python-format
msgid "Create"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:232
#: code:addons/web_m2x_options/static/src/js/form.js:382
#, python-format #, python-format
msgid "Create \"<strong>%s</strong>\"" msgid "Create \"<strong>%s</strong>\""
msgstr "Oluştur \"<strong>%s</strong>\"" msgstr "Oluştur \"<strong>%s</strong>\""
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:237 #: code:addons/web_m2x_options/static/src/js/form.js:30
#: code:addons/web_m2x_options/static/src/js/form.js:392 #, python-format
msgid "Create a %s"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:250
#: code:addons/web_m2x_options/static/src/js/form.js:401
#, python-format #, python-format
msgid "Create and Edit..." msgid "Create and Edit..."
msgstr "Oluştur ve düzenle..." msgstr "Oluştur ve düzenle..."
#. module: web_m2x_options #. module: web_m2x_options
#. openerp-web #. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:188 #: code:addons/web_m2x_options/static/src/js/form.js:43
#: code:addons/web_m2x_options/static/src/js/form.js:349 #, python-format
msgid "Create and edit"
msgstr ""
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:201
#: code:addons/web_m2x_options/static/src/js/form.js:358
#, python-format #, python-format
msgid "Search More..." msgid "Search More..."
msgstr "Daha Fazla..." msgstr "Daha Fazla..."
#. module: web_m2x_options
#. openerp-web
#: code:addons/web_m2x_options/static/src/js/form.js:52
#, python-format
msgid "You are creating a new %s, are you sure it does not exist yet?"
msgstr ""

View File

@ -260,13 +260,9 @@ odoo.define('web_m2x_options.web_m2x_options', function (require) {
}); });
form_relational.FieldMany2ManyTags.include({ form_relational.FieldMany2ManyTags.include({
events: { init: function () {
'click .o_delete': function(e) { this.events["click .badge"] = "open_badge";
this.remove_id($(e.target).parent().data('id')); return this._super.apply(this, arguments);
},
'click .badge': 'open_badge',
'mousedown .o_colorpicker span': 'update_color',
'focusout .o_colorpicker': 'close_color_picker',
}, },
show_error_displayer: function () { show_error_displayer: function () {
if ((typeof this.options.m2o_dialog === 'undefined' && this.can_create) || if ((typeof this.options.m2o_dialog === 'undefined' && this.can_create) ||

View File

@ -1,13 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2017 Jairo Llopis <jairo.llopis@tecnativa.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<templates xml:space="preserve"> <templates xml:space="preserve">
<t t-extend="FieldMany2One"> <t t-extend="FieldMany2One">
<t t-jquery="a.oe_m2o_cm_button"> <t t-jquery=".oe_m2o_cm_button" t-operation="attributes">
jQuery(this).attr('t-if', '!(widget.options.no_open || widget.options.no_open_edit)'); <attribute name="t-if">!(widget.options.no_open || widget.options.no_open_edit)</attribute>
</t> </t>
</t>
<t t-extend="FieldMany2ManyTag">
<t t-jquery="span.badge">
jQuery(this).attr('t-att-data-id', 'el[0]');
</t> </t>
</t>
</templates> </templates>