← Back to team overview

openerp-india team mailing list archive

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

 

Public bug reported:

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.

** Affects: openobject-addons
     Importance: Undecided
         Status: New


** Tags: picking search stock view

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1243640

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

Status in OpenERP Addons (modules):
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1243640/+subscriptions


Follow ups

References