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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
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
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
2
lip 24
|
1085 | ||
|
0
sty 23
|
1329 | ||
|
1
lip 24
|
1039 | ||
Portal Proveedores
Rozwiązane
|
|
3
maj 24
|
1891 | |
|
2
sty 24
|
2749 |