Skip to content

Commit

Permalink
[IMP] all/saas~18.1: Make _name or _inherit mandatory
Browse files Browse the repository at this point in the history
This is a request following the revert of the use of class names
(concerning the python inheritance and typing project)

closes #171

Community: odoo/odoo#189889
Enterprise: odoo/enterprise#75293
Related: odoo/upgrade#6901
Signed-off-by: Raphael Collet <[email protected]>
  • Loading branch information
Gorash authored and rco-odoo committed Dec 27, 2024
1 parent c65f16e commit 05aae80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mail/0.0.0/pre-report-migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def migrate(cr, version):


class MailMessage(models.Model):
_inherit = ["mail.message"]
_inherit = "mail.message"
_module = "mail"

@model_cr
Expand Down

0 comments on commit 05aae80

Please sign in to comment.