|
@@ -1,12 +0,0 @@
|
|
|
-from odoo import models, fields
|
|
|
-
|
|
|
-
|
|
|
-class Hostel(models.Model):
|
|
|
- _name = 'hostel.hostel'
|
|
|
- _description = 'Information about hostel'
|
|
|
-
|
|
|
- name = fields.Char(string='Hostel name', required=True)
|
|
|
- hostel_code = fields.Char(string='Code', required=True)
|
|
|
- street = fields.Char('Street')
|
|
|
- street2 = fields.Char('Street2')
|
|
|
- state_id = fields.Many2one('res.country.state', string='State')
|