mirror of
https://gitlab.com/sonalarora/tra_backend.git
synced 2025-12-18 18:59:08 +02:00
26 lines
528 B
Python
26 lines
528 B
Python
# -*- coding: utf-8 -*-
|
|
##############################################################################
|
|
#
|
|
# OpenERP, Open Source Management Solution
|
|
#
|
|
#
|
|
##############################################################################
|
|
|
|
from odoo import models, fields, api
|
|
|
|
|
|
class city_city(models.Model):
|
|
_name = 'city.city'
|
|
|
|
name = fields.Char(string="Name")
|
|
code = fields.Char(string="Code")
|
|
zone_id = fields.Many2one('zone.zone',string="Zone")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|