File: product.xml

package info (click to toggle)
tryton-modules-web-shop 7.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 496 kB
  • sloc: python: 592; xml: 244; makefile: 11; sh: 3
file content (52 lines) | stat: -rw-r--r-- 2,222 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
<?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="product_template_view_form">
            <field name="model">product.template</field>
            <field name="inherit" ref="product.template_view_form"/>
            <field name="name">product_template_form</field>
        </record>

        <record model="ir.ui.view" id="product_product_view_form">
            <field name="model">product.product</field>
            <field name="inherit" ref="product.product_view_form"/>
            <field name="name">product_product_form</field>
        </record>

        <record model="ir.ui.view" id="product_category_view_form">
            <field name="model">product.category</field>
            <field name="inherit" ref="product.category_view_form"/>
            <field name="name">product_category_form</field>
        </record>
    </data>

    <data depends="product_attribute">
        <record model="ir.ui.view" id="attribute_view_form">
            <field name="model">product.attribute</field>
            <field name="inherit" ref="product_attribute.attribute_view_form"/>
            <field name="name">product_attribute_form</field>
        </record>
    </data>

    <data depends="product_image">
        <record model="ir.ui.view" id="product_image_view_list">
            <field name="model">product.image</field>
            <field name="inherit" ref="product_image.image_view_list"/>
            <field name="name">product_image_list</field>
        </record>

        <record model="ir.ui.view" id="product_image_view_form">
            <field name="model">product.image</field>
            <field name="inherit" ref="product_image.image_view_form"/>
            <field name="name">product_image_form</field>
        </record>

        <record model="ir.ui.view" id="product_image_view_list_form">
            <field name="model">product.image</field>
            <field name="inherit" ref="product_image.image_view_list_form"/>
            <field name="name">product_image_form</field>
        </record>
    </data>
</tryton>