Context field type confused with string

Bug #532673 reported by Sam http://www.smile.fr
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web Client
Fix Released
Undecided
Unassigned

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.

Related branches

Revision history for this message
Sananaz (Open ERP) (sma-tiny) wrote :

Hello,

Its fixed in stable(lp:openobject-addons/5.0). Please update your code and notify us.

Revision-info:
2634 <email address hidden>

Thanks.

Changed in openobject-client-web:
status: New → Fix Committed
Revision history for this message
Sam http://www.smile.fr (samir-rachedi) wrote :

Thanks, It works well ;)

Changed in openobject-client-web:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.