Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

how do i know is in the edit model

By
codefans
on 5/14/13, 6:35 AM 713 views

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,

0

Andreas Maertens

--Andreas Maertens--
912
| 5 5 7
Finsterwalde, Germany
--Andreas Maertens--

I develop odoo8.0 modules

Andreas Maertens
On 5/14/13, 6:54 AM

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

codefans
on 5/14/13, 7:20 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 5/14/13, 6:35 AM
Seen: 713 times
Last updated: 3/16/15, 8:10 AM