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:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
4763
瀏覽次數
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
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
2
7月 24
|
1324 | ||
|
0
1月 23
|
1428 | ||
|
1
7月 24
|
1235 | ||
|
3
5月 24
|
2207 | ||
|
2
1月 24
|
3041 |