简体   繁体   English

模块安装需要太长时间才能安装在odoo 12中依赖

[英]module installation takes too long to install which are in depends in odoo 12


can you please help me regarding module installation problem in odoo12.你能帮我解决odoo12中的模块安装问题吗?
i have created a custom module in which i have put these modules on depends.我创建了一个自定义模块,我将这些模块放在了依赖项上。
here is my manifest depends.这是我的清单依赖。

depends': ['sale_management', 'purchase', 'account','stock','hr','hr_payroll','l10n_in'],

when i am installing module it generates this error after installation of some modules "hr, hr_payroll, account, etc.".当我安装模块时,它会在安装某些模块“hr、hr_payroll、account 等”后生成此错误。 在此处输入图像描述


after getting an error if i reload and press on install again then it installs my module perfectly and it works fine.如果我重新加载并再次按下安装出现错误,那么它会完美地安装我的模块并且它工作正常。
and if i install stock, sale_management, purchase manually first, then it does not generates any error and my module get install and works.如果我先手动安装 stock、sale_management、purchase,那么它不会产生任何错误,并且我的模块得到安装和工作。
thank you.谢谢你。

This happened because thread execution time exceeds limit_time_real defined in odoo.conf which is set to 120s .发生这种情况是因为线程执行时间超过limit_time_real中定义的odoo.conf设置为120s

Odoo warns you only if limit_time_real is set and its value is lesser than the thread execution time. Odoo 仅在设置了limit_time_real并且其值小于线程执行时间时才会向您发出警告。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM