Skip to content

Commit

Permalink
Merge pull request #1458 from OCA/12.0
Browse files Browse the repository at this point in the history
Syncing from upstream OCA/server-tools (12.0)
  • Loading branch information
bt-admin authored Feb 13, 2024
2 parents b426602 + 96db4ee commit 0959b67
Show file tree
Hide file tree
Showing 62 changed files with 3,179 additions and 13 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ addon | version | maintainers | summary
[auditlog](auditlog/) | 12.0.2.1.1 | | Audit Log
[auto_backup](auto_backup/) | 12.0.1.0.1 | | Backups database
[autovacuum_message_attachment](autovacuum_message_attachment/) | 12.0.1.1.1 | | Automatically delete old mail messages and attachments
[base_changeset](base_changeset/) | 12.0.1.1.1 | [![astirpe](https://github.com/astirpe.png?size=30px)](https://github.com/astirpe) | Track record changesets
[base_changeset](base_changeset/) | 12.0.1.1.2 | [![astirpe](https://github.com/astirpe.png?size=30px)](https://github.com/astirpe) | Track record changesets
[base_conditional_image](base_conditional_image/) | 12.0.1.0.2 | | Conditional Images
[base_cron_exclusion](base_cron_exclusion/) | 12.0.1.0.0 | | Allow you to select scheduled actions that should not run simultaneously.
[base_custom_info](base_custom_info/) | 12.0.2.1.0 | | Add custom field in models
Expand All @@ -50,9 +50,10 @@ addon | version | maintainers | summary
[bus_alt_connection](bus_alt_connection/) | 12.0.1.0.0 | | Needed when using PgBouncer as a connection pooler
[company_country](company_country/) | 12.0.1.2.1 | [![moylop260](https://github.com/moylop260.png?size=30px)](https://github.com/moylop260) [![luisg123v](https://github.com/luisg123v.png?size=30px)](https://github.com/luisg123v) | Set country to main company
[configuration_helper](configuration_helper/) | 12.0.1.0.0 | | Configuration Helper
[cron_inactivity_period](cron_inactivity_period/) | 12.0.1.0.0 | | Inactivity Periods for Cron Jobs
[database_cleanup](database_cleanup/) | 12.0.1.2.1 | | Database cleanup
[datetime_formatter](datetime_formatter/) | 12.0.1.0.0 | | Helper functions to give correct format to date[time] fields
[dbfilter_from_header](dbfilter_from_header/) | 12.0.1.0.0 | | Filter databases with HTTP headers
[dbfilter_from_header](dbfilter_from_header/) | 12.0.1.0.1 | | Filter databases with HTTP headers
[excel_import_export](excel_import_export/) | 12.0.1.0.8 | [![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/) | 12.0.1.0.3 | [![kittiu](https://github.com/kittiu.png?size=30px)](https://github.com/kittiu) | Excel Import/Export/Report Demo
[fetchmail_incoming_log](fetchmail_incoming_log/) | 12.0.1.0.0 | | Log all messages received, before they start to be processed.
Expand All @@ -67,6 +68,7 @@ addon | version | maintainers | summary
[module_auto_update](module_auto_update/) | 12.0.2.0.6 | | Automatically update Odoo modules
[module_change_auto_install](module_change_auto_install/) | 12.0.1.0.1 | [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) | Customize auto installables modules by configuration
[onchange_helper](onchange_helper/) | 12.0.1.1.0 | | Technical module that ease execution of onchange in Python code
[profiler](profiler/) | 12.0.1.0.0 | [![thomaspaulb](https://github.com/thomaspaulb.png?size=30px)](https://github.com/thomaspaulb) | profiler
[scheduler_error_mailer](scheduler_error_mailer/) | 12.0.1.2.0 | | Scheduler Error Mailer
[sentry](sentry/) | 12.0.2.0.2 | [![barsi](https://github.com/barsi.png?size=30px)](https://github.com/barsi) [![naglis](https://github.com/naglis.png?size=30px)](https://github.com/naglis) [![versada](https://github.com/versada.png?size=30px)](https://github.com/versada) [![moylop260](https://github.com/moylop260.png?size=30px)](https://github.com/moylop260) [![fernandahf](https://github.com/fernandahf.png?size=30px)](https://github.com/fernandahf) | Report Odoo errors to Sentry
[slow_statement_logger](slow_statement_logger/) | 12.0.1.0.2 | | Log slow SQL statements
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ msgstr ""
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_ir_autovacuum__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_ir_config_parameter__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_ir_cron__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_ir_cron_inactivity_period__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_ir_default__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_ir_demo__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_ir_demo_failure__assigned_attachment_ids
Expand Down Expand Up @@ -290,6 +291,9 @@ msgstr ""
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_product_template_attribute_exclusion__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_product_template_attribute_line__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_product_template_attribute_value__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_profiler_profile__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_profiler_profile_python_line__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_profiler_profile_request_line__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_publisher_warranty_contract__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_record_changeset__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_record_changeset_change__assigned_attachment_ids
Expand Down
4 changes: 4 additions & 0 deletions autovacuum_message_attachment/i18n/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ msgstr "Tous"
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_ir_autovacuum__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_ir_config_parameter__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_ir_cron__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_ir_cron_inactivity_period__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_ir_default__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_ir_demo__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_ir_demo_failure__assigned_attachment_ids
Expand Down Expand Up @@ -293,6 +294,9 @@ msgstr "Tous"
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_product_template_attribute_exclusion__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_product_template_attribute_line__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_product_template_attribute_value__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_profiler_profile__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_profiler_profile_python_line__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_profiler_profile_request_line__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_publisher_warranty_contract__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_record_changeset__assigned_attachment_ids
#: model:ir.model.fields,field_description:autovacuum_message_attachment.field_record_changeset_change__assigned_attachment_ids
Expand Down
2 changes: 1 addition & 1 deletion base_changeset/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Track record changesets
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a12df5599daa89442e7d5cae708bd87295125d1a776987ee09c0b44867aab97a
!! source digest: sha256:adcc609dfecb93dc39dd4d5e05d6549d6681007b91d5405c27d8dc9fcad76454
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
Expand Down
2 changes: 1 addition & 1 deletion base_changeset/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{
"name": "Track record changesets",
"version": "12.0.1.1.1",
"version": "12.0.1.1.2",
"development_status": "Alpha",
"author": "Onestein, Camptocamp, Odoo Community Association (OCA)",
"maintainers": ["astirpe"],
Expand Down
5 changes: 5 additions & 0 deletions base_changeset/i18n/base_changeset.pot
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ msgstr ""
#: model:ir.model.fields,field_description:base_changeset.field_ir_autovacuum__changeset_change_ids
#: model:ir.model.fields,field_description:base_changeset.field_ir_config_parameter__changeset_change_ids
#: model:ir.model.fields,field_description:base_changeset.field_ir_cron__changeset_change_ids
#: model:ir.model.fields,field_description:base_changeset.field_ir_cron_inactivity_period__changeset_change_ids
#: model:ir.model.fields,field_description:base_changeset.field_ir_default__changeset_change_ids
#: model:ir.model.fields,field_description:base_changeset.field_ir_demo__changeset_change_ids
#: model:ir.model.fields,field_description:base_changeset.field_ir_demo_failure__changeset_change_ids
Expand Down Expand Up @@ -560,6 +561,7 @@ msgstr ""
#: model:ir.model.fields,field_description:base_changeset.field_ir_autovacuum__changeset_ids
#: model:ir.model.fields,field_description:base_changeset.field_ir_config_parameter__changeset_ids
#: model:ir.model.fields,field_description:base_changeset.field_ir_cron__changeset_ids
#: model:ir.model.fields,field_description:base_changeset.field_ir_cron_inactivity_period__changeset_ids
#: model:ir.model.fields,field_description:base_changeset.field_ir_default__changeset_ids
#: model:ir.model.fields,field_description:base_changeset.field_ir_demo__changeset_ids
#: model:ir.model.fields,field_description:base_changeset.field_ir_demo_failure__changeset_ids
Expand Down Expand Up @@ -882,6 +884,7 @@ msgstr ""
#: model:ir.model.fields,field_description:base_changeset.field_ir_autovacuum__count_pending_changeset_changes
#: model:ir.model.fields,field_description:base_changeset.field_ir_config_parameter__count_pending_changeset_changes
#: model:ir.model.fields,field_description:base_changeset.field_ir_cron__count_pending_changeset_changes
#: model:ir.model.fields,field_description:base_changeset.field_ir_cron_inactivity_period__count_pending_changeset_changes
#: model:ir.model.fields,field_description:base_changeset.field_ir_default__count_pending_changeset_changes
#: model:ir.model.fields,field_description:base_changeset.field_ir_demo__count_pending_changeset_changes
#: model:ir.model.fields,field_description:base_changeset.field_ir_demo_failure__count_pending_changeset_changes
Expand Down Expand Up @@ -1197,6 +1200,7 @@ msgstr ""
#: model:ir.model.fields,field_description:base_changeset.field_ir_autovacuum__count_pending_changesets
#: model:ir.model.fields,field_description:base_changeset.field_ir_config_parameter__count_pending_changesets
#: model:ir.model.fields,field_description:base_changeset.field_ir_cron__count_pending_changesets
#: model:ir.model.fields,field_description:base_changeset.field_ir_cron_inactivity_period__count_pending_changesets
#: model:ir.model.fields,field_description:base_changeset.field_ir_default__count_pending_changesets
#: model:ir.model.fields,field_description:base_changeset.field_ir_demo__count_pending_changesets
#: model:ir.model.fields,field_description:base_changeset.field_ir_demo_failure__count_pending_changesets
Expand Down Expand Up @@ -1914,6 +1918,7 @@ msgstr ""
#: model:ir.model.fields,field_description:base_changeset.field_ir_autovacuum__user_can_see_changeset
#: model:ir.model.fields,field_description:base_changeset.field_ir_config_parameter__user_can_see_changeset
#: model:ir.model.fields,field_description:base_changeset.field_ir_cron__user_can_see_changeset
#: model:ir.model.fields,field_description:base_changeset.field_ir_cron_inactivity_period__user_can_see_changeset
#: model:ir.model.fields,field_description:base_changeset.field_ir_default__user_can_see_changeset
#: model:ir.model.fields,field_description:base_changeset.field_ir_demo__user_can_see_changeset
#: model:ir.model.fields,field_description:base_changeset.field_ir_demo_failure__user_can_see_changeset
Expand Down
5 changes: 5 additions & 0 deletions base_changeset/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ msgstr ""
#: model:ir.model.fields,field_description:base_changeset.field_ir_autovacuum__changeset_change_ids
#: model:ir.model.fields,field_description:base_changeset.field_ir_config_parameter__changeset_change_ids
#: model:ir.model.fields,field_description:base_changeset.field_ir_cron__changeset_change_ids
#: model:ir.model.fields,field_description:base_changeset.field_ir_cron_inactivity_period__changeset_change_ids
#: model:ir.model.fields,field_description:base_changeset.field_ir_default__changeset_change_ids
#: model:ir.model.fields,field_description:base_changeset.field_ir_demo__changeset_change_ids
#: model:ir.model.fields,field_description:base_changeset.field_ir_demo_failure__changeset_change_ids
Expand Down Expand Up @@ -562,6 +563,7 @@ msgstr ""
#: model:ir.model.fields,field_description:base_changeset.field_ir_autovacuum__changeset_ids
#: model:ir.model.fields,field_description:base_changeset.field_ir_config_parameter__changeset_ids
#: model:ir.model.fields,field_description:base_changeset.field_ir_cron__changeset_ids
#: model:ir.model.fields,field_description:base_changeset.field_ir_cron_inactivity_period__changeset_ids
#: model:ir.model.fields,field_description:base_changeset.field_ir_default__changeset_ids
#: model:ir.model.fields,field_description:base_changeset.field_ir_demo__changeset_ids
#: model:ir.model.fields,field_description:base_changeset.field_ir_demo_failure__changeset_ids
Expand Down Expand Up @@ -884,6 +886,7 @@ msgstr ""
#: model:ir.model.fields,field_description:base_changeset.field_ir_autovacuum__count_pending_changeset_changes
#: model:ir.model.fields,field_description:base_changeset.field_ir_config_parameter__count_pending_changeset_changes
#: model:ir.model.fields,field_description:base_changeset.field_ir_cron__count_pending_changeset_changes
#: model:ir.model.fields,field_description:base_changeset.field_ir_cron_inactivity_period__count_pending_changeset_changes
#: model:ir.model.fields,field_description:base_changeset.field_ir_default__count_pending_changeset_changes
#: model:ir.model.fields,field_description:base_changeset.field_ir_demo__count_pending_changeset_changes
#: model:ir.model.fields,field_description:base_changeset.field_ir_demo_failure__count_pending_changeset_changes
Expand Down Expand Up @@ -1199,6 +1202,7 @@ msgstr ""
#: model:ir.model.fields,field_description:base_changeset.field_ir_autovacuum__count_pending_changesets
#: model:ir.model.fields,field_description:base_changeset.field_ir_config_parameter__count_pending_changesets
#: model:ir.model.fields,field_description:base_changeset.field_ir_cron__count_pending_changesets
#: model:ir.model.fields,field_description:base_changeset.field_ir_cron_inactivity_period__count_pending_changesets
#: model:ir.model.fields,field_description:base_changeset.field_ir_default__count_pending_changesets
#: model:ir.model.fields,field_description:base_changeset.field_ir_demo__count_pending_changesets
#: model:ir.model.fields,field_description:base_changeset.field_ir_demo_failure__count_pending_changesets
Expand Down Expand Up @@ -1924,6 +1928,7 @@ msgstr ""
#: model:ir.model.fields,field_description:base_changeset.field_ir_autovacuum__user_can_see_changeset
#: model:ir.model.fields,field_description:base_changeset.field_ir_config_parameter__user_can_see_changeset
#: model:ir.model.fields,field_description:base_changeset.field_ir_cron__user_can_see_changeset
#: model:ir.model.fields,field_description:base_changeset.field_ir_cron_inactivity_period__user_can_see_changeset
#: model:ir.model.fields,field_description:base_changeset.field_ir_default__user_can_see_changeset
#: model:ir.model.fields,field_description:base_changeset.field_ir_demo__user_can_see_changeset
#: model:ir.model.fields,field_description:base_changeset.field_ir_demo_failure__user_can_see_changeset
Expand Down
2 changes: 1 addition & 1 deletion base_changeset/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def write(self, values):
for record in self:
local_values = self.env["record.changeset"].add_changeset(record, values)
super(Base, record).write(local_values)
return self
return True

def _changeset_disabled(self):
if self.env.context.get("__no_changeset") == disable_changeset:
Expand Down
2 changes: 1 addition & 1 deletion base_changeset/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ <h1 class="title">Track record changesets</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a12df5599daa89442e7d5cae708bd87295125d1a776987ee09c0b44867aab97a
!! source digest: sha256:adcc609dfecb93dc39dd4d5e05d6549d6681007b91d5405c27d8dc9fcad76454
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Alpha" src="https://img.shields.io/badge/maturity-Alpha-red.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/12.0/base_changeset"><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-12-0/server-tools-12-0-base_changeset"><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=12.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module extends the functionality of records. It allows to create
Expand Down
Loading

0 comments on commit 0959b67

Please sign in to comment.