Use declarative index definition for ModelSQL
issue5757 review361251002
This commit is contained in:
1 parent
70f1a48558
commit
b5b65d282b
1 file changed
+1
-2
+1
-2
@@ -335,8 +335,7 @@ class EmailAttachment(ModelSQL):
|
||||
__name__ = 'notification.email.attachment'
|
||||
|
||||
notification = fields.Many2One(
|
||||
'notification.email', "Notification",
|
||||
required=True, select=True)
|
||||
'notification.email', "Notification", required=True)
|
||||
report = fields.Many2One(
|
||||
'ir.action.report', "Report", required=True,
|
||||
domain=[
|
||||
|
||||
Reference in new issue
Block a user