Odoo Help

1

how do i know is in the edit model

By
codefans
on 5/14/13, 6:35 AM 847 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--
927
| 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

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

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