<field name="type">search</field>
<field name="arch" type="xml">
<search string="Search Account">
- <group>
- <field name="sheet_id" />
- <field name="name" groups="analytic.group_analytic_accounting"/>
- <field name="invoice_rate"/>
- </group>
+ <field name="sheet_id" />
+ <field name="name" groups="analytic.group_analytic_accounting"/>
+ <field name="invoice_rate"/>
</search>
</field>
</record>
<field name="type">search</field>
<field name="arch" type="xml">
<search string="Search Timesheet">
- <group>
- <field name="date_from"/>
- <separator orientation="vertical"/>
- <filter icon="terp-document-new" string="In Draft" domain="[('state','in',('draft', 'new'))]" help="Unvalidated Timesheets"/>
- <filter icon="terp-camera_test" string="To Approve" domain="[('state','=','confirm')]" help="Confirmed Timesheets"/>
- <separator orientation="vertical"/>
- <field name="employee_id"/>
- <field name="department_id" widget="selection"/>
- </group>
- <newline/>
+ <field name="date_from"/>
+ <field name="employee_id"/>
+ <field name="department_id"/>
+ <filter icon="terp-document-new" string="In Draft" domain="[('state','in',('draft', 'new'))]" help="Unvalidated Timesheets"/>
+ <filter icon="terp-camera_test" string="To Approve" domain="[('state','=','confirm')]" help="Confirmed Timesheets"/>
<group expand="0" string="Group By...">
<filter string="Employees" icon="terp-personal" domain="[]" context="{'group_by':'employee_id'}"/>
<filter string="Department" icon="terp-personal+" domain="[]" context="{'group_by':'department_id'}"/>
<field name="type">search</field>
<field name="arch" type="xml">
<search string="Timesheet">
- <group>
- <field name="account_id" groups="analytic.group_analytic_accounting"/>
- <field name="user_id"/>
- </group>
- <newline/>
+ <field name="account_id" groups="analytic.group_analytic_accounting"/>
+ <field name="user_id"/>
<group expand="0" string="Extended Filters...">
<field name="general_account_id"/>
<field name="product_id"/>
<field name="journal_id"/>
- <separator orientation="vertical"/>
- <field name="company_id" widget="selection" groups="base.group_multi_company"/>
- <newline/>
+ <field name="company_id" groups="base.group_multi_company"/>
<field name="date" />
</group>
- <newline/>
<group expand="1" string="Group By...">
<filter string="User" name="group_user_id" icon="terp-personal" context="{'group_by':'user_id'}"/>
<filter string="Product" icon="terp-accessories-archiver" context="{'group_by':'product_id'}"/>
- <separator orientation="vertical" groups="analytic.group_analytic_accounting"/>
<filter string="Analytic Account" icon="terp-folder-green" context="{'group_by':'account_id'}" groups="analytic.group_analytic_accounting"/>
<filter string="General Account" icon="terp-folder-orange" context="{'group_by':'general_account_id'}"/>
<filter string="Company" icon="terp-go-home" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>
- <separator orientation="vertical"/>
<filter string="Day" icon="terp-go-today" context="{'group_by':'day'}" help="Group by day of date"/>
<filter string="Month" icon="terp-go-month" context="{'group_by':'month'}" help="Group by month of date"/>
<filter string="Year" icon="terp-go-year" context="{'group_by':'year'}" help="Group by year of date"/>
<field name="type">search</field>
<field name="arch" type="xml">
<search string="Timesheet">
- <group>
- <filter icon="terp-document-new"
- string="Draft"
- domain="[('state','=','draft')]"/>
- <filter icon="terp-camera_test"
- string="Confirmed"
- domain="[('state','=','confirm')]"/>
- <filter icon="terp-dialog-close"
- string="Done"
- domain="[('state','=','done')]"/>
- <separator orientation="vertical"/>
- <field name="account_id"/>
- <field name="user_id" />
- </group>
- <newline/>
+ <field name="account_id"/>
+ <field name="user_id" />
+ <filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]"/>
+ <filter icon="terp-camera_test" string="Confirmed" domain="[('state','=','confirm')]"/>
+ <filter icon="terp-dialog-close" string="Done" domain="[('state','=','done')]"/>
<group expand="0" string="Extended Filters...">
<field name="general_account_id"/>
- <field name="to_invoice" widget="selection"/>
- <separator orientation="vertical"/>
+ <field name="to_invoice"/>
<field name="product_id"/>
- <separator orientation="vertical"/>
- <field name="department_id" widget="selection"/>
- <separator orientation="vertical"/>
- <field name="company_id" widget="selection" groups="base.group_multi_company"/>
- <newline/>
+ <field name="department_id"/>
+ <field name="company_id" groups="base.group_multi_company"/>
<field name="date_current"/>
<field name="date_to"/>
<field name="date_from"/>
</group>
- <newline/>
<group expand="1" string="Group By...">
<filter string="User" name="User_id" icon="terp-personal" context="{'group_by':'user_id'}"/>
<filter string="Department" icon="terp-personal+" context="{'group_by':'department_id'}"/>
- <separator orientation="vertical"/>
<filter string="Product" icon="terp-accessories-archiver" context="{'group_by':'product_id'}"/>
- <separator orientation="vertical"/>
<filter string="Type of Invoicing" icon="terp-stock_symbol-selection" context="{'group_by':'to_invoice'}"/>
- <separator orientation="vertical"/>
<filter string="Analytic Account" icon="terp-folder-green" context="{'group_by':'account_id'}"/>
<filter string="General Account" icon="terp-folder-orange" context="{'group_by':'general_account_id'}"/>
- <separator orientation="vertical"/>
<filter string="Status" icon="terp-stock_effects-object-colorize" context="{'group_by':'state'}"/>
- <separator orientation="vertical"/>
<filter string="Company" icon="terp-go-home" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>
- <separator orientation="vertical"/>
<filter string="Day" icon="terp-go-today" context="{'group_by':'day'}" help="Group by day of date"/>
<filter string="Month" icon="terp-go-month" context="{'group_by':'month'}" help="Group by month of date"/>
<filter string="Year" icon="terp-go-year" context="{'group_by':'year'}" help="Group by year of date"/>