summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Vora (OpenERP) <jvo@tinyerp.com>2011-02-01 16:08:53 +0530
committerJay Vora (OpenERP) <jvo@tinyerp.com>2011-02-01 16:08:53 +0530
commit175606ceeb6ef31e40ff90edf044a697e8f5097b (patch)
tree4112b49d3bf03eb66ace12bd1211f39b4a1ce0f9
parentd562af0f5ca2a560c7f3c5d02acd485379f3cdbb (diff)
[FIX] Account_payment : Corrected context on creation of new payment line for an unsaved payment order
bzr revid: jvo@tinyerp.com-20110201103853-shnh8a3h8nf1gqkz
-rw-r--r--addons/account_payment/account_payment_view.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account_payment/account_payment_view.xml b/addons/account_payment/account_payment_view.xml
index 5c935f188fb..b829748cb93 100644
--- a/addons/account_payment/account_payment_view.xml
+++ b/addons/account_payment/account_payment_view.xml
@@ -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">