Skip to content

Commit 9fac6e0

Browse files
[FIX] hr_holidays: False -> None
1 parent 4251ecc commit 9fac6e0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docsource/modules170-180.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,8 @@ Module coverage 17.0 -> 18.0
318318
+---------------------------------------------------+----------------------+-------------------------------------------------+
319319
| l10n_din5008 | | |
320320
+---------------------------------------------------+----------------------+-------------------------------------------------+
321+
| l10n_din5008_expense | | |
322+
+---------------------------------------------------+----------------------+-------------------------------------------------+
321323
| l10n_din5008_purchase | | |
322324
+---------------------------------------------------+----------------------+-------------------------------------------------+
323325
| l10n_din5008_repair | | |

openupgrade_scripts/scripts/hr_holidays/18.0.1.6/pre-migration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def split_employee_leaves(env):
194194
@openupgrade.migrate()
195195
def migrate(env, version):
196196
if openupgrade.column_exists(env.cr, "hr_leave_allocation", "name"): # from 13.0
197-
openupgrade.rename_columns(env.cr, {"hr_leave_allocation": [("name", False)]})
197+
openupgrade.rename_columns(env.cr, {"hr_leave_allocation": [("name", None)]})
198198
openupgrade.rename_columns(env.cr, _column_renames)
199199
openupgrade.add_columns(env, _column_adds)
200200
refill_hr_leave_request_hours(env)

0 commit comments

Comments
 (0)