[FIX] print error
This commit is contained in:
parent
0964cf9672
commit
115cde16e6
@ -126,7 +126,7 @@ class ContractWizard(models.TransientModel):
|
|||||||
|
|
||||||
@api.multi
|
@api.multi
|
||||||
def get_docx_contract(self):
|
def get_docx_contract(self):
|
||||||
template = self.document_template
|
template = self.document_template.attachment_id
|
||||||
|
|
||||||
path_to_template = template._full_path(template.store_fname)
|
path_to_template = template._full_path(template.store_fname)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user