Make the wizard get all the default values configured if they exist.

This commit is contained in:
Bernat Brunet 2023-08-07 18:01:04 +02:00
parent 5cf37bf5ef
commit e8a263568a
1 changed files with 2 additions and 0 deletions

View File

@ -842,6 +842,8 @@ class GenerateFacturae(Wizard):
}
config = Configuration(1)
if config.facturae_service:
default['certificate'] = config.facturae_service.id
if config.facturae_certificate:
default['certificate'] = config.facturae_certificate.id