Port to v10

This commit is contained in:
Leonardo Donelli
2016-12-22 12:43:02 +01:00
committed by Mikel
parent 935df44dec
commit 8a6dd6ddb8
12 changed files with 138 additions and 200 deletions

View File

@@ -0,0 +1,8 @@
from odoo import fields, models
class IrAttachment(models.Model):
_inherit = 'ir.attachment'
# Add index to res_model because filtering on it is a common use case
res_model = fields.Char(index=True)