update common

This commit is contained in:
ivan deng
2022-04-01 16:48:49 +08:00
parent cf7d2ec48c
commit bcba2aad24
7 changed files with 23 additions and 6 deletions

View File

@@ -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': [

View 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>

View File

@@ -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>

View File

@@ -41,7 +41,7 @@
{
'name': 'Product Brand Manager',
'version': '13.20.04.11',
'version': '13.22.03.28',
'author': 'Sunpop.cn',
'category': 'Product',
'website': 'https://www.sunpop.cn',

View File

@@ -22,7 +22,7 @@ class ProductBrand(models.Model):
'res.partner',
string='Partner',
help='Select a partner for this brand if any.',
ondelete='restrict'
ondelete='set null'
)
logo = fields.Binary('Logo File', attachment=True)
product_ids = fields.One2many(

View File

@@ -17,7 +17,7 @@
{
'name': "App product browse by category navigator",
'version': '13.21.03.31',
'version': '13.22.03.25',
'author': 'Sunpop.cn',
'category': 'Base',
'website': 'https://www.sunpop.cn',
@@ -41,7 +41,7 @@
],
'images': ['static/description/superbar.gif'],
'data': [
'views/product_views.xml',
'views/product_template_views.xml',
'views/product_category_views.xml',
],
'demo': [