Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Intelligence artificielle
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Supermarché
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Homme à tout faire
    • Matériel informatique & support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Parcourir toutes les industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenir partenaire
    • Services pour partenaires
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Error al Importar Modulo, creado por mi

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
errormodule
1 Répondre
5044 Vues
Avatar
edu_SalesianosJM, Jose Manuel

Error while importing module 'intern'. while parsing /tmp/tmpzrcd6djb/intern/views/intern_intern_view.xml:3 Ocurrió un error al validar vista cercana

Modelo no encontrado: intern.intern View error context: {'file': '/tmp/tmpzrcd6djb/intern/views/intern_intern_view.xml', 'line': 2, 'name': 'intern.intern.form', 'view': ir.ui.view(3497,), 'view.model': 'intern.intern', 'view.parent': ir.ui.view(), 'xmlid': 'view_intern_intern_form'} Make sure those modules are installed and try again. 

 My manifesto:

{   'name': 'Intern Manager',    'version': '1.0',    'category': 'Human Resources',    'summary': 'Manage Interns',    'sequence': 10,     'author': 'Ivan Perez Cruzado, Jose Manuel Reyes Jimenez',    'license': 'LGPL-3',    'depends': ['base'],   'data': [    'models/models.py',    'views/intern_intern_view.xml',  # Este archivo define el modelo 'intern.intern' que es referenciado por los demás, así que lo cargamos primero    'views/intern_course_view.xml',    'views/intern_meeting_view.xml',    'views/intern_task_view.xml',    'views/intern_work_log_view.xml',    'security/ir.model.access.csv',    ],      'images': ['static/description/icon.png'],    'installable': True,    'application': True,    'auto_install': True,}
My init: 

# -*- coding: utf-8 -*-from . import modelsfrom . import controllers

-1
Avatar
Ignorer
edu_SalesianosJM, Jose Manuel
Auteur

Este es mi model: from odoo import api, fields, models, exceptions

class Intern(models.Model):
_name = 'intern.intern'
_description = 'Intern'

name = fields.Char(string='Intern Name', required=True)
tutor_id = fields.Many2one('res.users', string='Assigned Tutor')
start_date = fields.Date(string='Start Date')
end_date = fields.Date(string='End Date')
description = fields.Text(string='Description')
task_ids = fields.One2many('intern.task', 'intern_id', string='Tasks')
course_ids = fields.Many2many('intern.course', string='Courses')
meeting_ids = fields.One2many('intern.meeting', 'intern_id', string='Meetings')
work_log_ids = fields.One2many('intern.work_log', 'intern_id', string='Work Logs')

Avatar
Cybrosys Techno Solutions Pvt.Ltd
Meilleure réponse

Hi,
- Ensure 'models': ['intern.intern'] is included in __manifest__.py.
- Verify the model path in intern_intern_view.xml is correct (intern.intern).
- Confirm file locations:
  1- intern.py in models directory
  2- intern_intern_view.xml in the views directory
 
- Double-check that the module is installed correctly and dependencies are met.
- If installation issues persist, consider reinstalling the module.
- Verify that Odoo has the necessary permissions to access module files.

Hope it helps

0
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
openerp 7 module purchase_control_supplier not installing Résolu
error module
Avatar
Avatar
2
mars 15
6913
OpenERP 7 error after upgrading EDI module
error module
Avatar
Avatar
1
mars 15
7721
ModuleNotFoundError: No module named 'PyPDF2' Résolu
error module python3
Avatar
Avatar
Avatar
Avatar
Avatar
4
mai 24
10440
Module installation Error in demo database
installation error module
Avatar
0
févr. 20
32
Field `is_blacklisted` does not exist
error module inherited
Avatar
Avatar
1
nov. 18
7947
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenir partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk Slovenščina Español (América Latina) Español Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now