File: stock.xml

package info (click to toggle)
tryton-modules-stock-package-shipping 7.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 412 kB
  • sloc: python: 519; xml: 177; makefile: 11; sh: 3
file content (95 lines) | stat: -rw-r--r-- 4,514 bytes parent folder | download
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?xml version="1.0"?>
<!-- This file is part of Tryton.  The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
    <data>

        <record model="ir.ui.view" id="package_view_form">
            <field name="model">stock.package</field>
            <field name="inherit" ref="stock_package.package_view_form"/>
            <field name="name">package_form</field>
        </record>
        <record model="ir.ui.view" id="package_view_tree">
            <field name="model">stock.package</field>
            <field name="inherit" ref="stock_package.package_view_tree"/>
            <field name="name">package_list</field>
        </record>

        <record model="ir.model.button" id="package_print_shipping_label_button">
            <field name="name">print_shipping_label</field>
            <field name="string">Shipping Label</field>
            <field name="model" search="[('model', '=', 'stock.package')]"/>
        </record>

        <record model="ir.ui.view" id="shipment_out_view_form">
            <field name="model">stock.shipment.out</field>
            <field name="inherit" ref="stock.shipment_out_view_form"/>
            <field name="name">shipment_out_form</field>
        </record>

        <record model="ir.ui.view" id="shipment_out_view_list">
            <field name="model">stock.shipment.out</field>
            <field name="inherit" ref="stock.shipment_out_view_tree"/>
            <field name="name">shipment_out_list</field>
        </record>

        <record model="ir.model.button"
                id="shipment_out_create_shipping_button">
            <field name="name">create_shipping</field>
            <field name="string">Create Shipping for Packages</field>
            <field name="model"
                search="[('model', '=', 'stock.shipment.out')]"/>
        </record>

        <record model="ir.ui.view" id="shipment_in_return_view_form">
            <field name="model">stock.shipment.in.return</field>
            <field name="inherit" ref="stock.shipment_in_return_view_form"/>
            <field name="name">shipment_in_return_form</field>
        </record>

        <record model="ir.ui.view" id="shipment_in_return_view_list">
            <field name="model">stock.shipment.in.return</field>
            <field name="inherit" ref="stock.shipment_in_return_view_tree"/>
            <field name="name">shipment_in_return_list</field>
        </record>

        <record model="ir.model.button" id="shipment_in_return_create_shipping_button">
            <field name="name">create_shipping</field>
            <field name="string">Create Shipping for Packages</field>
            <field name="model" search="[('model', '=', 'stock.shipment.in.return')]"/>
        </record>

        <record model="ir.action.wizard" id="act_create_shipping_wizard">
            <field name="name">Create Shipping</field>
            <field name="wiz_name">stock.shipment.create_shipping</field>
        </record>

        <record model="ir.action.report" id="report_shipping_label">
            <field name="name">Shipping Label</field>
            <field name="model">stock.package</field>
            <field name="report_name">stock.package.shipping_label</field>
            <field name="single" eval="True"/>
            <field name="template_extension">txt</field>
        </record>
        <record model="ir.action.keyword" id="report_shipping_label_keyword">
            <field name="keyword">form_print</field>
            <field name="model">stock.package,-1</field>
            <field name="action" ref="report_shipping_label"/>
        </record>

        <record model="ir.action.wizard" id="wizard_print_shipping_label">
            <field name="name">Shipping Labels</field>
            <field name="wiz_name">stock.shipment.print_shipping_label</field>
        </record>
        <record model="ir.action.keyword" id="wizard_print_shipping_label_keyword_shipment_out">
            <field name="keyword">form_print</field>
            <field name="model">stock.shipment.out,-1</field>
            <field name="action" ref="wizard_print_shipping_label"/>
        </record>
        <record model="ir.action.keyword" id="wizard_print_shipping_label_keyword_shipment_in_return">
            <field name="keyword">form_print</field>
            <field name="model">stock.shipment.in.return,-1</field>
            <field name="action" ref="wizard_print_shipping_label"/>
        </record>
    </data>
</tryton>