mirror of
https://gitlab.com/sonalarora/tra_backend.git
synced 2025-12-23 13:15:31 +02:00
work on mks
This commit is contained in:
25
mks_delivery/models/city_city.py
Normal file
25
mks_delivery/models/city_city.py
Normal file
@@ -0,0 +1,25 @@
|
||||
# -*- 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:
|
||||
Reference in New Issue
Block a user