/usr/lib/python2.7/dist-packages/trytond/modules/project_invoice/timesheet.xml is in tryton-modules-project-invoice 4.2.0-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 | <?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.rule.group" id="rule_group_line_project_invoice">
<field name="model" search="[('model', '=', 'timesheet.line')]"/>
<field name="global_p" eval="False"/>
<field name="default_p" eval="False"/>
</record>
<record model="ir.rule.group-res.group"
id="rule_group_line_project_invoice_group_project_invoice">
<field name="rule_group" ref="rule_group_line_project_invoice"/>
<field name="group" ref="group_project_invoice"/>
</record>
</data>
<record model="ir.action.act_window" id="act_timesheet_line_form_invoice">
<field name="name">Timesheet Lines</field>
<field name="res_model">timesheet.line</field>
<field name="domain"
eval="[('invoice_line.invoice', 'in', Eval('active_ids'))]"
pyson="1"/>
</record>
<record model="ir.action.keyword"
id="act_timesheet_line_form_invoice_keyword1">
<field name="keyword">form_relate</field>
<field name="model">account.invoice,-1</field>
<field name="action" ref="act_timesheet_line_form_invoice"/>
</record>
<record model="ir.action-res.group"
id="act_timesheet_line_form_invoice-group_timesheet_admin">
<field name="action" ref="act_timesheet_line_form_invoice"/>
<field name="group" ref="timesheet.group_timesheet_admin"/>
</record>
</tryton>
|