[IMP] account: set breadcum Journal Items in bank statement, and align filter by field in partner ladger wizard.

bzr revid: nco@tinyerp.com-20130529092636-0e81g0zx96butvmm
This commit is contained in:
Mahendra Barad (OpenERP Trainee) 2013-05-29 14:56:36 +05:30 committed by Nimesh Contractor (OpenERP)
parent 814a121dab
commit 82fe0985a5
2 changed files with 2 additions and 1 deletions

View File

@ -491,6 +491,7 @@ class account_bank_statement(osv.osv):
ctx = (context or {}).copy()
ctx['journal_id'] = self.browse(cr, uid, ids[0], context=context).journal_id.id
return {
'name':'Journal Items',
'view_type':'form',
'view_mode':'tree',
'res_model':'account.move.line',

View File

@ -15,7 +15,7 @@
<newline/>
</xpath>
<xpath expr="//field[@name='filter']" position="replace">
<field name="filter" on_change="onchange_filter(filter, fiscalyear_id)" colspan="4"/>
<field name="filter" on_change="onchange_filter(filter, fiscalyear_id)"/>
<field name="initial_balance" attrs="{'readonly':[('filter', 'in', ('filter_no', 'unreconciled'))]}" />
</xpath>
</data>