server-ux icon indicating copy to clipboard operation
server-ux copied to clipboard

[13.0][FIX] base_optional_quick_create: add mail dependency

Open maisim opened this issue 1 year ago • 5 comments
trafficstars

Fix

psycopg2.ProgrammingError: column ir_model.is_mail_activity does not exist LINE 1: ...","ir_model"."is_mail_thread" as "is_mail_thread","ir_model"...

on upgrade from 12.0 to 13.0

maisim avatar Jun 13 '24 14:06 maisim

:hand: @OCA/tools-maintainers

maisim avatar Jun 14 '24 07:06 maisim

Would like to fasttrack but not finding a reference to is_mail_activity in the module code ?

thomaspaulb avatar Jun 14 '24 08:06 thomaspaulb

Would like to fasttrack but not finding a reference to is_mail_activity in the module code ?

It is just to get the mail module updated before this one to avoid :

psycopg2.ProgrammingError: column ir_model.is_mail_activity does not exist LINE 1: ...","ir_model"."is_mail_thread" as "is_mail_thread","ir_model"...

I didn't look further into what the problem was, seeing this error I concluded that there was a dependency on the mail module. By adding this dependency it works (tm)

But I can take a closer look if you prefer.

maisim avatar Jun 14 '24 08:06 maisim

That said, I find the dependency rather logical (not annoying) because most creations are logged via the mail module.

maisim avatar Jun 14 '24 08:06 maisim

Do you still have the traceback that was posted around the error?

thomaspaulb avatar Jun 14 '24 08:06 thomaspaulb

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

github-actions[bot] avatar Oct 13 '24 12:10 github-actions[bot]