File: timesheet.xml

package info (click to toggle)
tryton-modules-timesheet-cost 5.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 320 kB
  • sloc: python: 321; xml: 95; makefile: 6; sh: 3
file content (22 lines) | stat: -rw-r--r-- 989 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?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.model.field.access"
            id="model_field_access_timesheet_cost_price">
            <field name="field"
                search="[('model.model', '=', 'timesheet.line'), ('name', '=', 'cost_price')]"/>
            <field name="perm_read" eval="False"/>
            <field name="perm_write" eval="False"/>
        </record>
        <record model="ir.model.field.access"
            id="model_field_access_timesheet_cost_price_admin">
            <field name="field"
                search="[('model.model', '=', 'timesheet.line'), ('name', '=', 'cost_price')]"/>
            <field name="group" ref="party.group_party_admin"/>
            <field name="perm_read" eval="True"/>
            <field name="perm_write" eval="True"/>
        </record>
    </data>
</tryton>