[FIX] cant choose template
This commit is contained in:
parent
97dd0b052d
commit
bf847d0459
@ -129,6 +129,7 @@ class ContractWizard(models.TransientModel):
|
||||
]
|
||||
|
||||
# Set default template
|
||||
if not self.document_template:
|
||||
self.document_template = self.env["res.partner.document.template"].search(
|
||||
document_template_domain, limit=1
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user