Skip to content

Conversation

@hbrunn
Copy link

@hbrunn hbrunn commented May 5, 2025

No description provided.

@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️



def convert_company_dependent(env):
openupgrade_180.convert_company_dependent(env, "account.account", "code_store")
Copy link
Author

Choose a reason for hiding this comment

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

it wasn't a property before, we need to create our own property field

SET sending_data = jsonb_set(sending_data::jsonb - 'mail_template_id',
'{{mail_template}}', {mail_template})
WHERE id = {move_id}""",
)
Copy link
Author

@hbrunn hbrunn May 5, 2025

Choose a reason for hiding this comment

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

the sending_data field is only used for the batch wizard, and there the mail template can't be set at all.

See the test data file that actually fills this field for the test migration, the above code fails there because this is an id in v17

@MiquelRForgeFlow MiquelRForgeFlow merged commit 6cba94d into ForgeFlow:18.0-mig-account May 5, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants