mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
36 lines
1.5 KiB
XML
36 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<odoo>
|
|
<record id="view_stock_move_line_operation_tree" model="ir.ui.view">
|
|
<field name="name">stock.move.line.operations.tree.vertical.lift</field>
|
|
<field name="model">stock.move.line</field>
|
|
<field
|
|
name="inherit_id"
|
|
ref="stock_location_tray.view_stock_move_line_operation_tree"
|
|
/>
|
|
<field name="arch" type="xml">
|
|
<button name="action_show_source_tray" position="before">
|
|
<button
|
|
name="fetch_vertical_lift_tray_source"
|
|
string="Fetch Source Tray"
|
|
type="object"
|
|
icon="fa-hand-paper-o"
|
|
attrs="{'invisible': [('tray_source_matrix', '=', {})]}"
|
|
invisible="not context.get('show_source_location')"
|
|
groups="stock.group_stock_multi_locations"
|
|
/>
|
|
</button>
|
|
<button name="action_show_dest_tray" position="before">
|
|
<button
|
|
name="fetch_vertical_lift_tray_dest"
|
|
string="Fetch Destination Tray"
|
|
type="object"
|
|
icon="fa-hand-paper-o"
|
|
attrs="{'invisible': [('tray_dest_matrix', '=', {})]}"
|
|
invisible="not context.get('show_destination_location')"
|
|
groups="stock.group_stock_multi_locations"
|
|
/>
|
|
</button>
|
|
</field>
|
|
</record>
|
|
</odoo>
|