I want create one input field and give a class as widget and get a value of it using javascript. this widget used more than once
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
<input t-att-type="widget.password ? 'password' : 'text'"
t-att-id="widget.id_for_label"
t-att-tabindex="widget.node.attrs.tabindex"
t-att-autofocus="widget.node.attrs.autofocus"
t-att-placeholder="widget.node.attrs.placeholder"
t-att-maxlength="widget.field.size"
name="kladr_city"
/>
t-att-id="widget.id_for_label" what is the meaning of this line
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
0
8月 20
|
2990 | ||
|
0
2月 18
|
3315 | ||
|
0
9月 17
|
4077 | ||
|
2
11月 15
|
609 | ||
|
1
2月 24
|
11889 |