← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 532673] Re: Context field type confused with string

 

** Changed in: openobject-client-web
       Status: Fix Committed => Fix Released

-- 
Context field type confused with string
https://bugs.launchpad.net/bugs/532673
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Web Client: Fix Released

Bug description:
Gtk client works fine.

In the deliveryry module: delivery_view.xml, is defined a context="{'order_id':id}" in  the record :
<record id="view_order_withcarrier_form" model="ir.ui.view">
            <field name="name">delivery.sale.order_withcarrier.form.view</field>
            <field name="type">form</field>
            <field name="model">sale.order</field>
            <field name="inherit_id" ref="sale.view_order_form"/>
            <field name="arch" type="xml">
                <separator string="Notes" position="before">
                    <field name="id" invisible="True"/>
                    <field name="carrier_id" context="{'order_id':id}"/>
                </separator>
            </field>
        </record>

this context value make client-web crashes because its type is confused with string type instead a dictionnary one.