Skip to content

Commit 05aae80

Browse files
Gorashrco-odoo
authored andcommitted
[IMP] all/saas~18.1: Make _name or _inherit mandatory
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]>
1 parent c65f16e commit 05aae80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mail/0.0.0/pre-report-migration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def migrate(cr, version):
2222

2323

2424
class MailMessage(models.Model):
25-
_inherit = ["mail.message"]
25+
_inherit = "mail.message"
2626
_module = "mail"
2727

2828
@model_cr

0 commit comments

Comments
 (0)