/usr/share/pyshared/trytond/modules/sale/configuration.xml is in tryton-modules-sale 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 58 59 60 61 62 63 64 | <?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 name="Configuration" parent="menu_sale"
id="menu_configuration" sequence="0" icon="tryton-preferences"/>
<record model="ir.ui.menu-res.group"
id="menu_configuration_group_sale_admin">
<field name="menu" ref="menu_configuration"/>
<field name="group" ref="group_sale_admin"/>
</record>
<record model="ir.ui.view" id="sale_configuration_view_form">
<field name="model">sale.configuration</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Sale Configuration">
<label name="sale_sequence"/>
<field name="sale_sequence"/>
<newline />
<label name="sale_invoice_method" />
<field name="sale_invoice_method" />
<label name="sale_shipment_method" />
<field name="sale_shipment_method" />
</form>
]]>
</field>
</record>
<record model="ir.action.act_window" id="act_sale_configuration_form">
<field name="name">Sales Configuration</field>
<field name="res_model">sale.configuration</field>
</record>
<record model="ir.action.act_window.view"
id="act_sale_configuration_view1">
<field name="sequence" eval="1"/>
<field name="view" ref="sale_configuration_view_form"/>
<field name="act_window" ref="act_sale_configuration_form"/>
</record>
<menuitem parent="menu_configuration"
action="act_sale_configuration_form"
id="menu_sale_configuration" icon="tryton-list"/>
<record model="ir.property" id="property_sale_sequence">
<field name="name">sale_sequence</field>
<field name="field"
search="[('model.model', '=', 'sale.configuration'), ('name', '=', 'sale_sequence')]"/>
<field name="value" eval="'ir.sequence,' + str(ref('sequence_sale'))"/>
</record>
<record model="ir.property" id="property_sale_invoice_method">
<field name="name">sale_invoice_method</field>
<field name="field"
search="[('model.model', '=', 'sale.configuration'), ('name', '=', 'sale_invoice_method')]" />
<field name="value">,order</field>
</record>
<record model="ir.property" id="property_sale_shipment_method">
<field name="name">sale_shipment_method</field>
<field name="field"
search="[('model.model', '=', 'sale.configuration'), ('name', '=', 'sale_shipment_method')]" />
<field name="value">,order</field>
</record>
</data>
</tryton>
|