İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
1211 Görünümler

 i download a third party app named 'auto_database_backup-18' and put it in the addons_path, then restart odoo-18 and refresh my app list, but it not appear in the app list. i also try to use the 'import module'. but it also failed. any help please!


An error occurred when importing the module 'auto_database_backup'. Module loading for auto_database_backup failed: the file C:\Users\123\AppData\Local\Temp\tmpxt9l221o\auto_database_backup\security/ir.model.access.csv could not be processed.

No matching record was found in the 'Model' field for the external ID 'model_db_backup_configure'.

No matching record was found in the 'Model' field for the external ID 'model_dropbox_auth_code'.

Missing required value for the field 'Model' (model_id) 

Missing required value for the field 'Model' (model_id)

Avatar
Vazgeç
Üretici

by the way,my pc is windows11

Üretici En İyi Yanıt

in fact, i have read the guide and installed all the  external python dependencies : dropbox, nextcloud , nextcloud-api-wrapper , boto3 and paramiko but nextcloud, because there is no a lib named 'nextcloud' exactly.


dalec-nextcloud

django-nextcloud-storage

gitlab2nextclouddeck

hausschrat-nextcloud-s3

nextcloud-api-wrapper

nextcloud-async

nextcloud-deck

nextcloud-notes-ap

nextcloud-orm

nextcloud-sdk

nextcloud-status

nextcloud-talk-recording

nextcloud-tasks-api

nextcloud news filter

nextcloud news updater

nextcloudmonitor

nextcloudtalkbot

nextcloudtasks

pibooth-nextcloud

python3-cyberfusion-nextcloud-support

Avatar
Vazgeç
En İyi Yanıt
  1. You have to make sure that there is .py file which has text _name = 'db.backup.configure' and _name = 'dropbox.auth.code'
  2. then check file __init__.py inside models folder. make sure the file names on point 1 is included there in text from . import {filename}
  3. last, check __init__.py outside folder models. make sure it has text from . import models


If all points above were checked and the error still happen, check on module dependencies. You might install module that depend to another modul which you not owned​

Avatar
Vazgeç
En İyi Yanıt

The security csv file is being processed and raise error suggest module was in correct path and added. The model was not available suggest python was stopped somewhere. So there must be more python error.

The main culprit maybe you think backup is just another module and you install it the way you do with most other business related module and do not read the Readme file or installation guide. Normally some other python packages will need to be installed such as paramiko. Make sure you pay a visit to the readme



Avatar
Vazgeç