OCA / server-ux

GNU Affero General Public License v3.0
158 stars 514 forks source link

[13.0][FIX] base_optional_quick_create: add mail dependency #895

Open maisim opened 3 months ago

maisim commented 3 months ago

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 commented 3 months ago

:hand: @OCA/tools-maintainers

thomaspaulb commented 3 months ago

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

maisim commented 3 months ago

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 commented 3 months ago

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

thomaspaulb commented 3 months ago

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