mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
16 lines
463 B
Python
16 lines
463 B
Python
from marshmallow import fields
|
|
|
|
from odoo.addons.datamodel.core import Datamodel
|
|
|
|
|
|
class PmsResCountriesInfo(Datamodel):
|
|
_name = "res.country.info"
|
|
id = fields.Integer(required=False, allow_none=True)
|
|
name = fields.String(required=False, allow_none=True)
|
|
|
|
|
|
class PmsResCountryStatesInfo(Datamodel):
|
|
_name = "res.country_state.info"
|
|
id = fields.Integer(required=False, allow_none=True)
|
|
name = fields.String(required=False, allow_none=True)
|