1
<separator string="General" colspan="4"/>
2
<group colspan="2" col="2">
3
<field name="company_id" widget="selection"/>
4
<field name="posting_date_from" string="Posting date"/>
5
<field name="document_date_from" string="Document date"/>
6
<field name="document_code"/>
7
<field name="analytic_axis" attrs="{'invisible': [('model', '=', 'account.move.line')], 'required': [('model', '=', 'account.analytic.line')]}"/>
9
<group colspan="2" col="2">
15
<field name="posting_date_to" string="to"/>
16
<field name="document_date_to" string="to"/>
17
<field name="document_state" colspan="1" attrs="{'invisible': [('model', '!=', 'account.move.line')]}"/>
19
<separator string="Accounting" colspan="4"/>