summaryrefslogtreecommitdiff
path: root/addons/stock/wizard/stock_track_confirmation_views.xml
blob: cc257a84301682ff22fc47eb490db6669c963e26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
    <record id="view_stock_track_confirmation" model="ir.ui.view">
        <field name="name">stock.track.confirmation.view.form</field>
        <field name="model">stock.track.confirmation</field>
        <field name="arch" type="xml">
            <form string="Lots or serial numbers were not provided to tracked products">
                <field name="inventory_id" invisible="1"/>
                <p>Some products of the inventory adjustment are tracked. Are you sure you don't want to specify a serial or lot number for them?</p>
                <strong>Product(s) tracked: </strong>
                <field name="tracking_line_ids" readonly="1">
                    <tree>
                        <field name="product_id"/>
                        <field name="tracking"/>
                    </tree>
                </field>
                <footer>
                    <button name="action_confirm" string="Confirm" type="object" class="btn-primary"/>
                    <button string="Discard" special="cancel" class="btn-secondary"/>
                </footer>
            </form>
        </field>
    </record>
</odoo>