Fix bug when set the deafult facturae_service. It's s selction and it's

useed as a m2o. Don't have ID, it's not berowseble, is an string.

Task: #161646
This commit is contained in:
Bernat Brunet 2023-08-09 14:11:58 +02:00
parent 228525f398
commit 90773042c3
1 changed files with 1 additions and 1 deletions

View File

@ -843,7 +843,7 @@ class GenerateFacturae(Wizard):
config = Configuration(1)
if config.facturae_service:
default['service'] = config.facturae_service.id
default['service'] = config.facturae_service
if config.facturae_certificate:
default['certificate'] = config.facturae_certificate.id