mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-26 10:28:40 -06:00
no message
This commit is contained in:
parent
f1040fbd3f
commit
3c0ed6b98b
@ -13,11 +13,9 @@ except:
|
||||
class AddUrlWizard(models.TransientModel):
|
||||
_name = 'ir.attachment.add_url'
|
||||
|
||||
|
||||
name = fields.Char('Name', required=True)
|
||||
url = fields.Char('URL', required=True)
|
||||
|
||||
@api.one
|
||||
@api.multi
|
||||
def action_add_url(self):
|
||||
"""Adds the URL with the given name as an ir.attachment record."""
|
||||
|
Loading…
Reference in New Issue
Block a user