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.

0

OpenERP 7 Checkbox [Closed]

By
priyankahdp
on 3/19/13, 2:54 PM 1,943 views

The Question has been closed

by
priyankahdp
on 04/20/2013 03:33:34

I need to add check box in openerp form.and when check that box, then need to appear text box below.text box need to show only after that box checked.

how to do this requirement in openerp (ver 7) ?

fox ex :

[x] eliglible for EPF

EPF Number : [_______________________]
1
Lucio
On 3/19/13, 5:01 PM

Hello! Assuming that this is part of your form view, add attrs to the text field and put invisible there!

<form version="7.0">
...
    <group col="2">
        <field name="boolean_field"/>
        <field name="text_field" attrs="{'invisible': [('boolean_field', '=', False)]}"/>
    </group>
...
</form>

Hope this helps you!

Thanks Lucio

priyankahdp
on 3/19/13, 10:48 PM

About This Community

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

Question tools

0 follower(s)

Stats

Asked: 3/19/13, 2:54 PM
Seen: 1943 times
Last updated: 3/16/15, 8:10 AM