← Back to team overview

openerp-india team mailing list archive

[Bug 1217394] Re: [7.0] stock: incorrect use of form_view_ref in views

 

*** This bug is a duplicate of bug 1214801 ***
    https://bugs.launchpad.net/bugs/1214801

** This bug has been marked a duplicate of bug 1214801
   stock: wrong use of form/tree_view_ref in context

-- 
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/1217394

Title:
  [7.0] stock: incorrect use of form_view_ref in views

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  lp:1214799 explains how when using form_view_ref or tree_view_ref in a
  view, you need to use the qualified xml_id (module_name.view_id) and
  not the shortcut.

  Here are a few lines found with grep when the stock  views fail to do
  this:

  ./stock/stock_view.xml:                            <field
  name="move_lines" context="{'address_in_id': partner_id,
  'form_view_ref':'view_move_picking_form',
  'tree_view_ref':'view_move_picking_tree', 'picking_type': 'internal'}"
  options='{"reload_on_button": true}'/>

  ./stock/stock_view.xml:                    <field name="move_lines" context="{'address_out_id': partner_id, 'picking_type': 'out', 
  'form_view_ref':'view_move_picking_form', 'tree_view_ref':'view_move_picking_tree'}" options='{"reload_on_button": true}'/>

  ./stock/stock_view.xml:                    <field name="move_lines"
  context="{'address_in_id': partner_id, 'picking_type': 'in',
  'form_view_ref':'view_move_picking_form',
  'tree_view_ref':'view_move_picking_tree'}"
  options='{"reload_on_button": true}'/>

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


References