mirror of
https://github.com/bringout/oca-ocb-vertical-industry.git
synced 2026-04-23 08:51:59 +02:00
13 lines
415 B
Python
13 lines
415 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class LunchLocation(models.Model):
|
|
_name = 'lunch.location'
|
|
_description = 'Lunch Locations'
|
|
|
|
name = fields.Char('Location Name', required=True)
|
|
address = fields.Text('Address')
|
|
company_id = fields.Many2one('res.company', default=lambda self: self.env.company)
|