Files
odoo_source/addons/mrp/wizard/stock_warn_insufficient_qty_views.xml
T
Rémy Voet (ryv)andAnkita Raval 8458cc1867 [IMP] stock, mrp, repair: improve the insufficient quantity wizards
Improve the inherited wizards of 'stock.warn.insufficient.qty' by adding
some piece of information about the quantity involved. Also
change titles to integrated the related product into.

task-2144636

Co-authored-by: Ankita Raval <anr@odoo.com>
2020-01-24 10:47:43 +00:00

14 lines
825 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="stock_warn_insufficient_qty_unbuild_form_view" model="ir.ui.view">
<field name="name">stock.warn.insufficient.qty.unbuild</field>
<field name="model">stock.warn.insufficient.qty.unbuild</field>
<field name="inherit_id" ref="stock.stock_warn_insufficient_qty_form_view"/>
<field name="arch" type="xml">
<xpath expr="//div[@name='description']" position="inside">
Do you confirm you want to unbuild <strong><field name="quantity" readonly="True"/></strong><field name="product_uom_name" readonly="True" class="mx-1"/>from location <strong><field name="location_id" readonly="True"/></strong>? This may lead to inconsistencies in your inventory.
</xpath>
</field>
</record>
</odoo>