UPDATE - Solved!
✅
SOLUTION
Thank you so much to all that have assisted me with this issue.
Even though my backup.zip manifest said that the backup file was generated using Odoo v18.4a1, and trying this version to restore to, it didn't work.
How did I resolve the issue?
I cloned the following git branch, and installed Odoo via this:
git clone https://github.com/odoo/odoo --depth 1 --branch saas-18.3 --single-branch
This installed version saas-18.3
Then I restored my database backup via the /web/database/manager URL
It restored with issues (yellow triangle was shown next to the database in the database selector), although it still allowed me to login.
Next step was to activate the venv (virtual python environment) for my odoo installation and run the following repair command:
python3 odoo-bin --config=/etc/odoo.conf -d mydatabasenamehere -u all
This took a little time, but went through each of my modules, views etc and upgraded them all as was explained by you amazingly awesome people on this thread.
Now everything is perfect.
Thank you so so much for all your kind assistance!
Thank you so much for your response, this is very, very much appreciated!
I have just ran
python3 odoo-bin --config=/etc/odoo.conf -d goneflying3 -u all
and in response: (I am so sorry for being such a 'newbie' with this. I also reloaded the fiscal settings for Australia). I notice in the upgrade all response it has an error, something to do with partner. I think we're close to solving it! *hopefully* <3
odoo@mail:~/odoo$ python3 odoo-bin --config=/etc/odoo.conf -d goneflying3 -u all
[...] ~~ trimmed for readability
2025-06-01 00:31:37,075 72534 WARNING ? odoo.tools.config: option addons_path, invalid addons directory '/opt/odoo/odoo-custom-addons', skipped
2025-06-01 00:31:37,075 72534 INFO ? odoo: Odoo version 18.4a1
2025-06-01 00:31:37,075 72534 INFO ? odoo: Using configuration file at /etc/odoo.conf
2025-06-01 00:31:37,076 72534 INFO ? odoo: addons paths: _NamespacePath(['/opt/odoo/odoo/odoo/addons', '/opt/odoo/.local/share/Odoo/addons/18.4', '/opt/odoo/odoo/addons'])
[...] ~~ trimmed for readability
2025-06-01 00:31:37,421 72534 INFO ? odoo.service.server: HTTP service (werkzeug) running on mail.labworx.au:8069
2025-06-01 00:31:37,433 72534 INFO goneflying3 odoo.modules.loading: loading 1 modules...
2025-06-01 00:31:37,433 72534 INFO goneflying3 odoo.modules.loading: Loading module base (1/1)
2025-06-01 00:31:37,450 72534 INFO goneflying3 odoo.registry: module base: creating or updating database tables
[...] ~~ trimmed for readability
2025-06-01 00:31:54,666 72534 INFO goneflying3 odoo.modules.loading: Loading module account (52/111)
2025-06-01 00:31:54,849 72534 INFO goneflying3 odoo.registry: module account: creating or updating database tables
[...] ~~ trimmed for readability
2025-06-01 00:31:56,657 72534 INFO goneflying3 odoo.modules.loading: loading account/views/partner_view.xml
2025-06-01 00:31:56,688 72534 WARNING goneflying3 odoo.modules.loading: Transient module states were reset
2025-06-01 00:31:56,691 72534 ERROR goneflying3 odoo.registry: Failed to load registry
2025-06-01 00:31:56,691 72534 CRITICAL goneflying3 odoo.service.server: Failed to initialize database `goneflying3`.
Traceback (most recent call last):
File "/opt/odoo/odoo/odoo/service/server.py", line 1392, in preload_registries
registry = Registry.new(dbname, update_module=update_module, install_modules=config['init'], upgrade_modules=config['update'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/odoo/odoo/odoo/tools/func.py", line 89, in locked
return func(inst, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/odoo/odoo/odoo/orm/registry.py", line 166, in new
load_modules(
File "/opt/odoo/odoo/odoo/modules/loading.py", line 450, in load_modules
load_module_graph(
File "/opt/odoo/odoo/odoo/modules/loading.py", line 226, in load_module_graph
load_data(env, idref, 'update', kind='data', package=package)
File "/opt/odoo/odoo/odoo/modules/loading.py", line 79, in load_data
tools.convert_file(env, package.name, filename, idref, mode, noupdate, kind)
File "/opt/odoo/odoo/odoo/tools/convert.py", line 621, in convert_file
convert_xml_import(env, module, fp, idref, mode, noupdate)
File "/opt/odoo/odoo/odoo/tools/convert.py", line 702, in convert_xml_import
obj.parse(doc.getroot())
File "/opt/odoo/odoo/odoo/tools/convert.py", line 607, in parse
self._tag_root(de)
File "/opt/odoo/odoo/odoo/tools/convert.py", line 550, in _tag_root
f(rec)
File "/opt/odoo/odoo/odoo/tools/convert.py", line 561, 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 /opt/odoo/odoo/addons/account/views/partner_view.xml:130
Error while validating view near:
<form string="Partners" __validate__="1">
<div class="alert alert-warning oe_edit_only" role="alert" name="warning_tax" invisible="not same_vat_partner_id and not same_company
_registry_partner_id">
Potential duplicates:
<b>Access Rights Inconsistency</b><br/>This view may not work for all users: some users may have a combination of groups where the elements <b><tt>&l
t;field name="property_account_payable_id"/></tt></b> are displayed, but they depend on the field <b><tt>is_coa_installed</tt></b> that is
not accessible. You might fix this by modifying user groups to make sure that all users who have access to those elements also have access to the fi
eld, typically via group implications. Alternatively, you could adjust the “<i>groups</i>” or “<i>invisible</i>” attributes for these fields, to make
sure they are always available together.<br/>Debugging information:<br/>- field “is_coa_installed” does not exist in model “res.partner”.<br/>- elem
ent “<field name="property_account_payable_id" required="is_coa_installed" invisible="not is_coa_installed"/>” is shown
in the view for groups: 'account.group_account_readonly' | 'account.group_account_invoice'
View error context:
{'file': '/opt/odoo/odoo/addons/account/views/partner_view.xml',
'line': 1,
'name': 'partner.view.buttons',
'view': ir.ui.view(2842,),
'view.model': 'res.partner',
'view.parent': ir.ui.view(126,),
'xmlid': 'partner_view_buttons'}
2025-06-01 00:31:58,954 72534 INFO ? odoo.modules.loading: loading 1 modules...
2025-06-01 00:31:58,958 72534 INFO ? odoo.modules.loading: 1 modules loaded in 0.00s, 0 queries (+0 extra)
2025-06-01 00:31:58,960 72534 INFO ? odoo.modules.loading: loading 111 modules...
2025-06-01 00:31:59,112 72534 INFO ? odoo.modules.loading: 111 modules loaded in 0.15s, 0 queries (+0 extra)
2025-06-01 00:31:59,354 72534 INFO ? odoo.modules.loading: Modules loaded.
2025-06-01 00:31:59,361 72534 WARNING ? odoo.schema: Missing not-null constraint on res.partner.autopost_bills
[...] ~~ trimmed for readability
2025-06-01 00:31:59,399 72534 INFO goneflying3 werkzeug: 124.180.181.139 - - [01/Jun/2025 00:31:59] "GET /websocket?version=saas-18.3-4 HTTP/1.1" 400
- 21 0.009 0.440
2025-06-01 00:32:01,081 72534 INFO goneflying3 werkzeug: 124.180.181.139 - - [01/Jun/2025 00:32:01] "GET /websocket?version=saas-18.3-4 HTTP/1.1" 400
- 1 0.000 0.001
Also, did you actually run
python /path/to/odoo-bin --config=/path/to/odoo.conf -d name_of_your_database -u all
as described in https://www.odoo.com/forum/1/279428 ?