From 59d1cb99e6e311c6faddd69dfb9a44de983d68ea Mon Sep 17 00:00:00 2001 From: Jerome Boisvert-Chouinard Date: Wed, 17 May 2017 17:05:29 -0400 Subject: [PATCH] [10.0][FIX] backport of SerpentCS mass_editing v10 port (#820) * Made Mass Editing module v10 compatible * Mass Editing module v10 translations * Update ir_model_fields.py * [FIX] mass_editing v10 port openerp->odoo * [FIX] pep8 * [FIX] remove no-longer supported auto_refresh in view --- mass_editing/README.rst | 6 +++- mass_editing/__init__.py | 2 +- mass_editing/__manifest__.py | 3 +- mass_editing/hooks.py | 4 +-- mass_editing/i18n/ar.po | 10 ++++-- mass_editing/i18n/bg.po | 20 ++++++++---- mass_editing/i18n/bs.po | 11 +++++-- mass_editing/i18n/ca.po | 11 +++++-- mass_editing/i18n/cs.po | 11 +++++-- mass_editing/i18n/da.po | 11 +++++-- mass_editing/i18n/de.po | 10 ++++-- mass_editing/i18n/en_GB.po | 11 +++++-- mass_editing/i18n/es.po | 13 ++++++-- mass_editing/i18n/es_AR.po | 11 +++++-- mass_editing/i18n/es_CO.po | 5 +-- mass_editing/i18n/es_DO.po | 5 +-- mass_editing/i18n/es_EC.po | 5 +-- mass_editing/i18n/es_MX.po | 11 +++++-- mass_editing/i18n/es_PY.po | 5 +-- mass_editing/i18n/es_VE.po | 11 +++++-- mass_editing/i18n/et.po | 11 +++++-- mass_editing/i18n/eu.po | 9 ++--- mass_editing/i18n/fa.po | 11 +++++-- mass_editing/i18n/fi.po | 11 +++++-- mass_editing/i18n/fr.po | 13 ++++++-- mass_editing/i18n/fr_CA.po | 33 +++++++++++-------- mass_editing/i18n/fr_CH.po | 11 +++++-- mass_editing/i18n/he.po | 11 +++++-- mass_editing/i18n/hr.po | 11 +++++-- mass_editing/i18n/hu.po | 11 +++++-- mass_editing/i18n/id.po | 11 +++++-- mass_editing/i18n/it.po | 5 +-- mass_editing/i18n/ja.po | 11 +++++-- mass_editing/i18n/ko.po | 11 +++++-- mass_editing/i18n/lt.po | 11 +++++-- mass_editing/i18n/mk.po | 11 +++++-- mass_editing/i18n/mn.po | 11 +++++-- mass_editing/i18n/nb.po | 11 +++++-- mass_editing/i18n/nl.po | 13 ++++++-- mass_editing/i18n/nl_BE.po | 11 +++++-- mass_editing/i18n/pl.po | 13 ++++++-- mass_editing/i18n/pt.po | 11 +++++-- mass_editing/i18n/pt_BR.po | 11 +++++-- mass_editing/i18n/pt_PT.po | 11 +++++-- mass_editing/i18n/ru.po | 5 +-- mass_editing/i18n/sk.po | 11 +++++-- mass_editing/i18n/sl.po | 11 +++++-- mass_editing/i18n/sr.po | 11 +++++-- mass_editing/i18n/sr@latin.po | 14 +++++--- mass_editing/i18n/sv.po | 14 +++++--- mass_editing/i18n/th.po | 14 +++++--- mass_editing/i18n/tr.po | 11 +++++-- mass_editing/i18n/uk.po | 17 +++++++--- mass_editing/i18n/vi.po | 13 ++++++-- mass_editing/i18n/zh_TW.po | 11 +++++-- mass_editing/models/__init__.py | 3 +- mass_editing/models/ir_model_fields.py | 24 ++++++++++++++ mass_editing/models/mass_object.py | 21 +++++------- mass_editing/tests/__init__.py | 2 +- mass_editing/tests/test_mass_editing.py | 13 ++++---- mass_editing/views/mass_editing_view.xml | 38 ++++++++++------------ mass_editing/wizard/__init__.py | 2 +- mass_editing/wizard/mass_editing_wizard.py | 4 +-- 63 files changed, 514 insertions(+), 185 deletions(-) create mode 100644 mass_editing/models/ir_model_fields.py diff --git a/mass_editing/README.rst b/mass_editing/README.rst index 8ad27d9..f498e34 100644 --- a/mass_editing/README.rst +++ b/mass_editing/README.rst @@ -72,7 +72,11 @@ 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. +help us smashing it by providing a detailed and welcomed `feedback +`_. Credits ======= diff --git a/mass_editing/__init__.py b/mass_editing/__init__.py index 02cc628..f232425 100644 --- a/mass_editing/__init__.py +++ b/mass_editing/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) +# © 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import models diff --git a/mass_editing/__manifest__.py b/mass_editing/__manifest__.py index a32598c..b8d4ab2 100644 --- a/mass_editing/__manifest__.py +++ b/mass_editing/__manifest__.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) +# © 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - { 'name': 'Mass Editing', 'version': '10.0.1.0.0', diff --git a/mass_editing/hooks.py b/mass_editing/hooks.py index 2460df7..0b81f68 100644 --- a/mass_editing/hooks.py +++ b/mass_editing/hooks.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +# © 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). def uninstall_hook(cr, registry): diff --git a/mass_editing/i18n/ar.po b/mass_editing/i18n/ar.po index 8df879f..e377ee5 100644 --- a/mass_editing/i18n/ar.po +++ b/mass_editing/i18n/ar.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -48,6 +48,11 @@ msgstr "أنشئ في" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name msgid "Display Name" msgstr "اسم العرض" @@ -60,6 +65,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +119,7 @@ msgid "Model" msgstr "النموذج" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/bg.po b/mass_editing/i18n/bg.po index 6066c69..3a55b1c 100644 --- a/mass_editing/i18n/bg.po +++ b/mass_editing/i18n/bg.po @@ -3,14 +3,14 @@ # * mass_editing # # Translators: -# OCA Transbot , 2017 +# OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 9.0c\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-02-22 00:55+0000\n" -"PO-Revision-Date: 2017-02-22 00:55+0000\n" -"Last-Translator: OCA Transbot , 2017\n" +"POT-Creation-Date: 2016-09-10 02:53+0000\n" +"PO-Revision-Date: 2016-09-10 02:53+0000\n" +"Last-Translator: OCA Transbot , 2016\n" "Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -52,6 +52,11 @@ msgstr "Създадено на" msgid "Display Name" msgstr "Име за показване" +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "" @@ -60,6 +65,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +119,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/bs.po b/mass_editing/i18n/bs.po index d6b3190..030edcc 100644 --- a/mass_editing/i18n/bs.po +++ b/mass_editing/i18n/bs.po @@ -19,7 +19,7 @@ msgstr "" "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: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Kreirao" msgid "Created on" msgstr "Kreirano" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/ca.po b/mass_editing/i18n/ca.po index 18a0b13..d74418f 100644 --- a/mass_editing/i18n/ca.po +++ b/mass_editing/i18n/ca.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Creat per" msgid "Created on" msgstr "Creat el" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "Model" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/cs.po b/mass_editing/i18n/cs.po index 2e4e8a2..11caa6d 100644 --- a/mass_editing/i18n/cs.po +++ b/mass_editing/i18n/cs.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Vytvořil(a)" msgid "Created on" msgstr "Vytvořeno" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/da.po b/mass_editing/i18n/da.po index 5034d2a..bf1bee7 100644 --- a/mass_editing/i18n/da.po +++ b/mass_editing/i18n/da.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "%s (kopi)" @@ -46,6 +46,12 @@ msgstr "Oprettet af" msgid "Created on" msgstr "Oprettet den" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/de.po b/mass_editing/i18n/de.po index 4e671e7..a53b791 100644 --- a/mass_editing/i18n/de.po +++ b/mass_editing/i18n/de.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "%s (Kopie)" @@ -47,6 +47,12 @@ msgstr "Erstellt von" msgid "Created on" msgstr "Erstellt am:" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "Löschen des Datensatzes fehlgeschlagen." + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -114,7 +120,7 @@ msgid "Model" msgstr "Modell" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "Modell-Liste" diff --git a/mass_editing/i18n/en_GB.po b/mass_editing/i18n/en_GB.po index 016c5e0..9a20222 100644 --- a/mass_editing/i18n/en_GB.po +++ b/mass_editing/i18n/en_GB.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Created by" msgid "Created on" msgstr "Created on" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/es.po b/mass_editing/i18n/es.po index ffab6dc..8fe8ea0 100644 --- a/mass_editing/i18n/es.po +++ b/mass_editing/i18n/es.po @@ -20,10 +20,10 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" -msgstr "%s (copia)" +msgstr "" #. module: mass_editing #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form @@ -47,6 +47,12 @@ msgstr "Creado por" msgid "Created on" msgstr "Creado en" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "Borrado del registro de la acción fallido" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -63,6 +69,7 @@ msgstr "" "abrir un asistente de composición" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -116,7 +123,7 @@ msgid "Model" msgstr "Modelo" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "Lista de modelos" diff --git a/mass_editing/i18n/es_AR.po b/mass_editing/i18n/es_AR.po index 8874b9a..0fb65c2 100644 --- a/mass_editing/i18n/es_AR.po +++ b/mass_editing/i18n/es_AR.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Creado por" msgid "Created on" msgstr "Creado en" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/es_CO.po b/mass_editing/i18n/es_CO.po index 556ee84..1778063 100644 --- a/mass_editing/i18n/es_CO.po +++ b/mass_editing/i18n/es_CO.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -60,6 +60,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +114,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/es_DO.po b/mass_editing/i18n/es_DO.po index 499f98e..698397e 100644 --- a/mass_editing/i18n/es_DO.po +++ b/mass_editing/i18n/es_DO.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -60,6 +60,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +114,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/es_EC.po b/mass_editing/i18n/es_EC.po index 7d78a6a..708de04 100644 --- a/mass_editing/i18n/es_EC.po +++ b/mass_editing/i18n/es_EC.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -60,6 +60,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +114,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/es_MX.po b/mass_editing/i18n/es_MX.po index 147352c..9131be6 100644 --- a/mass_editing/i18n/es_MX.po +++ b/mass_editing/i18n/es_MX.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Creado por" msgid "Created on" msgstr "Creado en" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "Modelo" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/es_PY.po b/mass_editing/i18n/es_PY.po index 6a8cacb..824de38 100644 --- a/mass_editing/i18n/es_PY.po +++ b/mass_editing/i18n/es_PY.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -60,6 +60,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +114,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/es_VE.po b/mass_editing/i18n/es_VE.po index f0a3e46..31d27a7 100644 --- a/mass_editing/i18n/es_VE.po +++ b/mass_editing/i18n/es_VE.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Creado por" msgid "Created on" msgstr "Creado en" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/et.po b/mass_editing/i18n/et.po index e3d7c3a..317476b 100644 --- a/mass_editing/i18n/et.po +++ b/mass_editing/i18n/et.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Loonud" msgid "Created on" msgstr "Loodud" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/eu.po b/mass_editing/i18n/eu.po index 6cfc89f..436bc00 100644 --- a/mass_editing/i18n/eu.po +++ b/mass_editing/i18n/eu.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -60,6 +60,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -81,13 +82,13 @@ msgstr "" #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_object_write_uid msgid "Last Updated by" -msgstr "Last Updated by" +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_object_write_date msgid "Last Updated on" -msgstr "Last Updated on" +msgstr "" #. module: mass_editing #: model:ir.actions.act_window,name:mass_editing.action_mass_object_form @@ -113,7 +114,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/fa.po b/mass_editing/i18n/fa.po index 1360292..46a3120 100644 --- a/mass_editing/i18n/fa.po +++ b/mass_editing/i18n/fa.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "ایجاد شده توسط" msgid "Created on" msgstr "ایجاد شده در" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/fi.po b/mass_editing/i18n/fi.po index f75abe1..2f75ee8 100644 --- a/mass_editing/i18n/fi.po +++ b/mass_editing/i18n/fi.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Luonut" msgid "Created on" msgstr "Luotu" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "Toiminnon poistaminen ei onnistunut." + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -62,6 +68,7 @@ msgstr "" "toiminnon" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -115,7 +122,7 @@ msgid "Model" msgstr "Mall" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "Lista malleista" diff --git a/mass_editing/i18n/fr.po b/mass_editing/i18n/fr.po index 75216fa..5f363e4 100644 --- a/mass_editing/i18n/fr.po +++ b/mass_editing/i18n/fr.po @@ -19,10 +19,10 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" -msgstr "%s (copie)" +msgstr "" #. module: mass_editing #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form @@ -46,6 +46,12 @@ msgstr "Créé par" msgid "Created on" msgstr "Date" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "La suppression de l'enregistrement de l'action a échoué." + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "Modèle" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/fr_CA.po b/mass_editing/i18n/fr_CA.po index 0d3daef..f15bea6 100644 --- a/mass_editing/i18n/fr_CA.po +++ b/mass_editing/i18n/fr_CA.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -27,7 +27,7 @@ msgstr "" #. module: mass_editing #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Add Sidebar Button" -msgstr "" +msgstr "Ajouter bouton au menu latéral" #. module: mass_editing #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form @@ -38,19 +38,25 @@ msgstr "Avancé" #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_create_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_object_create_uid msgid "Created by" -msgstr "Créé par" +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_create_date #: model:ir.model.fields,field_description:mass_editing.field_mass_object_create_date msgid "Created on" -msgstr "Créé le" +msgstr "" + +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "Échec de la suppression de l'enregistrement de l'action" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name msgid "Display Name" -msgstr "Afficher le nom" +msgstr "" #. module: mass_editing #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form @@ -62,6 +68,7 @@ msgstr "" "un assistant de rédaction" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -71,7 +78,7 @@ msgstr "Champs" #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_id #: model:ir.model.fields,field_description:mass_editing.field_mass_object_id msgid "ID" -msgstr "Identifiant" +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard___last_update @@ -83,13 +90,13 @@ msgstr "" #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_object_write_uid msgid "Last Updated by" -msgstr "Dernière mise à jour par" +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_write_date #: model:ir.model.fields,field_description:mass_editing.field_mass_object_write_date msgid "Last Updated on" -msgstr "Dernière mise à jour le" +msgstr "" #. module: mass_editing #: model:ir.actions.act_window,name:mass_editing.action_mass_object_form @@ -107,7 +114,7 @@ msgstr "Édition en lot (%s)" #. module: mass_editing #: model:ir.model,name:mass_editing.model_mass_object msgid "Mass Editing Object" -msgstr "" +msgstr "Objet d'édition en lot" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_id @@ -115,9 +122,9 @@ msgid "Model" msgstr "Modèle" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" -msgstr "" +msgstr "Liste de modèles" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_object_model_id @@ -147,7 +154,7 @@ msgstr "Objet" #. module: mass_editing #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Remove Sidebar Button" -msgstr "" +msgstr "Enlever bouton au menu latéral" #. module: mass_editing #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form @@ -157,7 +164,7 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_object_ref_ir_act_window_id msgid "Sidebar action" -msgstr "" +msgstr "Action de menu latéral" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_object_ref_ir_act_window_id diff --git a/mass_editing/i18n/fr_CH.po b/mass_editing/i18n/fr_CH.po index e48c760..bcda8f2 100644 --- a/mass_editing/i18n/fr_CH.po +++ b/mass_editing/i18n/fr_CH.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Créé par" msgid "Created on" msgstr "Créé le" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/he.po b/mass_editing/i18n/he.po index 06f9ba7..ad12192 100644 --- a/mass_editing/i18n/he.po +++ b/mass_editing/i18n/he.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "נוצר על ידי" msgid "Created on" msgstr "נוצר ב-" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/hr.po b/mass_editing/i18n/hr.po index 79cb087..a9be406 100644 --- a/mass_editing/i18n/hr.po +++ b/mass_editing/i18n/hr.po @@ -20,7 +20,7 @@ msgstr "" "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: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "%s (kopija)" @@ -47,6 +47,12 @@ msgstr "Kreirao" msgid "Created on" msgstr "Kreirano " +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -63,6 +69,7 @@ msgstr "" "čarobnjaka." #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -116,7 +123,7 @@ msgid "Model" msgstr "Model" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "Popis modela" diff --git a/mass_editing/i18n/hu.po b/mass_editing/i18n/hu.po index 7916b0f..2ce84c0 100644 --- a/mass_editing/i18n/hu.po +++ b/mass_editing/i18n/hu.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Készítette" msgid "Created on" msgstr "Létrehozás dátuma" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "Modell, minta" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/id.po b/mass_editing/i18n/id.po index d20d636..44439da 100644 --- a/mass_editing/i18n/id.po +++ b/mass_editing/i18n/id.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Dibuat oleh" msgid "Created on" msgstr "Dibuat pada" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/it.po b/mass_editing/i18n/it.po index eb280eb..db50931 100644 --- a/mass_editing/i18n/it.po +++ b/mass_editing/i18n/it.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -60,6 +60,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +114,7 @@ msgid "Model" msgstr "Modello" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/ja.po b/mass_editing/i18n/ja.po index de85604..9f5b4a2 100644 --- a/mass_editing/i18n/ja.po +++ b/mass_editing/i18n/ja.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "作成者" msgid "Created on" msgstr "作成日" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/ko.po b/mass_editing/i18n/ko.po index 2528f68..8639e16 100644 --- a/mass_editing/i18n/ko.po +++ b/mass_editing/i18n/ko.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "작성자" msgid "Created on" msgstr "작성일" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/lt.po b/mass_editing/i18n/lt.po index e4e8e69..6c329c9 100644 --- a/mass_editing/i18n/lt.po +++ b/mass_editing/i18n/lt.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Sukūrė" msgid "Created on" msgstr "Sukurta" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/mk.po b/mass_editing/i18n/mk.po index f46ed11..edbce45 100644 --- a/mass_editing/i18n/mk.po +++ b/mass_editing/i18n/mk.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Креирано од" msgid "Created on" msgstr "Креирано на" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/mn.po b/mass_editing/i18n/mn.po index 178e16b..e5f8220 100644 --- a/mass_editing/i18n/mn.po +++ b/mass_editing/i18n/mn.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Үүсгэгч" msgid "Created on" msgstr "Үүсгэсэн огноо" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/nb.po b/mass_editing/i18n/nb.po index 490e774..c66c775 100644 --- a/mass_editing/i18n/nb.po +++ b/mass_editing/i18n/nb.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Opprettet av" msgid "Created on" msgstr "Opprettet" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/nl.po b/mass_editing/i18n/nl.po index 8072cfa..c01f8a0 100644 --- a/mass_editing/i18n/nl.po +++ b/mass_editing/i18n/nl.po @@ -19,10 +19,10 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" -msgstr "%s (kopie)" +msgstr "" #. module: mass_editing #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form @@ -46,6 +46,12 @@ msgstr "Aangemaakt door" msgid "Created on" msgstr "Aangemaakt op" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "Model" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/nl_BE.po b/mass_editing/i18n/nl_BE.po index 91304bf..b4c0f47 100644 --- a/mass_editing/i18n/nl_BE.po +++ b/mass_editing/i18n/nl_BE.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Gemaakt door" msgid "Created on" msgstr "Gemaakt op" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/pl.po b/mass_editing/i18n/pl.po index a233e4e..038b90c 100644 --- a/mass_editing/i18n/pl.po +++ b/mass_editing/i18n/pl.po @@ -16,10 +16,10 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Language: pl\n" -"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>=14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Utworzone przez" msgid "Created on" msgstr "Data utworzenia" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/pt.po b/mass_editing/i18n/pt.po index 69dfc26..b998e2e 100644 --- a/mass_editing/i18n/pt.po +++ b/mass_editing/i18n/pt.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Criado por" msgid "Created on" msgstr "Criado em" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "Falhou a eliminação do registo da ação " + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -62,6 +68,7 @@ msgstr "" "assistente de composição" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -115,7 +122,7 @@ msgid "Model" msgstr "Modelo" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "Lista de Modelos" diff --git a/mass_editing/i18n/pt_BR.po b/mass_editing/i18n/pt_BR.po index 1c8bf33..bdadbe4 100644 --- a/mass_editing/i18n/pt_BR.po +++ b/mass_editing/i18n/pt_BR.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Criado por" msgid "Created on" msgstr "Criado em" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "A ação de excluir o registro falhou." #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "Modelo" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "Lista de Modelos" diff --git a/mass_editing/i18n/pt_PT.po b/mass_editing/i18n/pt_PT.po index f59a5a2..58c3a1a 100644 --- a/mass_editing/i18n/pt_PT.po +++ b/mass_editing/i18n/pt_PT.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Criado por" msgid "Created on" msgstr "Criado em" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "Falhou a eliminação do registo da ação " + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -62,6 +68,7 @@ msgstr "" "assistente de composição" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -115,7 +122,7 @@ msgid "Model" msgstr "Modelo" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "Lista de Modelos" diff --git a/mass_editing/i18n/ru.po b/mass_editing/i18n/ru.po index 27be9be..1f5d83a 100644 --- a/mass_editing/i18n/ru.po +++ b/mass_editing/i18n/ru.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -60,6 +60,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +114,7 @@ msgid "Model" msgstr "Модель" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/sk.po b/mass_editing/i18n/sk.po index 7020a14..63c920b 100644 --- a/mass_editing/i18n/sk.po +++ b/mass_editing/i18n/sk.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Vytvoril" msgid "Created on" msgstr "Vytvorené" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/sl.po b/mass_editing/i18n/sl.po index 6409a9e..4476e1c 100644 --- a/mass_editing/i18n/sl.po +++ b/mass_editing/i18n/sl.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Ustvaril" msgid "Created on" msgstr "Ustvarjeno" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "Izbris zapisa dejanja ni uspel." + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -62,6 +68,7 @@ msgstr "" "urejanje" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -115,7 +122,7 @@ msgid "Model" msgstr "Model" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "Seznam modelov" diff --git a/mass_editing/i18n/sr.po b/mass_editing/i18n/sr.po index 5e2bb23..ea1bb8b 100644 --- a/mass_editing/i18n/sr.po +++ b/mass_editing/i18n/sr.po @@ -19,7 +19,7 @@ msgstr "" "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: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "" msgid "Created on" msgstr "Kreiran" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/sr@latin.po b/mass_editing/i18n/sr@latin.po index 8bb8582..3a09cc1 100644 --- a/mass_editing/i18n/sr@latin.po +++ b/mass_editing/i18n/sr@latin.po @@ -19,7 +19,7 @@ msgstr "" "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: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Kreirao" msgid "Created on" msgstr "Kreiran" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,9 +120,8 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" -msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_object_model_id @@ -127,7 +133,7 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_object_name msgid "Name" -msgstr "Ime:" +msgstr "" #. module: mass_editing #: code:addons/mass_editing/models/mass_object.py:34 diff --git a/mass_editing/i18n/sv.po b/mass_editing/i18n/sv.po index a4f3749..0788c88 100644 --- a/mass_editing/i18n/sv.po +++ b/mass_editing/i18n/sv.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Skapad av" msgid "Created on" msgstr "Skapad den" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,9 +120,8 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" -msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_object_model_id @@ -127,7 +133,7 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_object_name msgid "Name" -msgstr "Namn" +msgstr "" #. module: mass_editing #: code:addons/mass_editing/models/mass_object.py:34 diff --git a/mass_editing/i18n/th.po b/mass_editing/i18n/th.po index 2762d7f..172cad3 100644 --- a/mass_editing/i18n/th.po +++ b/mass_editing/i18n/th.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "สร้างโดย" msgid "Created on" msgstr "สร้างเมื่อ" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,9 +120,8 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" -msgstr "" #. module: mass_editing #: model:ir.model.fields,help:mass_editing.field_mass_object_model_id @@ -127,7 +133,7 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_object_name msgid "Name" -msgstr "ชื่อ" +msgstr "" #. module: mass_editing #: code:addons/mass_editing/models/mass_object.py:34 diff --git a/mass_editing/i18n/tr.po b/mass_editing/i18n/tr.po index 0831dbf..1efc24d 100644 --- a/mass_editing/i18n/tr.po +++ b/mass_editing/i18n/tr.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Oluşturan" msgid "Created on" msgstr "Oluşturuldu" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "eylem kaydı silinemedi." + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -62,6 +68,7 @@ msgstr "" "ekler." #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -115,7 +122,7 @@ msgid "Model" msgstr "Model" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "Model Listesi" diff --git a/mass_editing/i18n/uk.po b/mass_editing/i18n/uk.po index ecc0e53..a024a31 100644 --- a/mass_editing/i18n/uk.po +++ b/mass_editing/i18n/uk.po @@ -19,10 +19,10 @@ msgstr "" "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: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" -msgstr "" +msgstr "%s (copy)" #. module: mass_editing #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form @@ -46,11 +46,17 @@ msgstr "Створив" msgid "Created on" msgstr "Створено" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name msgid "Display Name" -msgstr "Назва для відображення" +msgstr "" #. module: mass_editing #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" @@ -127,7 +134,7 @@ msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_object_name msgid "Name" -msgstr "Name" +msgstr "" #. module: mass_editing #: code:addons/mass_editing/models/mass_object.py:34 diff --git a/mass_editing/i18n/vi.po b/mass_editing/i18n/vi.po index 624bb61..11eb8f6 100644 --- a/mass_editing/i18n/vi.po +++ b/mass_editing/i18n/vi.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "Được tạo bởi" msgid "Created on" msgstr "Tạo trên" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -81,7 +88,7 @@ msgstr "Sửa lần cuối vào" #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_write_uid #: model:ir.model.fields,field_description:mass_editing.field_mass_object_write_uid msgid "Last Updated by" -msgstr "Last Updated by" +msgstr "" #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_write_date @@ -113,7 +120,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/i18n/zh_TW.po b/mass_editing/i18n/zh_TW.po index 440ea22..7e77458 100644 --- a/mass_editing/i18n/zh_TW.po +++ b/mass_editing/i18n/zh_TW.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: mass_editing -#: code:addons/mass_editing/models/mass_object.py:100 +#: code:addons/mass_editing/models/mass_object.py:101 #, python-format msgid "%s (copy)" msgstr "" @@ -46,6 +46,12 @@ msgstr "建立者" msgid "Created on" msgstr "建立於" +#. module: mass_editing +#: code:addons/mass_editing/models/mass_object.py:89 +#, python-format +msgid "Deletion of the action record failed." +msgstr "" + #. module: mass_editing #: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name #: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name @@ -60,6 +66,7 @@ msgid "" msgstr "" #. module: mass_editing +#: model:ir.model,name:mass_editing.model_ir_model_fields #: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids #: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form msgid "Fields" @@ -113,7 +120,7 @@ msgid "Model" msgstr "" #. module: mass_editing -#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_ids +#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list msgid "Model List" msgstr "" diff --git a/mass_editing/models/__init__.py b/mass_editing/models/__init__.py index 7bd9dc7..28f986c 100644 --- a/mass_editing/models/__init__.py +++ b/mass_editing/models/__init__.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) +# © 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +from . import ir_model_fields from . import mass_object diff --git a/mass_editing/models/ir_model_fields.py b/mass_editing/models/ir_model_fields.py new file mode 100644 index 0000000..d22867e --- /dev/null +++ b/mass_editing/models/ir_model_fields.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +# © 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import api, models + + +class IrModelFields(models.Model): + _inherit = 'ir.model.fields' + + @api.model + def search(self, args, offset=0, limit=0, order=None, count=False): + model_domain = [] + for domain in args: + if (len(domain) > 2 and domain[0] == 'model_id' and + isinstance(domain[2], basestring) and + list(domain[2][1:-1])): + model_domain += [('model_id', 'in', + map(int, domain[2][1:-1].split(',')))] + else: + model_domain.append(domain) + return super(IrModelFields, self).search(model_domain, offset=offset, + limit=limit, order=order, + count=count) diff --git a/mass_editing/models/mass_object.py b/mass_editing/models/mass_object.py index ec5a747..80d07e6 100644 --- a/mass_editing/models/mass_object.py +++ b/mass_editing/models/mass_object.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) +# © 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import api, fields, models, _ @@ -27,8 +27,7 @@ class MassObject(models.Model): readonly=True, help="Sidebar button to open " "the sidebar action.") - model_ids = fields.Many2many('ir.model', 'mass_model_rel', - 'mass_id', 'model_id', 'Model List') + model_list = fields.Char('Model List') _sql_constraints = [ ('name_uniq', 'unique (name)', _('Name must be unique!')), @@ -37,17 +36,17 @@ class MassObject(models.Model): @api.onchange('model_id') def _onchange_model_id(self): self.field_ids = [(6, 0, [])] - model_ids = [] + model_list = [] if self.model_id: model_obj = self.env['ir.model'] - model_ids = [self.model_id.id] + model_list = [self.model_id.id] active_model_obj = self.env[self.model_id.model] if active_model_obj._inherits: keys = active_model_obj._inherits.keys() - inherits_model_ids = model_obj.search([('model', 'in', keys)]) - model_ids.extend((inherits_model_ids and - inherits_model_ids.ids or [])) - self.model_ids = [(6, 0, model_ids)] + inherits_model_list = model_obj.search([('model', 'in', keys)]) + model_list.extend((inherits_model_list and + inherits_model_list.ids or [])) + self.model_list = model_list @api.multi def create_action(self): @@ -63,9 +62,8 @@ class MassObject(models.Model): 'src_model': src_obj, 'view_type': 'form', 'context': "{'mass_editing_object' : %d}" % (self.id), - 'view_mode': 'form,tree', + 'view_mode': 'form, tree', 'target': 'new', - 'auto_refresh': 1, }).id # We make sudo as any user with rights in this model should be able # to create the action, not only admin @@ -92,7 +90,6 @@ class MassObject(models.Model): self.unlink_action() return super(MassObject, self).unlink() - @api.multi @api.returns('self', lambda value: value.id) def copy(self, default=None): if default is None: diff --git a/mass_editing/tests/__init__.py b/mass_editing/tests/__init__.py index de6c4ce..15099e1 100644 --- a/mass_editing/tests/__init__.py +++ b/mass_editing/tests/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) +# © 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import test_mass_editing diff --git a/mass_editing/tests/test_mass_editing.py b/mass_editing/tests/test_mass_editing.py index fb89fbd..7ec719a 100644 --- a/mass_editing/tests/test_mass_editing.py +++ b/mass_editing/tests/test_mass_editing.py @@ -1,7 +1,9 @@ # -*- coding: utf-8 -*- -# Copyright 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) +# © 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +import ast + from odoo.tests import common from odoo.modules import registry from odoo.addons.mass_editing.hooks import uninstall_hook @@ -78,17 +80,14 @@ class TestMassEditing(common.TransactionCase): result = self.mass_wiz_obj.with_context(ctx).fields_view_get() self.assertTrue(result.get('arch'), 'Fields view get must return architecture.') - fields = result.get("fields") - self.assertTrue(fields) - for name, values in fields.items(): - self.assertTrue(isinstance(values["views"], dict)) def test_onchange_model(self): """Test whether onchange model_id returns model_id in list""" new_mass = self.mass_object_model.new({'model_id': self.user_model.id}) new_mass._onchange_model_id() - self.assertTrue(self.user_model.id in new_mass.model_ids.ids, - 'Onchange model ids must contains model_id.') + model_list = ast.literal_eval(new_mass.model_list) + self.assertTrue(self.user_model.id in model_list, + 'Onchange model list must contains model_id.') def test_mass_edit_email(self): """Test Case for MASS EDITING which will remove and after add diff --git a/mass_editing/views/mass_editing_view.xml b/mass_editing/views/mass_editing_view.xml index fcb61c1..326ad8c 100644 --- a/mass_editing/views/mass_editing_view.xml +++ b/mass_editing/views/mass_editing_view.xml @@ -6,23 +6,6 @@ mass.object
-
-
- - + +
+ domain="[('ttype', 'not in', ['reference', 'function']), ('model_id', 'in', model_list)]"/> diff --git a/mass_editing/wizard/__init__.py b/mass_editing/wizard/__init__.py index 2429cbd..ecfaa57 100644 --- a/mass_editing/wizard/__init__.py +++ b/mass_editing/wizard/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) +# © 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import mass_editing_wizard diff --git a/mass_editing/wizard/mass_editing_wizard.py b/mass_editing/wizard/mass_editing_wizard.py index 17dc3f5..bee0ab2 100644 --- a/mass_editing/wizard/mass_editing_wizard.py +++ b/mass_editing/wizard/mass_editing_wizard.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- -# Copyright 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) +# © 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from lxml import etree -import openerp.tools as tools +import odoo.tools as tools from odoo import api, models