mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
@@ -17,4 +17,22 @@
|
||||
</button>
|
||||
</field>
|
||||
</record>
|
||||
<record model="ir.ui.view" id="stock_move_manual_quants_form_view">
|
||||
<field name="name">stock.move.form</field>
|
||||
<field name="model">stock.move</field>
|
||||
<field name="inherit_id" ref="stock.view_move_form" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="product_uom_qty" position="after">
|
||||
<field name="picking_code" invisible="1" />
|
||||
<button
|
||||
name="%(assign_manual_quants_action)d"
|
||||
type="action"
|
||||
icon="fa-tags"
|
||||
title="Manual Quants"
|
||||
options='{"warn": true}'
|
||||
attrs="{'invisible':['|',('picking_code','=','incoming'),('state','not in',('confirmed','assigned','partially_available'))]}"
|
||||
/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user