[ADD] stock_quant_package_move_wizard
This commit is contained in:
28
stock_quant_package_move_wizard/views/stock_quant.xml
Normal file
28
stock_quant_package_move_wizard/views/stock_quant.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--
|
||||
Copyright 2022 Akretion France (http://www.akretion.com/)
|
||||
@author: Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
-->
|
||||
<odoo>
|
||||
|
||||
<!-- Maybe it's not a good idea to put a button on tree view of quants
|
||||
from product form view, because all the direct-access buttons on this tree
|
||||
view are for inventory, so it may be hard for users to understand that
|
||||
this button has nothing to do with inventory
|
||||
<record id="view_stock_quant_tree_inventory_editable" model="ir.ui.view">
|
||||
<field name="model">stock.quant</field>
|
||||
<field name="inherit_id" ref="stock.view_stock_quant_tree_inventory_editable" />
|
||||
<field name="arch" type="xml">
|
||||
<button name="stock.action_stock_inventory_adjustement_name" position="before">
|
||||
<button
|
||||
type="action"
|
||||
name="%(stock_quant_move_wizard_action)d"
|
||||
string="Move"
|
||||
/>
|
||||
</button>
|
||||
</field>
|
||||
</record>
|
||||
-->
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user