4 changed files with 11 additions and 1 deletions
@ -1,3 +1,4 @@ |
|||
# -*- coding: utf-8 -*- |
|||
|
|||
from . import models |
|||
from . import models |
|||
from . import register_item |
|||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,9 @@ |
|||
from odoo import fields, models |
|||
class item(models.Model): |
|||
_name = "registry.item" |
|||
_description = "Item" |
|||
name = fields.Char("Name", required=True) |
|||
isbn = fields.Char("Regcode") |
|||
active = fields.Boolean("Active?", default=True) |
|||
date_registered = fields.Date() |
|||
|
Loading…
Reference in new issue