Skip to content

Commit

Permalink
Don't set the db version on activation
Browse files Browse the repository at this point in the history
* If the plugin is re-activated manually it causes the database upgrade functions to run again.
  • Loading branch information
Jack-Dane committed Nov 12, 2024
1 parent 7c79473 commit 0792ac7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions activation.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ function odoo_conn_activation_function()
odoo_conn_create_odoo_connections_table();
odoo_conn_create_odoo_form_table();
odoo_conn_create_odoo_form_field_mapping();

update_option("odoo_conn_db_version", 1);
}

function odoo_conn_create_odoo_connections_table()
Expand Down

0 comments on commit 0792ac7

Please sign in to comment.