mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-26 18:38:41 -06:00
no message
This commit is contained in:
parent
f1040fbd3f
commit
3c0ed6b98b
@ -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."""
|
||||||
|
Loading…
Reference in New Issue
Block a user