Hi,

I'm trying to set a domain [1] in a one2many field of a form view. The 
field points to a account.move.line and I want to exclude those records 
that its field reconciliation are filled. Here is the code:

    <field name="lines"
        widget="many2many"
        colspan="6"
        view_ids="account.move_line_view_tree_move"
        domain="[('reconciliation', '=', False)]"/>

I've tried with None instead False, too. But either of them works fine for 
me.

I also tried to find out some sample code to reproduce it, but I've had not 
lucky.

Any suggestion?

[1] http://doc.tryton.org/2.6/trytond/doc/topics/views/index.html#field

Reply via email to