Community mailing list archives

community@mail.odoo.com

Re: editable field in tree view

by
codyvanwilpe
- 12/22/2014 10:30:33
Hi Ait Mlouk Addi,

Thank you for your fast reply. I get:

ParseError: "ValidateError
Field(s) `arch` failed against a constraint: Invalid view definition

Error details:
Element '' cannot be located
in parent view

Error context:
View `event.registration.2`
[view_id: 1348, xml_id: odoo_extrafields.view_event_registration_2,
model: event.registration, parent_id: 720]" while parsing
/opt/odoo/addons/odoo_extrafields/templates.xml:86, near

            event.registration.2
            event.registration
            
            tree
            
              
                    
                    
                    
                    
                    
                    
              
            


Cody

2014-12-22 16:07 GMT+01:00 Ait Mlouk Addi <aitmlouk@gmail.com>:
> Hi
> try this
>
>   
>
>     
>             event.registration.tree
>             event.registration
>             tree
>             
>                 
>                 
>                 
>                 
>                 
>                 
>             
>     
>
> 2014-12-22 15:38 GMT+01:00 cody vanwilpe <codyvanwilpe@gmail.com>:
>>
>> Hi,
>>
>> I am looking for a solution to have an editable field in de standard
>> tree view. I have made new field and they are listed on the correct
>> tree view. But I can not make them editable in tree view. Does anyone
>> know how we can make it possible?
>>
>> Cody
>>
>> .py:
>>
>> class event_registration(osv.osv):
>>       _name = 'event.registration'
>>       _inherit = 'event.registration'
>>       _columns = {
>>       'paid': fields.boolean('paid'),
>>       'elo': fields.boolean('online learning'),
>>       'cert': fields.boolean('Certificate'),
>>       'sent': fields.boolean('sent'),
>>       }
>> event_registration()
>>
>> .xml
>>
>>
>>             event.registration.2
>>             event.registration
>>
>>             tree
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Mailing-List: https://www.odoo.com/groups/community-59
>> Post to: mailto:community@mail.odoo.com
>> Unsubscribe: https://www.odoo.com/groups?unsubscribe
>
>
>
>
> --
> ----------------------------
> Mr. Ait Mlouk Addi
> Consultant Technico-Fonctionnel Junior Odoo
> Etudiant Chercheur à l'Univéristé Caddi Ayyad, Faculté des Sciences Semlalia
> Marrakech
>
> Tél : 0672977726
> Site Web : odoo-services
> Profile :  CV- oyoubuzz
> Profile : linkedin                  Profile : viadeo               Profile :
> Github
>
> _______________________________________________
> Mailing-List: https://www.odoo.com/groups/community-59
> Post to: mailto:community@mail.odoo.com
> Unsubscribe: https://www.odoo.com/groups?unsubscribe