You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
473 B
14 lines
473 B
# -*- coding: utf-8 -*-
|
|
|
|
from odoo import models, fields
|
|
|
|
|
|
class CabLocation(models.Model):
|
|
_name = 'cab.location'
|
|
|
|
name = fields.Char(string='City', required=True)
|
|
cab_zip = fields.Char(string='ZIP')
|
|
cab_code = fields.Char(string='City Code', size=64, help="The official code for the city")
|
|
state_id = fields.Many2one('res.country.state', string='State', required=True)
|
|
country_id = fields.Many2one('res.country', string='Country', required=True)
|
|
|
|
|