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",
|
'name': "Employee Navigator by department, hr superbar",
|
||||||
'version': '13.19.09.27',
|
'version': '13.22.03.25',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Human Resources',
|
'category': 'Human Resources',
|
||||||
'website': 'https://www.sunpop.cn',
|
'website': 'https://www.sunpop.cn',
|
||||||
@@ -41,6 +41,7 @@
|
|||||||
],
|
],
|
||||||
'images': ['static/description/hr2.gif'],
|
'images': ['static/description/hr2.gif'],
|
||||||
'data': [
|
'data': [
|
||||||
|
'views/hr_department_views.xml',
|
||||||
'views/hr_views.xml',
|
'views/hr_views.xml',
|
||||||
],
|
],
|
||||||
'demo': [
|
'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">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//searchpanel" position="replace">
|
<xpath expr="//searchpanel" position="replace">
|
||||||
<searchpanel>
|
<searchpanel>
|
||||||
|
<field name="department_id" widget="ztree_select" text="name"/>
|
||||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||||
<field name="department_id"/>
|
|
||||||
<field name="job_id"/>
|
<field name="job_id"/>
|
||||||
</searchpanel>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': 'Product Brand Manager',
|
'name': 'Product Brand Manager',
|
||||||
'version': '13.20.04.11',
|
'version': '13.22.03.28',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Product',
|
'category': 'Product',
|
||||||
'website': 'https://www.sunpop.cn',
|
'website': 'https://www.sunpop.cn',
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ class ProductBrand(models.Model):
|
|||||||
'res.partner',
|
'res.partner',
|
||||||
string='Partner',
|
string='Partner',
|
||||||
help='Select a partner for this brand if any.',
|
help='Select a partner for this brand if any.',
|
||||||
ondelete='restrict'
|
ondelete='set null'
|
||||||
)
|
)
|
||||||
logo = fields.Binary('Logo File', attachment=True)
|
logo = fields.Binary('Logo File', attachment=True)
|
||||||
product_ids = fields.One2many(
|
product_ids = fields.One2many(
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': "App product browse by category navigator",
|
'name': "App product browse by category navigator",
|
||||||
'version': '13.21.03.31',
|
'version': '13.22.03.25',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Base',
|
'category': 'Base',
|
||||||
'website': 'https://www.sunpop.cn',
|
'website': 'https://www.sunpop.cn',
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
],
|
],
|
||||||
'images': ['static/description/superbar.gif'],
|
'images': ['static/description/superbar.gif'],
|
||||||
'data': [
|
'data': [
|
||||||
'views/product_views.xml',
|
'views/product_template_views.xml',
|
||||||
'views/product_category_views.xml',
|
'views/product_category_views.xml',
|
||||||
],
|
],
|
||||||
'demo': [
|
'demo': [
|
||||||
|
|||||||
Reference in New Issue
Block a user