[NEW] pad_hedgedoc_connector: create addon
This commit is contained in:
11
pad_hedgedoc_connector/models/hedgedoc_pad.py
Normal file
11
pad_hedgedoc_connector/models/hedgedoc_pad.py
Normal file
@@ -0,0 +1,11 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from odoo import models, fields, api, _
|
||||
|
||||
|
||||
class HedgedocPad(models.Model):
|
||||
_name = "hedgedoc.pad"
|
||||
_description = "Hedgedoc Pad"
|
||||
|
||||
name = fields.Char(string=_("Title"), required=True,)
|
||||
url = fields.Char(string=_("URL"))
|
Reference in New Issue
Block a user