summaryrefslogtreecommitdiff
path: root/addons/hr_contract/static
diff options
context:
space:
mode:
authorKevin Baptiste <kba@odoo.com>2019-05-16 13:30:01 +0000
committerYannick Tivisse <yti@odoo.com>2019-06-28 06:59:32 +0000
commitf17655dd773096f2d37ece392dfe980ae4795819 (patch)
tree13045498b08d8975d3155c72c34bd347e2280676 /addons/hr_contract/static
parent5548029fb73c420a308772e9c54b8119775105b7 (diff)
[IMP] hr_contract: Replace some contract states by kanban status
Purpose ======= Having some usability check to be sure to make the pay for everyone, and don't loose contracts. We would like to remove incoming and to renew columns in hr.contract and replace them by a kanban state. In employee, we would like to add warning on the kanban to warn the hr responsible there is no contract or a contract is about to expire Specification ============= hr.contract kanban: - add a kanabn state - it becomes red automatically when the contract is in running and expire in 7 days - add aquick search in filter to filter on expered soon - the kanban state can be changed manaually (in case of there is several rh) - sort by contract end date set first (more close of today first) Employee kanban - add an red icon if there is no contract in Runnig status OR there is a kanban state red in their contract (whatever the status). - add a quick seaach on employee with warning - State pending + green = incoming - State confirmed + red = about to expire / to renew closes odoo/odoo#33489 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/hr_contract/static')
-rw-r--r--addons/hr_contract/static/src/scss/state_selection.scss9
1 files changed, 9 insertions, 0 deletions
diff --git a/addons/hr_contract/static/src/scss/state_selection.scss b/addons/hr_contract/static/src/scss/state_selection.scss
new file mode 100644
index 00000000000..329cfd28feb
--- /dev/null
+++ b/addons/hr_contract/static/src/scss/state_selection.scss
@@ -0,0 +1,9 @@
+.o_hr_contract_state {
+ .o_status {
+ vertical-align: unset !important;
+ }
+}
+
+.o_hr_contract_job_id {
+ min-height: 1.5rem;
+} \ No newline at end of file