[FIX] delivery: Regression on Delivery module: 'active_id' can cause error on context for a new unsaved record

lp bug: https://launchpad.net/bugs/681773 fixed

bzr revid: mra@mra-laptop-20101217052433-k28zhwag0zijezze
This commit is contained in:
JVO(OpenERP)
2010-12-17 10:54:33 +05:30
committed by Mustufa Rangwala
parent b0f61a9546
commit 84026a2e2a
+1 -1
View File
@@ -133,7 +133,7 @@
<field name="arch" type="xml">
<group name="logistics" position="inside">
<field name="id" invisible="True"/>
<field name="carrier_id" context="{'order_id':active_id}"/>
<field name="carrier_id" context="{'order_id':active_id or False}"/>
</group>
</field>
</record>