/usr/share/pyshared/trytond/modules/party/contact_mechanism.xml is in tryton-modules-party 2.2.1-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 | <?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="contact_mechanism_view_tree">
<field name="model">party.contact_mechanism</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Contact Mechanisms">
<field name="party"/>
<field name="type"/>
<field name="value"/>
</tree>
]]>
</field>
</record>
<record model="ir.ui.view" id="contact_mechanism_view_form">
<field name="model">party.contact_mechanism</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Contact Mechanism" col="6">
<label name="party"/>
<field name="party" colspan="5"/>
<label name="type"/>
<field name="type"/>
<group col="2" colspan="2" id="value">
<label name="other_value"/>
<field name="other_value"/>
<label name="website"/>
<field name="website" widget="url"/>
<label name="email"/>
<field name="email" widget="email"/>
<label name="skype"/>
<field name="skype" widget="callto"/>
<label name="sip"/>
<field name="sip" widget="sip"/>
</group>
<group col="20" colspan="2" id="checkboxes">
<label name="active"/>
<field name="active"
xexpand="0" width="25"/>
<!-- Add here some checkboxes ! -->
</group>
<separator name="comment" colspan="6"/>
<field name="comment" colspan="6"/>
</form>
]]>
</field>
</record>
</data>
</tryton>
|