mirror of
https://github.com/bringout/oca-ocb-vertical-industry.git
synced 2026-04-24 14:51:59 +02:00
Initial commit: Vertical Industry packages
This commit is contained in:
commit
d5567a0017
766 changed files with 733028 additions and 0 deletions
13
odoo-bringout-oca-ocb-lunch/lunch/models/lunch_location.py
Normal file
13
odoo-bringout-oca-ocb-lunch/lunch/models/lunch_location.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# -*- 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue