Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată


t-attf-value="#{proposed_salary_value}"
name="proposed_salary"/>
I want to get proposed_salary value and employee_salary value in javascript and then add the values, show the sum value into another field.
Imagine profil
Abandonează
Cel mai bun răspuns

Hi Shoaib,

Add a custom class for the input and t-esc span tags, and using that class tags fetch its value using jquery selectors.
Either use the functions inside the $(document).ready(function () {}) method or if its a Odoo rendered template, extends the particular widget which is used to render the template and fetch the details within that widget and calculate the sum and pass that value into the field using jquery.

Regards

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
iul. 24
1330
0
ian. 23
1433
1
iul. 24
1237
3
mai 24
2221
2
ian. 24
3055