File: product.xml

package info (click to toggle)
tryton-modules-product-classification 5.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 320 kB
  • sloc: python: 186; xml: 72; makefile: 6; sh: 3
file content (40 lines) | stat: -rw-r--r-- 1,810 bytes parent folder | download | duplicates (3)
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
<?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 parent="product.menu_main_product" sequence="40"
            id="menu_classification" name="Classifications"/>

        <record model="ir.ui.view" id="template_view_form">
            <field name="model">product.template</field>
            <field name="inherit" ref="product.template_view_form"/>
            <field name="name">template_form</field>
        </record>

        <record model="ir.ui.view" id="classification_view_list">
            <field name="model">product.classification.dummy</field>
            <field name="type">tree</field>
            <field name="name">classification_list</field>
        </record>
        <record model="ir.ui.view" id="classification_view_form">
            <field name="model">product.classification.dummy</field>
            <field name="type">form</field>
            <field name="name">classification_form</field>
        </record>

        <record model="ir.ui.view" id="classification_tree_view_tree">
            <field name="model">product.classification_tree.dummy</field>
            <field name="inherit" ref="classification_view_list"/>
            <field name="field_childs">childs</field>
            <field name="name">classification_tree_tree</field>
        </record>
        <record model="ir.ui.view" id="classification_tree_view_form">
            <field name="model">product.classification_tree.dummy</field>
            <field name="inherit" ref="classification_view_form"/>
            <field name="name">classification_tree_form</field>
        </record>

        <!-- TODO generic relate to open product -->
    </data>
</tryton>