mirror of
https://github.com/bringout/oca-ocb-hr.git
synced 2026-04-25 00:12:06 +02:00
Initial commit: Hr packages
This commit is contained in:
commit
62531cd146
2820 changed files with 1432848 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<odoo>
|
||||
<data>
|
||||
<record id="digest_tip_hr_timesheet_0" model="digest.tip">
|
||||
<field name="name">Tip: Record your Timesheets faster</field>
|
||||
<field name="sequence">2200</field>
|
||||
<field name="group_id" ref="hr_timesheet.group_hr_timesheet_user" />
|
||||
<field name="tip_description" type="html">
|
||||
<div>
|
||||
<b class="tip_title">Tip: Record your Timesheets faster</b>
|
||||
<p class="tip_content">Record your timesheets in an instant by pressing Shift + the corresponding hotkey to add 15min to your projects.</p>
|
||||
<img src="https://download.odoocdn.com/digests/hr_timesheet/static/img/digest_tip_timesheets_hotkeys.gif" class="illustration_border" />
|
||||
</div>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<!-- Set the JS widget -->
|
||||
<record id="uom.product_uom_day" model="uom.uom">
|
||||
<field name="timesheet_widget">float_toggle</field>
|
||||
</record>
|
||||
|
||||
<function model="account.analytic.line" name="_ensure_uom_hours"/>
|
||||
|
||||
<record id="uom.product_uom_hour" model="uom.uom">
|
||||
<field name="timesheet_widget">float_time</field>
|
||||
</record>
|
||||
|
||||
<!-- Force Analytic account creation for projects allowing timesheet (default is True) -->
|
||||
<function
|
||||
model="project.project"
|
||||
name="_init_data_analytic_account"
|
||||
eval="[]"/>
|
||||
|
||||
<record id="internal_project_default_stage" model="project.task.type">
|
||||
<field name="sequence">1</field>
|
||||
<field name="name">Internal</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue