Skip to content

Commit 64bf85c

Browse files
authored
Merge pull request #5427 from Tecnativa/18.0-ou-fix-account-autocheck_on_post
[18.0][OU-FIX] account: Don't autocheck_on_post by default
2 parents ffc0601 + a6382c9 commit 64bf85c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

openupgrade_scripts/scripts/account/18.0.1.3/pre-migration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
_new_columns = [
2929
("account.bank.statement.line", "company_id", "many2one"),
3030
("account.bank.statement.line", "journal_id", "many2one"),
31-
("account.journal", "autocheck_on_post", "boolean", True),
31+
("account.journal", "autocheck_on_post", "boolean", False),
3232
("account.move", "amount_untaxed_in_currency_signed", "float"),
3333
("account.move", "checked", "boolean"),
3434
("account.move", "preferred_payment_method_line_id", "many2one"),

openupgrade_scripts/scripts/account/18.0.1.3/upgrade_analysis_work.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ account / account.group / parent_path (char) : DEL
6060
# NOTHING TO DO
6161

6262
account / account.journal / autocheck_on_post (boolean) : NEW hasdefault: default
63-
# DONE: pre-migration: pre-created and filled
63+
# DONE: pre-migration: pre-created and filled with default=False for preserving previous behavior
6464

6565
account / account.journal / sale_activity_note (text) : DEL
6666
account / account.journal / sale_activity_type_id (many2one): DEL relation: mail.activity.type

0 commit comments

Comments
 (0)