Skip to content

Commit

Permalink
[MIG] project_timeline_hr_timesheet v11 to v12
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikul-Chaudhary committed Mar 11, 2019
1 parent 0d42e57 commit f893542
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions project_timeline_hr_timesheet/README.rst
Expand Up @@ -55,6 +55,7 @@ Contributors
~~~~~~~~~~~~

* Dennis Sluijk <d.sluijk@onestein.nl>
* Nikul Chaudhary <nikulchaudhary2112@gmail.com>

Maintainers
~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion project_timeline_hr_timesheet/__manifest__.py
Expand Up @@ -8,7 +8,7 @@
'license': 'AGPL-3',
'website': 'https://github.com/OCA/project',
'category': 'Project Management',
'version': '11.0.1.0.0',
'version': '12.0.1.0.0',
'depends': [
'project_timeline',
'hr_timesheet'
Expand Down
1 change: 1 addition & 0 deletions project_timeline_hr_timesheet/readme/CONTRIBUTORS.rst
@@ -1 +1,2 @@
* Dennis Sluijk <d.sluijk@onestein.nl>
* Nikul Chaudhary <nikulchaudhary2112@gmail.com>
Expand Up @@ -6,12 +6,12 @@
margin-right: -5px;
margin-top: 5px;

> div {
.o_project_timeline_hr_timesheet_progress .div {
height: 100%;
max-width: 100%;
background: @progress-bar-success-bg;

&.danger {
.o_project_timeline_hr_timesheet_progress .danger {
background: @progress-bar-danger-bg;
}
}
Expand Down
4 changes: 2 additions & 2 deletions project_timeline_hr_timesheet/templates/assets.xml
Expand Up @@ -5,9 +5,9 @@
<odoo>
<template id="assets_backend" inherit_id="web.assets_backend">
<xpath expr="//link[last()]">
<link href="/project_timeline_hr_timesheet/static/src/less/project_timeline_hr_timesheet.less"
<link href="/project_timeline_hr_timesheet/static/src/scss/project_timeline_hr_timesheet.scss"
rel="stylesheet"
type="text/less"/>
type="text/scss"/>
</xpath>
</template>
</odoo>
4 changes: 2 additions & 2 deletions project_timeline_hr_timesheet/views/project_task_view.xml
Expand Up @@ -8,9 +8,9 @@
<field name="model">project.task</field>
<field name="inherit_id" ref="project_timeline.project_task_timeline"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='user_id']" position="after">
<field name="user_id" position="after">
<field name="progress"/>
</xpath>
</field>
<xpath expr="//div[hasclass('o_project_timeline_item')]" position="after">
<div class="o_project_timeline_hr_timesheet_progress">
<div t-att-class="record.progress > 100 and 'danger'"
Expand Down

0 comments on commit f893542

Please sign in to comment.