mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
add product pro
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
{
|
||||
'name': 'odoo17 Tweak,Ai Employee,Boost,Customize All in One. Customize,UI,Boost,Security,Data,Development Enhance',
|
||||
'version': '24.07.12',
|
||||
'version': '24.08.02',
|
||||
'author': 'odooai.cn',
|
||||
'category': 'Extra Tools',
|
||||
'website': 'https://www.odooai.cn',
|
||||
|
||||
@@ -72,6 +72,7 @@ class IrModule(models.Model):
|
||||
# 处理可更新字段, 不要compute,会出错
|
||||
for mod_name in modules.get_modules():
|
||||
mod = known_mods_names.get(mod_name)
|
||||
if mod:
|
||||
installed_version = self.get_module_info(mod.name).get('version', default_version)
|
||||
if installed_version and mod.latest_version and operator.gt(installed_version, mod.latest_version):
|
||||
local_updatable = True
|
||||
|
||||
Reference in New Issue
Block a user