コンテンツへスキップ
メニュー
この質問にフラグが付けられました
7208 ビュー

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" />                                 
      </tree>
    </field>
</page>
</record>

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?

著作者

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

著作者

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

@Patricia, did you find solution for this question

関連投稿 返信 ビュー 活動
1
3月 15
5582
0
3月 15
4036
1
3月 15
12114
2
10月 24
12628
2
12月 17
9720