File: stock.xml

package info (click to toggle)
tryton-modules-stock-package-shipping 5.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 340 kB
  • sloc: python: 317; xml: 111; makefile: 6; sh: 3
file content (47 lines) | stat: -rw-r--r-- 1,988 bytes parent folder | download | duplicates (2)
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"?>
<!-- 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>

        <menuitem name="Shipping" sequence="80"
            id="menu_package_shipping_configuration"
            parent="stock.menu_configuration"/>

        <record model="ir.ui.view" id="package_type_view_form">
            <field name="model">stock.package.type</field>
            <field name="inherit" ref="stock_package.package_type_view_form"/>
            <field name="name">package_type_form</field>
        </record>

        <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.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.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.action.wizard" id="act_create_shipping_wizard">
            <field name="name">Create Shipping</field>
            <field name="wiz_name">stock.shipment.create_shipping</field>
        </record>
    </data>
</tryton>