mirror of
https://github.com/NaN-tic/trytond-account_invoice_facturae.git
synced 2023-12-14 03:32:59 +01:00
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)
|
config = Configuration(1)
|
||||||
if config.facturae_service:
|
if config.facturae_service:
|
||||||
default['service'] = config.facturae_service.id
|
default['service'] = config.facturae_service
|
||||||
if config.facturae_certificate:
|
if config.facturae_certificate:
|
||||||
default['certificate'] = config.facturae_certificate.id
|
default['certificate'] = config.facturae_certificate.id
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue