mirror of
https://gitlab.com/sonalarora/tra_backend.git
synced 2025-12-17 18:29:08 +02:00
work on mks
This commit is contained in:
26
mks_delivery/models/zone_zone.py
Normal file
26
mks_delivery/models/zone_zone.py
Normal file
@@ -0,0 +1,26 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
from odoo import models, fields, api
|
||||
|
||||
|
||||
class zone_zone(models.Model):
|
||||
_name = 'zone.zone'
|
||||
|
||||
name = fields.Char(string="Name",required=True)
|
||||
code = fields.Char(string="Code")
|
||||
zone_ids = fields.One2many('city.city','zone_id',string='Zone', \
|
||||
copy=False)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
Reference in New Issue
Block a user