From 006b537876f2156520827bb9f199a14918f94d89 Mon Sep 17 00:00:00 2001 From: Flectra Community Bot Date: Sun, 5 Dec 2021 03:14:22 +0000 Subject: [PATCH] Automatic Update form OCA2FC Migrator --- README.md | 4 +- base_optional_quick_create/i18n/it.po | 12 +- base_search_custom_field_filter/i18n/it.po | 114 +++++++++++++ base_technical_features/__manifest__.py | 2 +- base_technical_features/models/res_users.py | 8 +- date_range/COPYRIGHT | 1 + date_range/README.rst | 31 ++++ date_range/__manifest__.py | 7 +- date_range/i18n/am.po | 19 +++ date_range/i18n/ar.po | 19 +++ date_range/i18n/bg.po | 19 +++ date_range/i18n/bs.po | 19 +++ date_range/i18n/ca.po | 19 +++ date_range/i18n/ca_ES.po | 19 +++ date_range/i18n/cs.po | 19 +++ date_range/i18n/da.po | 19 +++ date_range/i18n/date_range.pot | 20 +++ date_range/i18n/de.po | 19 +++ date_range/i18n/el_GR.po | 19 +++ date_range/i18n/en_AU.po | 19 +++ date_range/i18n/en_GB.po | 19 +++ date_range/i18n/es.po | 19 +++ date_range/i18n/es_AR.po | 19 +++ date_range/i18n/es_CL.po | 19 +++ date_range/i18n/es_CO.po | 19 +++ date_range/i18n/es_CR.po | 19 +++ date_range/i18n/es_DO.po | 19 +++ date_range/i18n/es_EC.po | 19 +++ date_range/i18n/es_ES.po | 19 +++ date_range/i18n/es_MX.po | 19 +++ date_range/i18n/es_PE.po | 19 +++ date_range/i18n/es_PY.po | 19 +++ date_range/i18n/es_VE.po | 19 +++ date_range/i18n/et.po | 19 +++ date_range/i18n/eu.po | 19 +++ date_range/i18n/fa.po | 19 +++ date_range/i18n/fi.po | 19 +++ date_range/i18n/fr.po | 19 +++ date_range/i18n/fr_CA.po | 19 +++ date_range/i18n/fr_CH.po | 19 +++ date_range/i18n/fr_FR.po | 19 +++ date_range/i18n/gl.po | 19 +++ date_range/i18n/gl_ES.po | 19 +++ date_range/i18n/he.po | 19 +++ date_range/i18n/hi.po | 19 +++ date_range/i18n/hr.po | 19 +++ date_range/i18n/hr_HR.po | 19 +++ date_range/i18n/hu.po | 19 +++ date_range/i18n/id.po | 19 +++ date_range/i18n/it.po | 19 +++ date_range/i18n/ja.po | 19 +++ date_range/i18n/ko.po | 19 +++ date_range/i18n/lo.po | 19 +++ date_range/i18n/lt.po | 19 +++ date_range/i18n/lt_LT.po | 19 +++ date_range/i18n/lv.po | 19 +++ date_range/i18n/mk.po | 19 +++ date_range/i18n/mn.po | 19 +++ date_range/i18n/nb.po | 19 +++ date_range/i18n/nb_NO.po | 19 +++ date_range/i18n/nl.po | 19 +++ date_range/i18n/nl_BE.po | 19 +++ date_range/i18n/nl_NL.po | 19 +++ date_range/i18n/pl.po | 19 +++ date_range/i18n/pt.po | 19 +++ date_range/i18n/pt_BR.po | 19 +++ date_range/i18n/pt_PT.po | 19 +++ date_range/i18n/ro.po | 19 +++ date_range/i18n/ru.po | 19 +++ date_range/i18n/sk.po | 19 +++ date_range/i18n/sl.po | 19 +++ date_range/i18n/sr.po | 19 +++ date_range/i18n/sr@latin.po | 19 +++ date_range/i18n/sv.po | 19 +++ date_range/i18n/th.po | 19 +++ date_range/i18n/tr.po | 19 +++ date_range/i18n/tr_TR.po | 19 +++ date_range/i18n/uk.po | 19 +++ date_range/i18n/vi.po | 19 +++ date_range/i18n/vi_VN.po | 19 +++ date_range/i18n/zh_CN.po | 19 +++ date_range/i18n/zh_TW.po | 19 +++ date_range/models/__init__.py | 1 + date_range/models/date_range_search_mixin.py | 106 ++++++++++++ .../date_range_many2one_search_field.png | Bin 0 -> 15904 bytes date_range/static/description/index.html | 50 ++++-- date_range/tests/__init__.py | 1 + date_range/tests/models.py | 10 ++ .../tests/test_date_range_search_mixin.py | 155 ++++++++++++++++++ 89 files changed, 1882 insertions(+), 27 deletions(-) create mode 100644 base_search_custom_field_filter/i18n/it.po create mode 100644 date_range/models/date_range_search_mixin.py create mode 100644 date_range/static/description/date_range_many2one_search_field.png create mode 100644 date_range/tests/models.py create mode 100644 date_range/tests/test_date_range_search_mixin.py diff --git a/README.md b/README.md index f242379..cba7e01 100644 --- a/README.md +++ b/README.md @@ -16,12 +16,12 @@ addon | version | summary [sequence_reset_period](sequence_reset_period/) | 2.0.1.0.0| Auto-generate yearly/monthly/weekly/daily sequence period ranges [sequence_check_digit](sequence_check_digit/) | 2.0.1.0.0| Adds a check digit on sequences [base_import_security_group](base_import_security_group/) | 2.0.1.0.0| Group-based permissions for importing CSV files -[date_range](date_range/) | 2.0.2.0.2| Manage all kind of date range +[date_range](date_range/) | 2.0.2.1.0| Manage all kind of date range [base_tier_validation_forward](base_tier_validation_forward/) | 2.0.1.0.2| Forward option for base tiers [base_menu_visibility_restriction](base_menu_visibility_restriction/) | 2.0.1.0.0| Restrict (with groups) menu visibilty [barcode_action](barcode_action/) | 2.0.1.0.0| Allows to use barcodes as a launcher [multi_step_wizard](multi_step_wizard/) | 2.0.1.0.0| Multi-Steps Wizards -[base_technical_features](base_technical_features/) | 2.0.1.1.0| Access to technical features without activating debug mode +[base_technical_features](base_technical_features/) | 2.0.1.1.1| Access to technical features without activating debug mode [base_tier_validation_formula](base_tier_validation_formula/) | 2.0.2.0.1| Formulas for Base tier validation [base_tier_validation](base_tier_validation/) | 2.0.2.7.0| Implement a validation process based on tiers. [base_search_custom_field_filter](base_search_custom_field_filter/) | 2.0.1.0.0| Add custom filters for fields via UI diff --git a/base_optional_quick_create/i18n/it.po b/base_optional_quick_create/i18n/it.po index c898487..2b3590a 100644 --- a/base_optional_quick_create/i18n/it.po +++ b/base_optional_quick_create/i18n/it.po @@ -7,20 +7,20 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0+e\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2018-03-19 17:10+0000\n" -"PO-Revision-Date: 2018-03-19 17:10+0000\n" -"Last-Translator: <>\n" +"PO-Revision-Date: 2021-12-03 12:37+0000\n" +"Last-Translator: Francesco Foresti \n" "Language-Team: \n" -"Language: \n" +"Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" #. module: base_optional_quick_create #: model:ir.model.fields,field_description:base_optional_quick_create.field_ir_model__avoid_quick_create -#, fuzzy msgid "Avoid Quick Create" -msgstr "Evita creazione veloce" +msgstr "Impedisci creazione rapida" #. module: base_optional_quick_create #: code:addons/base_optional_quick_create/models/ir_model.py:21 diff --git a/base_search_custom_field_filter/i18n/it.po b/base_search_custom_field_filter/i18n/it.po new file mode 100644 index 0000000..a7a4ee0 --- /dev/null +++ b/base_search_custom_field_filter/i18n/it.po @@ -0,0 +1,114 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_search_custom_field_filter +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#. module: base_search_custom_field_filter +#: model:ir.model,name:base_search_custom_field_filter.model_base +msgid "Base" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__create_uid +msgid "Created by" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__create_date +msgid "Created on" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.actions.act_window,name:base_search_custom_field_filter.action_ir_ui_custom_field_filter +#: model:ir.ui.menu,name:base_search_custom_field_filter.menu_ir_ui_custom_field_filter +msgid "Custom Field Filters" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model,name:base_search_custom_field_filter.model_ir_ui_custom_field_filter +msgid "Custom UI field filter" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__display_name +msgid "Display Name" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__expression +msgid "Expression" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__id +msgid "ID" +msgstr "" + +#. module: base_search_custom_field_filter +#: code:addons/base_search_custom_field_filter/models/ir_ui_custom_field_filter.py:0 +#, python-format +msgid "Incorrect expression." +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.ui.custom.field.filter,name:base_search_custom_field_filter.custom_field_filter_demo +msgid "Language" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__write_date +msgid "Last Updated on" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__model_id +msgid "Model" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__model_name +msgid "Model name" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__name +msgid "Name" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,help:base_search_custom_field_filter.field_ir_ui_custom_field_filter__position_after +msgid "" +"Optional field name for putting the filter after that one. If empty or not " +"found, it will be put at the end." +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__position_after +msgid "Position After" +msgstr "" + +#. module: base_search_custom_field_filter +#: model:ir.model.fields,field_description:base_search_custom_field_filter.field_ir_ui_custom_field_filter__sequence +msgid "Sequence" +msgstr "" diff --git a/base_technical_features/__manifest__.py b/base_technical_features/__manifest__.py index 83481d4..1b324d4 100644 --- a/base_technical_features/__manifest__.py +++ b/base_technical_features/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Technical features group", "summary": "Access to technical features without activating debug mode", - "version": "2.0.1.1.0", + "version": "2.0.1.1.1", "category": "Usability", "website": "https://gitlab.com/flectra-community/server-ux", "author": "Opener B.V., Odoo Community Association (OCA)", diff --git a/base_technical_features/models/res_users.py b/base_technical_features/models/res_users.py index 8a47a34..ad10916 100644 --- a/base_technical_features/models/res_users.py +++ b/base_technical_features/models/res_users.py @@ -24,16 +24,16 @@ class ResUsers(models.Model): def _compute_show_technical_features(self): """Only display the technical features checkbox in the user preferences if the user has access to them""" - users = self.env.ref("base.group_no_one").users for user in self: - user.show_technical_features = user in users + user.show_technical_features = user.has_group("base.group_no_one") @api.depends("groups_id") def _compute_technical_features(self): """ Map user membership to boolean field value """ - users = self.env.ref("base_technical_features.group_technical_features").users for user in self: - user.technical_features = user in users + user.technical_features = user.has_group( + "base_technical_features.group_technical_features" + ) def _inverse_technical_features(self): """Map boolean field value to group membership, but checking diff --git a/date_range/COPYRIGHT b/date_range/COPYRIGHT index 61b9589..0e4fab7 100644 --- a/date_range/COPYRIGHT +++ b/date_range/COPYRIGHT @@ -6,6 +6,7 @@ Most of the files are