Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
6374 Visualizações

Hi there,

I am playing with email forms. I ve got some inputs that doesn't have to be filled in by customer so I made them hidden:

<input type="text" name="name" hidden="true" value="user_id.partner_id.name"/>
The question is how to insert field value as a form "value" (example above doesn't make a job). Thanks:)


Avatar
Cancelar
Melhor resposta

Hello Piotr Cierkosz,

You need to change the attribute "value" to "t-att-value" in the input tag.
t-att-value is used for set the dynamic value in form.

Please find Example in Comment.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Avatar
Cancelar

Here is the example:

<input type="text" name="name" hidden="true" t-att-value="user_id.partner_id.name"/>

Publicações relacionadas Respostas Visualizações Atividade
4
ago. 15
4278
0
mar. 15
4247
1
mar. 15
12854
2
set. 23
9925
2
mar. 21
8973