[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:
committed by
Mustufa Rangwala
parent
b0f61a9546
commit
84026a2e2a
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user