mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]pms_api_rest: added services and datamodels for get and patch checkin_partners
This commit is contained in:
10
pms_api_rest/datamodels/res_city_zip.py
Normal file
10
pms_api_rest/datamodels/res_city_zip.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from marshmallow import fields
|
||||
|
||||
from odoo.addons.datamodel.core import Datamodel
|
||||
|
||||
|
||||
class ResCityZipInfo(Datamodel):
|
||||
_name = "res.city.zip.info"
|
||||
cityId = fields.String(required=False, allow_none=True)
|
||||
stateId = fields.String(required=False, allow_none=True)
|
||||
countryId = fields.String(required=False, allow_none=True)
|
||||
Reference in New Issue
Block a user