File: party.xml

package info (click to toggle)
tryton-modules-purchase 1.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 416 kB
  • ctags: 320
  • sloc: python: 2,067; xml: 990; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 816 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?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_purchase_form2">
            <field name="name">Purchases</field>
            <field name="res_model">purchase.purchase</field>
            <field name="view_type">form</field>
            <field name="domain">[("party", "=", 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,0</field>
            <field name="action" ref="act_purchase_form2"/>
        </record>

    </data>
</tryton>