summaryrefslogtreecommitdiff
path: root/fixco_custom/views/stock_picking.xml
blob: 17ed3e008263d3c117da098c418bbb19e0979c9c (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
    <data>
        <record id="stock_picking_form_view_inherit" model="ir.ui.view">
            <field name="name">Stock Picking</field>
            <field name="model">stock.picking</field>
            <field name="inherit_id" ref="stock.view_picking_form"/>
            <field name="arch" type="xml">
                <button name="action_confirm" position="before">
                    <button name="label_ginee"
                            string="Print Label Ginee"
                            type="object"
                    />
                </button>

                <group name="other_infos" position="after">
                    <group string="Shipping Information" name="shipping_infos">
                        <field name="order_reference" readonly="1"/>
                        <field name="provider_name" readonly="1"/>
                        <field name="tracking_number" readonly="1"/>
                        <field name="invoice_number" readonly="1"/>
                        <field name="pdf_label_url" readonly="1" widget="url"/>
                    </group>
                </group>

                <page name="note" position="after">
                    <page string="Check Product" name="check_product">
                        <field name="check_product_lines"/>
                    </page>
                </page>
            </field>
        </record>

        <record id="check_product_tree" model="ir.ui.view">
            <field name="name">check.product.tree</field>
            <field name="model">check.product</field>
            <field name="arch" type="xml">
                <tree editable="bottom" decoration-warning="status == 'Pending'" decoration-success="status == 'Done'">
                    <field name="code_product"/>
                    <field name="product_id"/>
                    <field name="quantity"/>
                    <field name="status" readonly="1"/>
                </tree>
            </field>
        </record>
    </data>
</odoo>