Browse Source

res_config: Fix de-selection of sandbox environment

master
Harald Welte 8 months ago
parent
commit
6b5cd2bca0
  1. 2
      models/res_config.py

2
models/res_config.py

@ -34,5 +34,5 @@ class website_config_settings(models.Model):
ir_values.set_default('delivery.carrier', 'dp_portokasse_user', config.dp_portokasse_user or '')
ir_values.set_default('delivery.carrier', 'dp_portokasse_passwd', config.dp_portokasse_passwd or '')
ir_values.set_default('delivery.carrier', 'dp_wpi_ekp', config.dp_wpi_ekp or '')
ir_values.set_default('delivery.carrier', 'dp_wpi_sandbox', config.dp_wpi_sandbox or True)
ir_values.set_default('delivery.carrier', 'dp_wpi_sandbox', config.dp_wpi_sandbox or False)
return True

Loading…
Cancel
Save