Hello everyone!
Someone who has knowledge in the signature module in odoo v13. I have a doubt, I'm trying to send a signature request from an automatic action, this is my code, but the execution is not successful, this error appears. Most likely I'm wrong with the use of the method, can you help me?
for record in records:
c = env['\sign\.send\.request\'\]\.create\(\{\\
\ \ \ \ \ \ \"signers_count\"\:\ 0\,\
\ \ \ \ \ \ \"template_id\"\:\ 3\,\
\ \ \ \ \ \ \"subject\"\:\ \"Solicitud\ de\ firma\ \-\ Contrato\ \Lightspeed\.docx\.pdf\"\,\\
\ \ \ \ \ \ \"filename\"\:\ \"Contrato\ \Lightspeed.docx.pdf",
"signer_id": 20572,
"follower_ids": [
[6, False, []]
],
"message": ""
})
raise Warning(c)
c.send_request()
output:
The record does not exist or has been deleted.
(Record: sign.template(13403,), User: 2)