Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6470349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:06:02+00:00 2026-05-25T06:06:02+00:00

I have developed a module ‘newpatient’ which I am unable to install through a

  • 0

I have developed a module ‘newpatient’ which I am unable to install through a Compressed file folder. I have read the OpenERP dev. book as well as this blog on creation of new module. When installing after a copy-paste job from this blog, the module ‘notebook’ gets installed & working. I apply the same steps (Even checked the code n times now) to my module but still CAN’T get it installed. Even though I get the msg on ERP client ‘ Modules installed’, the module is not in the ‘Modules’ list. What could be possibly wrong?

Here’s the code. the newpatient.py file:

from osv import fields, osv
import time

class newpatient(osv.osv):
_name = "Newpatient"
_description = "Creating new patient"
_columns = {'name':fields.char('Name',size=30,required=True),
            'address':fields.char('Address',size=50,required=True),
            }
newpatient()

The __init__.py file:

import newpatient

The __openerp__.py file:

{
"name" : "Newpatient",
"version" : "1.0",
"author" : "K Y",
"category" : "Generic Modules/Others",
"depends" : ["base"],
"init_xml" : [newpatient_view.xml],
"demo_xml" : [],
"update_xml" : [],
"installable": True,
"active": False
}

Really stuck. Would appreciate some help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T06:06:03+00:00Added an answer on May 25, 2026 at 6:06 am

    I’m not sure but try with

    _name="newpatient"
    

    To check if the module is installed, go to “Administration / Customisation / Database Structure” and look for newpatient (because it could be your view that isn’t well formated)

    Tell me if it works…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have folders inside a module which I developed and there are many files
In my gwt application somebody developed a module which uses java.beans.PropertyChangeSupport. Recently I have
I have developed a PyroCMS custom module, but now I want to add WYSIWYG
In a Python system for which I develop, we usually have this module structure.
I have developed about 300 Applications which I would like to provide with multi-language
I have a problem with use count of kernel module being developed.I'd like to
I have an application which has many services and one UI module. All these
In my site I have a folder called module . It has two sub-folders
I have developed module with sql script upgrade and after that my phpunit tests
I have developed a blogger-like archive feature (you know, from the feature module). I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.