Odoo Help


checkbox in a tree inside a page

on 4/19/13, 11:25 AM 1,946 views

Hi, i have this code

in my .py in my class

'invoice_ids': fields.many2many('account.invoice','expinv_rel', 'expinv_id', 'account_id', 'Invoice'),

in my .xml

<record id="view_expInvoice_form" model="ir.ui.view">
<page string="Invoice" >
    <field name="invoice_ids">
       <tree string="Invoice">
          <field name="date_invoice" />  
          <field name="partner_id" />  
          <field name="origin" />
          <field name="state" invisible="True" />                                 

In the view for Invoice does not appear the checkboxes...its possible to add them?

I believe you refer to the record selection checkboxes. What do you need them for?

Daniel Reis
on 4/19/13, 11:38 AM

Because based on whether an item is checked i create an invoice.

on 4/19/13, 2:28 PM

Yes, in an object <tree> inside a <page> like the xml i put before.

on 4/22/13, 10:48 AM

@Patricia, did you find solution for this question

Nadeem Ahmed
on 2/17/14, 11:16 PM

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.


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

1 follower(s)


Asked: 4/19/13, 11:25 AM
Seen: 1946 times
Last updated: 3/16/15, 8:10 AM