diff --git a/odoo-server.conf b/odoo-server.conf new file mode 100644 index 00000000000..24f463372e9 --- /dev/null +++ b/odoo-server.conf @@ -0,0 +1,67 @@ +[options] +addons_path = /home/alexis/Odoo/odoo-17.0/addons,/home/alexis/Odoo/odoo-17.0/odoo/addons,/home/alexis/Project/exk_addons/OpenUpgrade +csv_internal_sep = , +data_dir = /home/alexis/.local/share/Odoo17 +db_host = localhost +db_maxconn = 64 +db_name = False +db_password = odoo +db_port = 5432 +db_sslmode = prefer +db_template = template0 +db_user = odoo +dbfilter = +demo = {} +email_from = False +from_filter = False +geoip_database = /usr/share/GeoIP/GeoLite2-City.mmdb +http_enable = True +http_interface = localhost +http_port = 8069 +import_partial = +limit_memory_hard = 2147483648 +limit_memory_soft = 2147483648 +limit_request = 8192 +limit_time_cpu = 1500 +limit_time_real = 3000 +limit_time_real_async = 300 +limit_time_real_cron = -1 +list_db = True +log_db = False +log_db_level = warning +log_handler = :INFO +log_level = info +logfile = +logrotate = False +longpolling_port = 8072 +max_async_threads = 4 +max_cron_threads = 2 +osv_memory_age_limit = False +osv_memory_count_limit = False +pg_path = /usr/lib/postgresql/12/bin +pidfile = +proxy_mode = False +reportgz = False +screencasts = +screenshots = /tmp/odoo_tests +server_wide_modules = base,web +smtp_password = False +smtp_port = 25 +smtp_server = localhost +smtp_ssl = False +smtp_ssl_certificate_filename = False +smtp_ssl_private_key_filename = False +smtp_user = False +syslog = False +test_enable = False +test_file = +test_tags = None +transient_age_limit = 1.0 +translate_modules = ['all'] +unaccent = False +upgrade_path = /home/alexis/Project/exk_addons/OpenUpgrade/openupgrade_scripts/scripts +without_demo = False +workers = 8 +xmlrpcs = False +test_queue_job_no_delay = 1 +admin_passwd = $pbkdf2-sha512$600000$yPl/D8F4r9Vai1FKSclZyw$70L5q66B4zJn2IGXg2kvvt.Xf0WOfwK/KHbIINiehoSMiYmQ4nF7y414QprecD6ByyR/Oxc9Br2iGJooONf9dw diff --git a/openupgrade_scripts/scripts/gamification/17.0.1.0/pre-migration.py b/openupgrade_scripts/scripts/gamification/17.0.1.0/pre-migration.py new file mode 100644 index 00000000000..446101634f7 --- /dev/null +++ b/openupgrade_scripts/scripts/gamification/17.0.1.0/pre-migration.py @@ -0,0 +1,16 @@ +# Copyright 2024 Tecnativa - Pedro M. Baeza +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from openupgradelib import openupgrade + +_xmlid_renames = [ + ( + "gamification.ir_cron_consolidate_last_month", + "gamification.ir_cron_consolidate", + ) +] + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.rename_xmlids(env.cr, _xmlid_renames) diff --git a/openupgrade_scripts/scripts/gamification/17.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/gamification/17.0.1.0/upgrade_analysis_work.txt index 2d77ceded61..0fa36bf5b5a 100644 --- a/openupgrade_scripts/scripts/gamification/17.0.1.0/upgrade_analysis_work.txt +++ b/openupgrade_scripts/scripts/gamification/17.0.1.0/upgrade_analysis_work.txt @@ -18,9 +18,11 @@ gamification / gamification.karma.tracking / tracking_date (date) : typ ---XML records in module 'gamification'--- NEW gamification.karma.tracking: gamification.karma_tracking_user_admin (noupdate) NEW gamification.karma.tracking: gamification.karma_tracking_user_root (noupdate) +# NOTHING TO DO: New noupdate="1" records + NEW ir.cron: gamification.ir_cron_consolidate (noupdate) DEL ir.cron: gamification.ir_cron_consolidate_last_month (noupdate) -# NOTHING TO DO: New noupdate="1" records +# DONE: pre-migration: XML-ID renamed NEW ir.model.access: gamification.gamification_karma_rank_access_employee NEW ir.model.access: gamification.gamification_karma_rank_access_portal