Skip to Content
Menu
This question has been flagged
890 Views

hola, alguien sabe como se puede pasar parámetros al pedir la firma en un formulario, he probado asi

t-call="portal.signature_form">
t-set="call_url" t-value="'/my/work/accept#note=123'"/>
t-set="note" t-value="test"/>
t-set="default_name" t-value="'/my/work/accept#note=%s' % (work.id)"/>
@http.route(['/my/work/accept',
], type='json', methods=['POST'], auth='user', website=True, csrf=False)
def portal_quote_accept(self, **kwargs):
print("kwargs->", kwargs)


gracias



Avatar
Discard