[FIX] purchase_stock: add sequence to new view

The commit 6eaa4a2ae3 introduced a new
view on model supplier info. The issue is that this new view is meant to
be used on supplier info as One2Many on stock.orderpoint and so contains
some `parent.` relation.

As no sequence has been set. This view replaced the original one in the
Purchase Configuration menu. Leading to some error as `parent.` in not
defined for standalone tree view.

This commit set a sequence on this new view to ensure it is used only on
the orderpoint form view.

closes odoo/odoo#73212

Signed-off-by: William Henrotin <Whenrow@users.noreply.github.com>
This commit is contained in:
William Henrotin
2021-07-05 09:53:58 +00:00
parent 8ccacf58af
commit 2d6fd0e7b9
@@ -6,6 +6,7 @@
<field name="model">product.supplierinfo</field>
<field name="inherit_id" ref="product.product_supplierinfo_tree_view"/>
<field name="mode">primary</field>
<field name="priority">100</field>
<field name="arch" type="xml">
<field name="delay" position="after">
<field name="show_set_supplier_button" invisible="1"/>