mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
19 lines
665 B
Python
19 lines
665 B
Python
from marshmallow import fields
|
|
|
|
from odoo.addons.datamodel.core import Datamodel
|
|
|
|
|
|
class ResCityZipSearchParam(Datamodel):
|
|
_name = "res.city.zip.search.param"
|
|
address = fields.String(required=False, allow_none=False)
|
|
|
|
|
|
class ResCityZipInfo(Datamodel):
|
|
_name = "res.city.zip.info"
|
|
resZipId = fields.Integer(required=False, allow_none=True)
|
|
cityId = fields.String(required=False, allow_none=True)
|
|
stateId = fields.Integer(required=False, allow_none=True)
|
|
stateName = fields.String(required=False, allow_none=True)
|
|
countryId = fields.Integer(required=False, allow_none=True)
|
|
zipCode = fields.String(required=False, allow_none=True)
|