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:
parent
2a1698bc51
commit
83e18dc1fa
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue