Port to v10

This commit is contained in:
Leonardo Donelli
2016-12-22 12:43:02 +01:00
committed by mle
parent b0671b8223
commit bfe651f322
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)