[FIX] account: P&L report target_moves selection should be allowed like all accounting reports

bzr revid: odo@openerp.com-20110926141124-i7fow4pczlvfg6ti
This commit is contained in:
Olivier Dony
2011-09-26 16:11:24 +02:00
parent 124c990e7b
commit b0370edcb6
2 changed files with 0 additions and 4 deletions
@@ -37,7 +37,6 @@ class account_pl_report(osv.osv_memory):
_defaults = {
'display_type': False,
'journal_ids': [],
'target_move': False
}
def _print_report(self, cr, uid, ids, data, context=None):
@@ -9,9 +9,6 @@
<field name="inherit_id" ref="account.account_common_report_view" />
<field name="arch" type="xml">
<data>
<xpath expr="//field[@name='target_move']" position="replace">
<field name="target_move" required="0" readonly="1"/>
</xpath>
<xpath expr="//field[@name='journal_ids']" position="replace">
<field name="journal_ids" required="0" colspan="4" nolabel="1" readonly="1"/>
</xpath>