[7.0][stock] stock.picking.out search view has wrong model, breaks view inheritance

Bug #1243640 reported by PabloCM
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Medium
OpenERP R&D Addons Team 2

Bug Description

The search view for stock.picking.out has the model stock.picking. This makes it impossible to inherit the view and modify the options shown in the search box when you go to Warehouse->Delivery Orders.

As of nightly build openerp-7.0-20131022-232438, the view is declared as follows in stock/stock_view.xml:923
        <record id="view_picking_out_search" model="ir.ui.view">
            <field name="name">stock.picking.out.search</field>
            <field name="model">stock.picking</field>
            <field name="arch" type="xml">
            .....

I have successfully inherited the search view for stock.picking.in (which has a correct model set), but doing the same (inherit search view and change the "search_view_id" of the corresponding action window) does not work for outgoing pickings.

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Medium
status: New → Confirmed
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.