تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2736 أدوات العرض

Dear,


I am figure out an error server when I am trying to "UPDATE" a module.




RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/opt/odoo/15.0/odoo/odoo/addons/base/models/ir_http\.py",\ line\ 237,\ in\ _dispatch
\ \ \ \ result\ =\ request\.dispatch\(\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/http\.py",\ line\ 687,\ in\ dispatch
\ \ \ \ result\ =\ self\._call_function\(\*\*self\.params\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/http\.py",\ line\ 359,\ in\ _call_function
\ \ \ \ return\ checked_call\(self\.db,\ \*args,\ \*\*kwargs\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/service/model\.py",\ line\ 94,\ in\ wrapper
\ \ \ \ return\ f\(dbname,\ \*args,\ \*\*kwargs\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/http\.py",\ line\ 348,\ in\ checked_call
\ \ \ \ result\ =\ self\.endpoint\(\*a,\ \*\*kw\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/http\.py",\ line\ 910,\ in\ __call__
\ \ \ \ return\ self\.method\(\*args,\ \*\*kw\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/http\.py",\ line\ 535,\ in\ response_wrap
\ \ \ \ response\ =\ f\(\*args,\ \*\*kw\)
\ \ File\ "/opt/odoo/15\.0/odoo/addons/web/controllers/main\.py",\ line\ 1326,\ in\ call_kw
\ \ \ \ return\ self\._call_kw\(model,\ method,\ args,\ kwargs\)
\ \ File\ "/opt/odoo/15\.0/odoo/addons/web/controllers/main\.py",\ line\ 1318,\ in\ _call_kw
\ \ \ \ return\ call_kw\(request\.env\[model\],\ method,\ args,\ kwargs\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/api\.py",\ line\ 464,\ in\ call_kw
\ \ \ \ result\ =\ _call_kw_multi\(method,\ model,\ args,\ kwargs\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/api\.py",\ line\ 451,\ in\ _call_kw_multi
\ \ \ \ result\ =\ method\(recs,\ \*args,\ \*\*kwargs\)
Exception

The\ above\ exception\ was\ the\ direct\ cause\ of\ the\ following\ exception:

Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/http\.py",\ line\ 643,\ in\ _handle_exception
\ \ \ \ return\ super\(JsonRequest,\ self\)\._handle_exception\(exception\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/http.py", line 301, in _handle_exception
raise exception.with_traceback(None) from new_cause
TypeError: Module.button_immediate_upgrade() takes 1 positional argument but 2 were given

Best Regards
الصورة الرمزية
إهمال
الكاتب

Dear 

Thank you.

Yes it is.

The way I upgraded the module was to update the module and then to go to the "apps", select the module and finally, to force manually "upgrade".

Best Regards,

أفضل إجابة

Hi,

Using this menu you cannot perform the upgrade for a module, as of now it can be used as only an indicator that shows a new version of the module is released by the author.

Manually you have to download the app from the store and add it your odoo instance and upgrade the module.

FYI, this menu has been removed from v17 onwards.


Thanks

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مارس 23
5830
2
فبراير 23
3173
Doubt about module تم الحل
2
مايو 22
1933
1
مارس 15
4708
1
مارس 15
4888