| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<odoo> |
| 3 |
<record id="confirm_expiry_view" model="ir.ui.view"> |
| 4 |
<field name="name">Confirm</field> |
| 5 |
<field name="model">expiry.picking.confirmation</field> |
| 6 |
<field name="arch" type="xml"> |
| 7 |
<form string="Confirmation"> |
| 8 |
<p> |
| 9 |
<field name="description"/> |
| 10 |
</p> |
| 11 |
<field name="show_lots" invisible="1"/> |
| 12 |
<field name="lot_ids" invisible="not show_lots"> |
| 13 |
<list string="Expired Lot(s)"> |
| 14 |
<field name="product_id"/> |
| 15 |
<field name="name"/> |
| 16 |
</list> |
| 17 |
</field> |
| 18 |
<footer> |
| 19 |
<button name="process" |
| 20 |
string="Confirm" |
| 21 |
type="object" |
| 22 |
data-hotkey="q" |
| 23 |
class="btn-primary"/> |
| 24 |
<button name="process_no_expired" |
| 25 |
string="Proceed except expired" |
| 26 |
type="object" |
| 27 |
data-hotkey="w" |
| 28 |
class="btn-secondary"/> |
| 29 |
<button string="Discard" |
| 30 |
class="btn-secondary" |
| 31 |
special="cancel" data-hotkey="x"/> |
| 32 |
</footer> |
| 33 |
</form> |
| 34 |
</field> |
| 35 |
</record> |
| 36 |
</odoo> |