コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2728 ビュー

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
3月 23
5830
2
2月 23
3173
2
5月 22
1933
1
3月 15
4706
1
3月 15
4886