hi everybody, i what to show a button dynamic, if web_client is in edit model the button will display, in view model button will hide how to do ... thanks,
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
1
Reply
4817
Views
try:
<button name="NAME" string="STRING" type="object" states="STATES" class="oe_edit_only" groups="GROUPS"/>
oe_edit_only will solve your problem.
Cheers
ok, Thank you very much
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
4
Dec 15
|
6281 | ||
|
0
Nov 15
|
5227 | ||
|
4
Dec 23
|
24213 | ||
|
1
Jan 24
|
1735 | ||
|
1
Sep 23
|
1898 |