File: party.xml

package info (click to toggle)
tryton-modules-stock 2.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,044 kB
  • sloc: python: 4,468; xml: 2,520; makefile: 7
file content (41 lines) | stat: -rw-r--r-- 1,826 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
<?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.action.act_window" id="act_shipment_out_form2">
            <field name="name">Customer Shipments</field>
            <field name="res_model">stock.shipment.out</field>
            <field name="domain">[("customer", "=", Eval('active_id'))]</field>
        </record>
        <record model="ir.action.keyword"
                id="act_open_purchase_keyword1">
            <field name="keyword">form_relate</field>
            <field name="model">party.party,-1</field>
            <field name="action" ref="act_shipment_out_form2"/>
        </record>
        <record model="ir.action-res.group"
            id="act_shipment_out_form2-group_stock">
            <field name="action" ref="act_shipment_out_form2"/>
            <field name="group" ref="group_stock"/>
        </record>

        <record model="ir.action.act_window" id="act_shipment_out_form3">
            <field name="name">Supplier Shipments</field>
            <field name="res_model">stock.shipment.in</field>
            <field name="domain">[("supplier", "=", Eval('active_id'))]</field>
        </record>
        <record model="ir.action.keyword"
                id="act_open_purchase_keyword2">
            <field name="keyword">form_relate</field>
            <field name="model">party.party,-1</field>
            <field name="action" ref="act_shipment_out_form3"/>
        </record>
        <record model="ir.action-res.group"
            id="act_shipment_out_form3-group_stock">
            <field name="action" ref="act_shipment_out_form3"/>
            <field name="group" ref="group_stock"/>
        </record>

    </data>
</tryton>