Skip to content

[19.0][MIG] im_livechat#5782

Merged
pedrobaeza merged 1 commit into
OCA:19.0from
hbrunn:19.0-im_livechat
Jul 16, 2026
Merged

[19.0][MIG] im_livechat#5782
pedrobaeza merged 1 commit into
OCA:19.0from
hbrunn:19.0-im_livechat

Conversation

@hbrunn

@hbrunn hbrunn commented Jul 7, 2026

Copy link
Copy Markdown
Member

No description provided.

@OCA-git-bot OCA-git-bot added mod:openupgrade_scripts Module openupgrade_scripts series:19.0 labels Jul 7, 2026
@hbrunn

hbrunn commented Jul 7, 2026

Copy link
Copy Markdown
Member Author

@OCA-git-bot OCA-git-bot added this to the 19.0 milestone Jul 7, 2026
Comment on lines +11 to +13
openupgrade.convert_field_to_html(
env.cr, "chatbot_script_step", "message", "message", translate=True
)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the copy_columns part should be done in pre-migration, and then here you should do

Suggested change
openupgrade.convert_field_to_html(
env.cr, "chatbot_script_step", "message", "message", translate=True
)
openupgrade.convert_field_to_html(
env.cr, "chatbot_script_step", "message", openupgrade.get_legacy_name("message"), translate=True
)

Right?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why does the copying need to go to pre-migration? no other code touches this.
and convert_field_to_html works fine inplace, no need to work on the copy

@pedrobaeza
pedrobaeza merged commit fe128e6 into OCA:19.0 Jul 16, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants