[IMP] improved code and view.
bzr revid: tpa@tinyerp.com-20130610090938-ovrrngwaswzung7v
This commit is contained in:
parent
a46089317d
commit
59b445c4df
|
@ -387,7 +387,7 @@
|
|||
<a name="%(action_hr_job_applications)d" type="action" t-if="record.application_count.value gt 1" class="oe_link"><t t-esc="record.application_count.value"/> Applications</a>
|
||||
<a name="%(action_hr_job_applications)d" type="action" t-if="record.application_count.value lt 2" class="oe_link"><t t-esc="record.application_count.value"/> Application</a>
|
||||
</div>
|
||||
<field state="recruit" name="no_of_recruitment" widget="gage" options="{'min_field': 'no_of_hired_employee','max_field': 'no_of_recruitment', 'label_field': 'no_of_hired_employee', 'action_change': 'action_hired_employee'}">Forecast</field>
|
||||
<field state="recruit" name="no_of_recruitment" widget="justgage" options="{'min_field': 'no_of_hired_employee','max_field': 'no_of_recruitment', 'label_field': 'no_of_hired_employee', 'action_change': 'action_hired_employee'}">Forecast</field>
|
||||
</t>
|
||||
<t t-if="record.state.raw_value == 'open'">
|
||||
<div class="oe_start_recruitment">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
.openerp .oe_kanban_job{
|
||||
width: 355px;
|
||||
min-height: 125px !important;
|
||||
min-height: 145px !important;
|
||||
}
|
||||
.openerp .oe_custom{
|
||||
z-index:2;
|
||||
|
@ -43,7 +43,7 @@
|
|||
}
|
||||
.openerp .oe_justgage {
|
||||
float: right;
|
||||
margin-top: -105px;
|
||||
margin-top: -82px;
|
||||
margin-right: -30px;
|
||||
width:200px;
|
||||
height:130px;
|
||||
|
@ -56,7 +56,7 @@
|
|||
color: #4c4c4c;
|
||||
}
|
||||
.openerp .oe_start_recruitment {
|
||||
padding-top: 20px;
|
||||
padding-top: 30px;
|
||||
}
|
||||
.openerp .oe_start_recruitment p {
|
||||
font-size: 14px;
|
||||
|
@ -64,8 +64,8 @@
|
|||
}
|
||||
.openerp .oe_start_recruitment img {
|
||||
margin-top: -24px;
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
float: right;
|
||||
padding-right: 88px;
|
||||
}
|
|
@ -73,5 +73,5 @@ openerp.hr_recruitment = function (openerp) {
|
|||
}
|
||||
},
|
||||
});
|
||||
openerp.web_kanban.fields_registry.add("gage", "openerp.hr_recruitment.GaugeWidget");
|
||||
openerp.web_kanban.fields_registry.add("justgage", "openerp.hr_recruitment.GaugeWidget");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue