mirror of
https://github.com/bringout/oca-ocb-hr.git
synced 2026-04-24 09:12:03 +02:00
19.0 vanilla
This commit is contained in:
parent
e1d89e11e3
commit
a1f02d8cc7
225 changed files with 2335 additions and 775 deletions
|
|
@ -32,6 +32,7 @@ class HrOrgChartController(http.Controller):
|
|||
job_name=job.name or '',
|
||||
direct_sub_count=len(employee.child_ids - employee),
|
||||
indirect_sub_count=employee.child_all_count,
|
||||
write_date=int(employee.write_date.timestamp()) * 1000, # to have it in milliseconds for js
|
||||
)
|
||||
|
||||
@http.route('/hr/get_redirect_model', type='jsonrpc', auth='user')
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ msgstr ""
|
|||
"Project-Id-Version: Odoo Server 16.0beta\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-01-25 18:36+0000\n"
|
||||
"PO-Revision-Date: 2026-03-06 17:44+0000\n"
|
||||
"PO-Revision-Date: 2026-03-20 17:34+0000\n"
|
||||
"Last-Translator: Hanna Kharraziha <hakha@odoo.com>\n"
|
||||
"Language-Team: Swedish <https://translate.odoo.com/projects/odoo-19/"
|
||||
"hr_org_chart/sv/>\n"
|
||||
|
|
@ -25,7 +25,7 @@ msgstr ""
|
|||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 5.16.1\n"
|
||||
"X-Generator: Weblate 5.16.2\n"
|
||||
|
||||
#. module: hr_org_chart
|
||||
#: model_terms:ir.ui.view,arch_db:hr_org_chart.hr_employee_view_form_inherit_org_chart
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
<!-- NOTE: Use bg-images instead of img to get a clean and squared image -->
|
||||
<div
|
||||
class="o_media_object img-fluid d-block rounded"
|
||||
t-att-style="'background-image:url(\'/web/image/hr.employee.public/' + employee.id + '/avatar_1024/\')'"
|
||||
t-att-style="'background-image:url(\'/web/image/hr.employee.public/' + employee.id + '/avatar_1024/?unique=' + employee.write_date + '\')'"
|
||||
t-att-alt="employee.name"
|
||||
/>
|
||||
</div>
|
||||
|
|
@ -160,7 +160,7 @@
|
|||
<div class="tooltip-arrow"/>
|
||||
<h3 class="popover-header">
|
||||
<div class="d-flex align-items-center">
|
||||
<span class="o_media_object flex-shrink-0 rounded me-1" t-att-style='"background-image:url(\"/web/image/hr.employee.public/" + props.employee.id + "/avatar_1024/\")"'/>
|
||||
<span class="o_media_object flex-shrink-0 rounded me-1" t-att-style='"background-image:url(\"/web/image/hr.employee.public/" + props.employee.id + "/avatar_1024/?unique=" + props.employee.write_date + "\")"'/>
|
||||
<b class="flex-grow-1 fw-medium"><t t-esc="props.employee.name"/></b>
|
||||
<a href="#" class="o_employee_redirect btn btn-link" t-att-data-employee-id="props.employee.id" t-on-click.prevent="() => this._onEmployeeRedirect(props.employee.id)"><i class="fa fa-user" role="img" aria-label='View employee' title="View employee"/></a>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue