[FIX] Account_payment : Corrected context on creation of new payment line for an unsaved payment order

bzr revid: mra@mra-laptop-20110201104402-rkxr1e0moyxo7hm6
This commit is contained in:
Jay (Openerp) 2011-02-01 16:14:02 +05:30 committed by Mustufa Rangwala
parent 4687a1873e
commit 64061cbad6
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@
<field name="date_scheduled" select="1" attrs="{'readonly':[('date_prefered','!=','fixed')]}" />
<button colspan="2" name="%(action_create_payment_order)d" string="Select Invoices to Pay" type="action" attrs="{'invisible':[('state','=','done')]}" icon="gtk-find"/>
</group>
<field name="line_ids" colspan="4" widget="one2many_list" nolabel="1" default_get="{'order_id': active_id}" >
<field name="line_ids" colspan="4" widget="one2many_list" nolabel="1" default_get="{'order_id': active_id or False}" >
<form string="Payment Line">
<notebook>
<page string="Payment">