I have installed a fresh odoo15 and installed the app "account". After the upgrade to odoo16 I get the following error when I try to open the view of the Invoicong app in odoo:
Error: Missing field string information for the field 'authorized_transaction_ids' from the 'account.move' model
at http://localhost:8070/web/assets/135-057a973/web.assets_backend.min.js:6753:258
at traverse (http://localhost:8070/web/assets/135-057a973/web.assets_backend.min.js:6748:200)
at http://localhost:8070/web/assets/135-057a973/web.assets_backend.min.js:6748:242
at _.each._.forEach (http://localhost:8070/web/assets/134-6323ddf/web.assets_common.min.js:63:404)
at traverse (http://localhost:8070/web/assets/135-057a973/web.assets_backend.min.js:6748:211)
at http://localhost:8070/web/assets/135-057a973/web.assets_backend.min.js:6748:242
at _.each._.forEach (http://localhost:8070/web/assets/134-6323ddf/web.assets_common.min.js:63:404)
at traverse (http://localhost:8070/web/assets/135-057a973/web.assets_backend.min.js:6748:211)
at processArch (http://localhost:8070/web/assets/135-057a973/web.assets_backend.min.js:6752:180)
at generateLegacyLoadViewsResult (http://localhost:8070/web/assets/135-057a973/web.assets_backend.min.js:6750:106)
I tried to run an upgrade of the app "account" from the App view. But during this process, I get the following error
(it says: the field "amount_available_for_refund" does not exist in model "account.payment"):
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1591, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 133, in retrying
result = func()
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1618, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1822, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 154, in _dispatch
result = endpoint(**request.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 697, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/dataset.py", line 46, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/dataset.py", line 33, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 466, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 453, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "<decorator-gen-83>", line 2, in button_immediate_upgrade
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 74, in check_and_log
return method(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 665, in button_immediate_upgrade
return self._button_immediate_function(type(self).button_upgrade)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 598, in _button_immediate_function
registry = modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "<decorator-gen-16>", line 2, in new
File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 87, in locked
return func(inst, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 90, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 484, in load_modules
processed_modules += load_marked_modules(cr, graph,
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 372, in load_marked_modules
loaded, processed = load_module_graph(
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 231, in load_module_graph
load_data(cr, idref, mode, kind='data', package=package)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 71, in load_data
tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 763, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 829, in convert_xml_import
obj.parse(doc.getroot())
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 749, in parse
self._tag_root(de)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 698, in _tag_root
f(rec)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 709, in _tag_root
raise ParseError(msg) from None # Restart with "--log-handler odoo.tools.convert:DEBUG" for complete traceback
odoo.tools.convert.ParseError: while parsing /usr/lib/python3/dist-packages/odoo/addons/account/views/account_payment_view.xml:146
Fehler bei der Validierung der Ansicht nahe:
<form string="Register Payment" __validate__="1">
<header>
<button name="action_post" string="Confirm" type="object" class="oe_highlight" attrs="{'invisible': [('state', '!=', 'draft')]}" data-hotkey="v"/>
<button name="action_draft" string="Reset To Draft" type="object" class="btn btn-secondary" attrs="{'invisible': [('state', 'not in', ('posted', 'cancel'))]}" groups="account.group_account_invoice" data-hotkey="w"/>
<field name="amount_available_for_refund" invisible="1"/>
Das Feld „amount_available_for_refund“ existiert nicht im Modell „account.payment“
View error context:
{'file': '/usr/lib/python3/dist-packages/odoo/addons/account/views/account_payment_view.xml',
'line': 3,
'name': 'account.payment.form',
'view': ir.ui.view(510,),
'view.model': 'account.payment',
'view.parent': ir.ui.view(),
'xmlid': 'view_account_payment_form'}
The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
at makeErrorFromResponse (http://localhost:8070/web/assets/135-057a973/web.assets_backend.min.js:992:163)
at XMLHttpRequest.<anonymous> (http://localhost:8070/web/assets/135-057a973/web.assets_backend.min.js:1000:13)
Module
account (account.move and account.payment)
Describe the bug
I have installed a fresh odoo15 and installed the app "account". After the upgrade to odoo16 I get the following error when I try to open the view of the Invoicong app in odoo:
I tried to run an upgrade of the app "account" from the App view. But during this process, I get the following error
(it says: the field "amount_available_for_refund" does not exist in model "account.payment"):
To Reproduce
Affected versions: 16.0
Steps to reproduce the behavior:
Expected behavior
I would expect the app account (without any modules or data) to be accessible after the upgrade without error messages, or at least that the app can be upgraded without errors and can then be used again.