mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
fix #I7TI5B app_odoo_customize的bug修正
This commit is contained in:
@@ -14,7 +14,7 @@ class MailThread(models.AbstractModel):
|
||||
if app_stop_subscribe:
|
||||
return True
|
||||
else:
|
||||
return super(MailThread, self).message_subscribe(partner_ids, channel_ids, subtype_ids)
|
||||
return super(MailThread, self).message_subscribe(partner_ids, subtype_ids)
|
||||
|
||||
def _message_subscribe(self, partner_ids=None, channel_ids=None, subtype_ids=None, customer_ids=None):
|
||||
""" 停用订阅功能. """
|
||||
@@ -23,7 +23,7 @@ class MailThread(models.AbstractModel):
|
||||
if app_stop_subscribe:
|
||||
return True
|
||||
else:
|
||||
return super(MailThread, self)._message_subscribe(partner_ids, channel_ids, subtype_ids, customer_ids)
|
||||
return super(MailThread, self)._message_subscribe(partner_ids, subtype_ids, customer_ids)
|
||||
|
||||
def _message_auto_subscribe_followers(self, updated_values, default_subtype_ids):
|
||||
""" 停用订阅功能. """
|
||||
@@ -41,4 +41,4 @@ class MailThread(models.AbstractModel):
|
||||
if app_stop_subscribe:
|
||||
return True
|
||||
else:
|
||||
return super(MailThread, self)._message_auto_subscribe_notify( partner_ids, template)
|
||||
return super(MailThread, self)._message_auto_subscribe_notify(partner_ids, template)
|
||||
|
||||
@@ -30,12 +30,13 @@
|
||||
</field>
|
||||
<filter name="not_installed" position="after">
|
||||
<filter name="is_local_updatable" string="Local updatable" domain="[('local_updatable', '=', True)]"/>
|
||||
</field>
|
||||
</filter>
|
||||
<xpath expr="//search/group" position="inside">
|
||||
<filter string="Addons Path" name="addons_path" domain="[]" context="{'group_by': 'addons_path_id'}" groups="base.group_no_one"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="app_module_form" model="ir.ui.view">
|
||||
<field name="name">app.ir.module.module.form</field>
|
||||
<field name="model">ir.module.module</field>
|
||||
@@ -55,6 +56,7 @@
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="app_module_view_kanban" model="ir.ui.view">
|
||||
<field name="name">ir.module.module.kanban.inherit.base</field>
|
||||
<field name="model">ir.module.module</field>
|
||||
|
||||
Reference in New Issue
Block a user