mirror of
https://gitlab.com/sonalarora/tra_backend.git
synced 2025-12-24 13:45:30 +02:00
74 lines
2.7 KiB
XML
74 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2015 DevIntelle Consulting Service Pvt.Ltd (<http://www.devintellecs.com>).
|
|
|
|
For Module Support : devintelle@gmail.com or Skype : devintelle
|
|
-->
|
|
<odoo>
|
|
<!--form-->
|
|
<record id="form_backend_inventory_view" model="ir.ui.view">
|
|
<field name="name">form.backend.inventory.view</field>
|
|
<field name="model">stock.move.location.lines</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Inventory View Form View">
|
|
<sheet>
|
|
<group>
|
|
<group>
|
|
<field name="product_id" options="{'no_create': True}"/>
|
|
<field name="location_id" options="{'no_create': True}"/>
|
|
</group>
|
|
<group>
|
|
<field name="qty"/>
|
|
<field name="uom"/>
|
|
</group>
|
|
</group>
|
|
</sheet>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<!--Tree-->
|
|
<record id="tree_backend_inventory_view" model="ir.ui.view">
|
|
<field name="name">tree.backend.inventory.view</field>
|
|
<field name="model">stock.move.location.lines</field>
|
|
<field name="arch" type="xml">
|
|
<tree string="Inventory View Tree View">
|
|
<field name="product_id"/>
|
|
<field name="qty"/>
|
|
<field name="uom"/>
|
|
<field name="location_id"/>
|
|
<field name="company_id"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
<!--search view-->
|
|
<record id="search_backend_inventory_view" model="ir.ui.view">
|
|
<field name="name">Inventory View - Search</field>
|
|
<field name="model">stock.move.location.lines</field>
|
|
<field name="arch" type="xml">
|
|
<search string="Inventory View Search">
|
|
<field name="product_id"/>
|
|
<group expand="0" string="Group By">
|
|
<filter name="location_id" string="Location" context="{'group_by':'location_id'}"/>
|
|
<filter name="company_id" string="Owner" context="{'group_by':'company_id'}"/>
|
|
</group>
|
|
</search>
|
|
</field>
|
|
</record>
|
|
|
|
<!--Action-->
|
|
<record id="action_backend_inventory_view" model="ir.actions.act_window">
|
|
<field name="name">Inventory View</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">stock.move.location.lines</field>
|
|
<field name="view_mode">tree,form</field>
|
|
</record>
|
|
|
|
<!--Menus-->
|
|
<menuitem name="Inventory View"
|
|
id="menu_backend_inventory_view"
|
|
parent="stock.menu_warehouse_report"
|
|
action="action_backend_inventory_view"
|
|
sequence="0"/>
|
|
</odoo> |