Comment 3 for bug 1137399

Revision history for this message
bruno bottacini (bruno-bottacini) wrote :

I solved by replacing

<field name="domain">['|','&amp;',('account_id.type','=','payable'),('debit','=',0),'&amp;',('account_id.type','=','receivable'),('credit','=',0)]</field>

with

        <field name="domain">['&amp;','|',('account_id.type','=','payable'),('account_id.type','=','receivable'),'|','|','|',('journal_id.code','=','SAJ'),('journal_id.code','=','EXJ'),('journal_id.code','=','SCNJ'),('journal_id.code','=','ECNJ')]</field>