no message

This commit is contained in:
Nicolás 2016-11-15 17:26:48 +00:00
parent f1040fbd3f
commit 3c0ed6b98b

View File

@ -13,11 +13,9 @@ except:
class AddUrlWizard(models.TransientModel): class AddUrlWizard(models.TransientModel):
_name = 'ir.attachment.add_url' _name = 'ir.attachment.add_url'
name = fields.Char('Name', required=True) name = fields.Char('Name', required=True)
url = fields.Char('URL', required=True) url = fields.Char('URL', required=True)
@api.one
@api.multi @api.multi
def action_add_url(self): def action_add_url(self):
"""Adds the URL with the given name as an ir.attachment record.""" """Adds the URL with the given name as an ir.attachment record."""