Fix
This commit is contained in:
parent
9417b21229
commit
6ae531daa8
12
folio.py
12
folio.py
|
@ -807,12 +807,12 @@ class FolioGuest(ModelSQL, ModelView):
|
|||
if config.nationality:
|
||||
return config.nationality.id
|
||||
|
||||
@staticmethod
|
||||
def default_country():
|
||||
Config = Pool().get('hotel.configuration')
|
||||
config = Config.get_configuration()
|
||||
if config.country:
|
||||
return config.country.id
|
||||
# @staticmethod
|
||||
# def default_country():
|
||||
# Config = Pool().get('hotel.configuration')
|
||||
# config = Config.get_configuration()
|
||||
# if config.country:
|
||||
# return config.country.id
|
||||
|
||||
@staticmethod
|
||||
def default_type_document():
|
||||
|
|
Loading…
Reference in New Issue