Skip to content

Commit

Permalink
Merge pull request #1449 from OCA/14.0
Browse files Browse the repository at this point in the history
Syncing from upstream OCA/server-tools (14.0)
  • Loading branch information
bt-admin authored Feb 6, 2024
2 parents a18bff6 + f60ecd7 commit c3beb93
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 19 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ addon | version | maintainers | summary
[configuration_helper](configuration_helper/) | 14.0.1.0.1 | | Configuration Helper
[database_cleanup](database_cleanup/) | 14.0.1.0.3 | | Database cleanup
[datetime_formatter](datetime_formatter/) | 14.0.1.0.0 | | Helper functions to give correct format to date[time] fields
[dbfilter_from_header](dbfilter_from_header/) | 14.0.1.0.0 | | Filter databases with HTTP headers
[dbfilter_from_header](dbfilter_from_header/) | 14.0.1.0.1 | | Filter databases with HTTP headers
[excel_import_export](excel_import_export/) | 14.0.1.1.2 | [![kittiu](https://github.com/kittiu.png?size=30px)](https://github.com/kittiu) | Base module for developing Excel import/export/report
[excel_import_export_demo](excel_import_export_demo/) | 14.0.1.0.0 | [![kittiu](https://github.com/kittiu.png?size=30px)](https://github.com/kittiu) | Excel Import/Export/Report Demo
[fetchmail_incoming_log](fetchmail_incoming_log/) | 14.0.1.0.0 | | Log all messages received, before they start to be processed.
Expand Down
2 changes: 1 addition & 1 deletion dbfilter_from_header/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dbfilter_from_header
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:733f4aa923aeefbfd9cb9abe06efc7b5b7e51827435fa6589042cdc898de92d2
!! source digest: sha256:3f8b47938d8c0814fb7c6b6b4de1857d332f7558a500851d176839f0424e77c2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down
2 changes: 1 addition & 1 deletion dbfilter_from_header/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{
"name": "dbfilter_from_header",
"summary": "Filter databases with HTTP headers",
"version": "14.0.1.0.0",
"version": "14.0.1.0.1",
"website": "https://github.com/OCA/server-tools",
"author": "Therp BV, Odoo Community Association (OCA)",
"license": "AGPL-3",
Expand Down
4 changes: 3 additions & 1 deletion dbfilter_from_header/override.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@


def db_filter(dbs, httprequest=None):
dbs = db_filter_org(dbs, httprequest)
dbs_orig = db_filter_org(dbs, httprequest)
httprequest = httprequest or http.request.httprequest
db_filter_hdr = httprequest.environ.get("HTTP_X_ODOO_DBFILTER")
if db_filter_hdr:
dbs = [db for db in dbs if re.match(db_filter_hdr, db)]
else:
dbs = dbs_orig
return dbs


Expand Down
3 changes: 1 addition & 2 deletions dbfilter_from_header/static/description/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
Expand Down Expand Up @@ -367,7 +366,7 @@ <h1 class="title">dbfilter_from_header</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:733f4aa923aeefbfd9cb9abe06efc7b5b7e51827435fa6589042cdc898de92d2
!! source digest: sha256:3f8b47938d8c0814fb7c6b6b4de1857d332f7558a500851d176839f0424e77c2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/server-tools/tree/14.0/dbfilter_from_header"><img alt="OCA/server-tools" src="https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-dbfilter_from_header"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/server-tools&amp;target_branch=14.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This addon lets you pass a dbfilter as a HTTP header.</p>
Expand Down
4 changes: 2 additions & 2 deletions excel_import_export/i18n/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-01-08 17:35+0000\n"
"PO-Revision-Date: 2024-02-05 06:37+0000\n"
"Last-Translator: mymage <[email protected]>\n"
"Language-Team: none\n"
"Language: it\n"
Expand Down Expand Up @@ -335,7 +335,7 @@ msgstr "Consente selezione modello"
#: model:ir.model.fields,field_description:excel_import_export.field_xlsx_template_export__assigned_attachment_ids
#: model:ir.model.fields,field_description:excel_import_export.field_xlsx_template_import__assigned_attachment_ids
msgid "Assigned Attachments"
msgstr "Allegati Assegnati"
msgstr "Allegati assegnati"

#. module: excel_import_export
#: model:ir.model,name:excel_import_export.model_xlsx_styles
Expand Down
10 changes: 5 additions & 5 deletions fetchmail_notify_error_to_sender/i18n/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-01-06 02:25+0000\n"
"PO-Revision-Date: 2023-12-24 19:42+0000\n"
"PO-Revision-Date: 2024-02-05 09:36+0000\n"
"Last-Translator: mymage <[email protected]>\n"
"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n"
"Language: it\n"
Expand Down Expand Up @@ -50,7 +50,7 @@ msgstr ""
#: model:ir.model.fields,field_description:fetchmail_notify_error_to_sender.field_fetchmail_server__display_name
#: model:ir.model.fields,field_description:fetchmail_notify_error_to_sender.field_mail_thread__display_name
msgid "Display Name"
msgstr ""
msgstr "Nome visualizzato"

#. module: fetchmail_notify_error_to_sender
#: model:ir.model,name:fetchmail_notify_error_to_sender.model_mail_thread
Expand All @@ -66,18 +66,18 @@ msgstr "Template Notifica Errore"
#: model:ir.model.fields,field_description:fetchmail_notify_error_to_sender.field_fetchmail_server__id
#: model:ir.model.fields,field_description:fetchmail_notify_error_to_sender.field_mail_thread__id
msgid "ID"
msgstr ""
msgstr "ID"

#. module: fetchmail_notify_error_to_sender
#: model:ir.model,name:fetchmail_notify_error_to_sender.model_fetchmail_server
msgid "Incoming Mail Server"
msgstr ""
msgstr "Server di posta in arrivo"

#. module: fetchmail_notify_error_to_sender
#: model:ir.model.fields,field_description:fetchmail_notify_error_to_sender.field_fetchmail_server____last_update
#: model:ir.model.fields,field_description:fetchmail_notify_error_to_sender.field_mail_thread____last_update
msgid "Last Modified on"
msgstr ""
msgstr "Ultima modifica il"

#. module: fetchmail_notify_error_to_sender
#: model:mail.template,subject:fetchmail_notify_error_to_sender.email_template_error_notice
Expand Down
6 changes: 3 additions & 3 deletions model_read_only/i18n/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-12-01 00:53+0000\n"
"Last-Translator: Francesco Foresti <[email protected]>\n"
"PO-Revision-Date: 2024-02-05 09:36+0000\n"
"Last-Translator: mymage <[email protected]>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -88,7 +88,7 @@ msgstr "Modello"
#. module: model_read_only
#: model:ir.model,name:model_read_only.model_model_readonly_restriction
msgid "Model Readonly Restriction"
msgstr ""
msgstr "Restrizione solo lettura modello"

#. module: model_read_only
#: model:ir.model,name:model_read_only.model_ir_model
Expand Down
6 changes: 3 additions & 3 deletions module_analysis/i18n/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-02 17:38+0000\n"
"Last-Translator: Francesco Foresti <[email protected]>\n"
"PO-Revision-Date: 2024-02-05 09:36+0000\n"
"Last-Translator: mymage <[email protected]>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -229,7 +229,7 @@ msgstr "Aggiorna Modulo"
#: model:ir.cron,cron_name:module_analysis.cron_module_analysis
#: model:ir.cron,name:module_analysis.cron_module_analysis
msgid "Update Module Analysis"
msgstr ""
msgstr "Aggorna analisi modulo"

#. module: module_analysis
#: model:ir.model.fields,field_description:module_analysis.field_ir_module_module__xml_code_qty
Expand Down

0 comments on commit c3beb93

Please sign in to comment.