[IMP] Avoid using deprecated function _list, _delete and replace appropriately

pull/2560/head
Kevin Khao 2021-03-04 12:21:00 +01:00 committed by Florian da Costa
parent 393598e9be
commit 1f4c38cbf7
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ _logger = logging.getLogger(__name__)
class AttachmentQueue(models.Model): class AttachmentQueue(models.Model):
_name = "attachment.queue" _name = "attachment.queue"
_description = "Attachment Queue"
_inherits = {"ir.attachment": "attachment_id"} _inherits = {"ir.attachment": "attachment_id"}
_inherit = ["mail.thread"] _inherit = ["mail.thread"]