[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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user