[IMP] stock: backorder wizard

Replaces <p> by <div> and gives a name to the first paragraph to make an
override easier (for now, overrided by `stock_barcode`).

task-2666478

Part-of: odoo/odoo#91807
This commit is contained in:
svs-odoo
2022-09-06 22:30:45 +02:00
parent 122190b31b
commit fc5d1fe149
@@ -6,13 +6,13 @@
<field name="arch" type="xml">
<form string="Backorder creation">
<group>
<p>
<div><p name="explanation-text">
You have processed less products than the initial demand.
</p><p class="text-muted">
</p></div><div class="text-muted">
Create a backorder if you expect to process the remaining
products later. Do not create a backorder if you will not
process the remaining products.
</p>
</div>
</group>
<!-- Added to ensure a correct default_get behavior
@@ -36,7 +36,7 @@
<footer>
<button name="process" string="Create Backorder" type="object" class="oe_highlight" data-hotkey="q"/>
<button name="process_cancel_backorder" string="No Backorder" type="object" class="btn-primary" attrs="{'invisible': [('show_transfers', '=', True)]}" data-hotkey="w"/>
<button string="_Cancel" class="btn-secondary" special="cancel" data-hotkey="z" />
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z" />
</footer>
</form>
</field>