<button name="toggle_start" type="object" class="oe_stat_button">
<field name="help_button" widget="boolean_button"
options='{"terminology": {
"string_true": "ACTIVE",
"hover_true": "PAUSE",
"string_false": "HELP",
"hover_false": "FINISH"
}}'/>
</button>
Pertanyaan ini telah diberikan tanda
1
Balas
18240
Tampilan
Hi,
There is no need to define the archive/active button in the view in odoo13, just add a Boolean field with name active in the model, then the Archive button will be shown inside the Action drop down button in the top of the form.
See this: web: Remove 'toggle_active' stat buttons + introduce ribbons #34496
Thanks
Thanks Niyaskka
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
|
0
Jan 23
|
2312 | ||
|
|
1
Jun 15
|
6055 | ||
|
|
1
Jan 25
|
2270 | ||
|
|
0
Jan 22
|
5488 | ||
|
Enable Counters in odoo what is the use of it
Diselesaikan
|
|
1
Mar 25
|
3036 |