Community: Framework mailing list archives

expert-framework@mail.odoo.com

Re: Active (product_product) field show unchecked

by
Camptocamp France SAS, Alexandre Fayolle - Camptocamp
- 12/18/2014 02:27:09
On 17/12/2014 16:44, Kumar, Sanjeev wrote:
<blockquote cite="mid:CAHY+gKdb2KgjTAnarr2Ci60+kKY5-DLyCY7omHnSi86Ezfjjsg@mail.gmail.com" type="cite">
Hello all,

I have used active field of model product.product in a form view. I found Check-box always shows unchecked, irrespective value is true /  false Its unchecked.

here's how I used 'active' field in my inherited view:

 <page  string="Information" position="inside">
                    <group string="General information">
                        <div>  
                        <label for="active"/>
                        <field name="active"  /> 
                        </div> .....

However when I use other boolean fields, It doesn't have any problem. What could be reason it showing inactive?



Are you sure the active field is not featured twice in your form view?

-- 
Alexandre Fayolle
Chef de Projet
Tel : + 33 (0)4 79 26 57 94

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac Cedex
http://www.camptocamp.com