odex30_standard/odex30_base/branch/models/branch.py

14 lines
398 B
Python

# Part of BrowseInfo. See LICENSE file for full copyright and licensing details.
from odoo import api, fields, models, _
class ResBranch(models.Model):
_name = 'res.branch'
_description = 'Branch'
name = fields.Char(required=True)
company_id = fields.Many2one('res.company', required=True)
telephone = fields.Char(string='Telephone No')
address = fields.Text('Address')