<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2021 ACSONE SA/NV
     License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -->
<odoo>
  <record model="ir.ui.view" id="stock_move_tree_view">
    <field name="name">stock.move.tree (in stock_grn)</field>
    <field name="model">stock.move</field>
    <field name="inherit_id" ref="stock.view_move_tree" />
    <field name="arch" type="xml">
      <field name="state" position="after">
        <field name="grn_id" string="GRN" />
      </field>
    </field>
  </record>
  <record id="stock_move_search_view" model="ir.ui.view">
    <field name="name">stock.move.search (in stock_grn)</field>
    <field name="model">stock.move</field>
    <field name="inherit_id" ref="stock.view_move_search" />
    <field name="arch" type="xml">
      <filter name="done" position="after">
        <separator />
        <filter name="grn" string="Received (GRN)" domain="[('grn_id', '!=', False)]" />
        <filter
                    name="nogrn"
                    string="Not Received (GRN)"
                    domain="[('grn_id', '=', False)]"
                />
      </filter>
    </field>
  </record>
</odoo>
