/usr/share/pyshared/trytond/modules/product/category.xml is in tryton-modules-product 2.2.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | <?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="category_view_list">
<field name="model">product.category</field>
<field name="type">tree</field>
<field name="priority">10</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Product Categories">
<field name="name"/>
<field name="rec_name"/>
</tree>
]]>
</field>
</record>
<record model="ir.ui.view" id="category_view_tree">
<field name="model">product.category</field>
<field name="type">tree</field>
<field name="priority">20</field>
<field name="field_childs">childs</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Product Categories" keyword_open="1">
<field name="name"/>
<field name="parent" tree_invisible="1"/>
<field name="childs" tree_invisible="1"/>
</tree>
]]>
</field>
</record>
<record model="ir.ui.view" id="category_view_form">
<field name="model">product.category</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Product Category">
<label name="name"/>
<field name="name"/>
<label name="parent"/>
<field name="parent"/>
<label name="rec_name"/>
<field name="rec_name" colspan="3"/>
<notebook colspan="4">
<page string="Children" col="1" id="childs">
<field name="childs"/>
</page>
</notebook>
</form>
]]>
</field>
</record>
<record model="ir.action.act_window" id="act_category_tree">
<field name="name">Categories</field>
<field name="res_model">product.category</field>
<field name="domain">[('parent', '=', False)]</field>
</record>
<record model="ir.action.act_window.view" id="act_category_tree_view1">
<field name="sequence" eval="10"/>
<field name="view" ref="category_view_tree"/>
<field name="act_window" ref="act_category_tree"/>
</record>
<record model="ir.action.act_window.view" id="act_category_tree_view2">
<field name="sequence" eval="20"/>
<field name="view" ref="category_view_form"/>
<field name="act_window" ref="act_category_tree"/>
</record>
<menuitem parent="menu_main_product" sequence="2"
action="act_category_tree" id="menu_category_tree"/>
<record model="ir.action.act_window" id="act_category_list">
<field name="name">Categories</field>
<field name="res_model">product.category</field>
</record>
<record model="ir.action.act_window.view" id="act_category_list_view1">
<field name="sequence" eval="10"/>
<field name="view" ref="category_view_list"/>
<field name="act_window" ref="act_category_list"/>
</record>
<record model="ir.action.act_window.view" id="act_category_list_view2">
<field name="sequence" eval="20"/>
<field name="view" ref="category_view_form"/>
<field name="act_window" ref="act_category_list"/>
</record>
<menuitem parent="menu_category_tree"
sequence="10" id="menu_category_list"
action="act_category_list"/>
<record model="ir.model.access" id="access_product_category">
<field name="model" search="[('model', '=', 'product.category')]"/>
<field name="perm_read" eval="True"/>
<field name="perm_write" eval="False"/>
<field name="perm_create" eval="False"/>
<field name="perm_delete" eval="False"/>
</record>
<record model="ir.model.access" id="access_product_category_admin">
<field name="model" search="[('model', '=', 'product.category')]"/>
<field name="group" ref="group_product_admin"/>
<field name="perm_read" eval="True"/>
<field name="perm_write" eval="True"/>
<field name="perm_create" eval="True"/>
<field name="perm_delete" eval="True"/>
</record>
</data>
</tryton>
|