mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update common
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
{
|
||||
'name': "Employee Navigator by department, hr superbar",
|
||||
'version': '13.19.09.27',
|
||||
'version': '13.22.03.25',
|
||||
'author': 'Sunpop.cn',
|
||||
'category': 'Human Resources',
|
||||
'website': 'https://www.sunpop.cn',
|
||||
@@ -41,6 +41,7 @@
|
||||
],
|
||||
'images': ['static/description/hr2.gif'],
|
||||
'data': [
|
||||
'views/hr_department_views.xml',
|
||||
'views/hr_views.xml',
|
||||
],
|
||||
'demo': [
|
||||
|
||||
16
app_hr_superbar/views/hr_department_views.xml
Normal file
16
app_hr_superbar/views/hr_department_views.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="app_view_department_filter" model="ir.ui.view">
|
||||
<field name="name">app.hr.department.search</field>
|
||||
<field name="model">hr.department</field>
|
||||
<field name="inherit_id" ref="hr.view_department_filter"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//search" position="inside">
|
||||
<searchpanel>
|
||||
<field name="parent_id" widget="ztree_select" text="name"/>
|
||||
<field name="company_id" groups="base.group_multi_company"/>
|
||||
</searchpanel>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
@@ -8,8 +8,8 @@
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//searchpanel" position="replace">
|
||||
<searchpanel>
|
||||
<field name="department_id" widget="ztree_select" text="name"/>
|
||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||
<field name="department_id"/>
|
||||
<field name="job_id"/>
|
||||
</searchpanel>
|
||||
</xpath>
|
||||
|
||||
Reference in New Issue
Block a user