Merge branch 'pawan_branch' into 'development'

changre progress to % quoted hour

See merge request prakash.jain/cor-odoo!161
This commit is contained in:
pawan.sharma 2021-03-24 23:04:52 -07:00
commit 0141551d9c
2 changed files with 6 additions and 1 deletions

View File

@ -215,7 +215,6 @@
</record>-->
>>>>>>> 0964d5378c9e26188e9e977126bb2beb977992ea
<record id="view_hr_my_timesheet_line_calendar" model="ir.ui.view">
<field name="name">account.analytic.line.calendar</field>
<field name="model">account.analytic.line</field>

View File

@ -213,6 +213,9 @@
<xpath expr="//field[@name='date_deadline']" position="before">
<field name="start_date"/>
</xpath>
<xpath expr="//field[@name='progress']" position="replace">
<field name="progress" widget="progressbar" string="% of hours quota"/>
</xpath>
</field>
</record>
@ -238,6 +241,9 @@
<xpath expr="//field[@name='effective_hours']" position="after">
<field name="remaining_hours"/>
</xpath>
<xpath expr="//field[@name='progress']" position="replace">
<field name="progress" widget="progressbar" string="% of hours quota"/>
</xpath>
</field>
</record>