merge lp:~openerp-dev/openobject-addons/trunk-clean-search-account_coda-tpa

bzr revid: jam@tinyerp.com-20120723121316-84b2epxw5dhai7p2
This commit is contained in:
Jigar Amin - OpenERP
2012-07-23 17:43:16 +05:30
+25 -50
View File
@@ -12,18 +12,13 @@
<field name="type">search</field>
<field name="arch" type="xml">
<search string="CODA Bank Account Configuration">
<field name="name"
filter_domain="['|', ('name','ilike',self), ('description1','ilike',self)]"
string="CODA Bank Account"/>
<separator orientation="vertical"/>
<filter string="Normal" domain="[('state','=','normal')]" icon="terp-folder-green"/>
<filter string="Info" domain="[('state','=','info')]" icon="terp-folder-yellow"/>
<separator orientation="vertical"/>
<field name="name" filter_domain="['|', ('name','ilike',self), ('description1','ilike',self)]" string="CODA Bank Account"/>
<field name="bank_id"/>
<field name="journal"/>
<field name="currency" widget="selection"/>
<field name="company_id" widget="selection" groups="base.group_multi_company"/>
<newline/>
<field name="currency"/>
<field name="company_id" groups="base.group_multi_company"/>
<filter string="Normal" domain="[('state','=','normal')]" icon="terp-folder-green"/>
<filter string="Info" domain="[('state','=','info')]" icon="terp-folder-yellow"/>
<group expand="0" string="Group By...">
<filter string="Bank Account" icon="terp-folder-yellow" domain="[]" context="{'group_by':'bank_id'}"/>
<filter string="Currency" icon="terp-dolar" domain="[]" context="{'group_by':'currency'}"/>
@@ -271,20 +266,15 @@
<field name="type">search</field>
<field name="arch" type="xml">
<search string="Search CODA Files">
<group col="10" colspan="4">
<field name="coda_creation_date"/>
<field name="date"/>
<field name="user_id" widget='selection'/>
<field name="company_id" widget="selection" groups="base.group_multi_company"/>
</group>
<newline/>
<group expand="0" string="Group By...">
<filter string="CODA Creation Date" icon="terp-go-month" domain="[]" context="{'group_by':'coda_creation_date'}"/>
<separator orientation="vertical"/>
<filter string="User" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}"/>
<separator orientation="vertical"/>
<filter string="Company" icon="terp-go-home" domain="[]" groups="base.group_multi_company" context="{'group_by':'company_id'}"/>
</group>
<field name="user_id"/>
<field name="company_id" groups="base.group_multi_company"/>
<group expand="0" string="Group By...">
<filter string="CODA Creation Date" icon="terp-go-month" domain="[]" context="{'group_by':'coda_creation_date'}"/>
<filter string="User" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}"/>
<filter string="Company" icon="terp-go-home" domain="[]" groups="base.group_multi_company" context="{'group_by':'company_id'}"/>
</group>
</search>
</field>
</record>
@@ -389,20 +379,13 @@
<field name="type">search</field>
<field name="arch" type="xml">
<search string="Search CODA Bank Statements">
<group col="8" colspan="4">
<field name="name"
string="CODA Bank Statement"/>
<separator orientation="vertical"/>
<field name="date"/>
<separator orientation="vertical"/>
<filter string="Normal" domain="[('type','=','normal')]" icon="terp-folder-green"/>
<filter string="Info" domain="[('type','=','info')]" icon="terp-folder-yellow"/>
<separator orientation="vertical"/>
<field name="period_id"/>
<field name="coda_bank_account_id"/>
<field name="journal_id" widget="selection" domain="[('type', '=', 'bank')]"/>
</group>
<newline/>
<field name="name" string="CODA Bank Statement"/>
<field name="date"/>
<field name="period_id"/>
<field name="coda_bank_account_id"/>
<field name="journal_id" domain="[('type', '=', 'bank')]"/>
<filter string="Normal" domain="[('type','=','normal')]" icon="terp-folder-green"/>
<filter string="Info" domain="[('type','=','info')]" icon="terp-folder-yellow"/>
<group expand="0" string="Group By...">
<filter string="Journal" context="{'group_by': 'journal_id'}" icon="terp-folder-orange"/>
<filter string="Period" context="{'group_by': 'period_id'}" icon="terp-go-month"/>
@@ -481,20 +464,12 @@
<field name="type">search</field>
<field name="arch" type="xml">
<search string="Search Bank Transactions">
<group col='6' colspan='4'>
<field name="name"
filter_domain="['|', ('name','ilike',self), ('ref','ilike',self)]"
string="Bank Transaction"/>
<separator orientation="vertical"/>
<field name="val_date"/>
<separator orientation="vertical"/>
<filter name="debit" string="Debit" domain="[('amount','&gt;',0)]" icon="terp-folder-green" help="Debit Transactions."/>
<filter name="credit" string="Credit" domain="[('amount','&lt;',0)]" icon="terp-folder-orange" help="Credit Transactions."/>
<separator orientation="vertical"/>
<field name="statement_id"/>
<field name="globalisation_id" string="Glob. Id"/>
</group>
<newline/>
<field name="name" filter_domain="['|', ('name','ilike',self), ('ref','ilike',self)]" string="Bank Transaction"/>
<field name="val_date"/>
<field name="statement_id"/>
<field name="globalisation_id" string="Glob. Id"/>
<filter name="debit" string="Debit" domain="[('amount','&gt;',0)]" icon="terp-folder-green" help="Debit Transactions."/>
<filter name="credit" string="Credit" domain="[('amount','&lt;',0)]" icon="terp-folder-orange" help="Credit Transactions."/>
<group expand="0" string="Extended Filters...">
<field name="coda_bank_account_id"/>
<field name="account_id"/>