Quantcast
Channel: OpenERP Help - Individual question feed
Viewing all articles
Browse latest Browse all 69

create a module "password"

$
0
0
I would like to make a simple module allowing to the customer to add his passwords in the database. Firstly, as beginner in OpenERP programming, I would like just to do a module where I can associate to a name : an username, a password, a IP/Hostname, a comment. I programmed like the following but it's not working, I have the error : ValidateError Error occurred while validating the field(s) arch: Invalid XML for View Architecture! I read and I tried lots of things about this error but I didn't fix it. ---------- my "password.py" : from osv import osv from osv import fields class password(osv.osv): "'password Class"' _name='password' _columns= { 'name':fiels.char("Name",size=128), 'user':fields.char("Username",size=128), 'host':fields.char("IP/HostName",size=128), 'pass':fields.char("Password",size=128), 'com':fields.char("Comment",size=128), } password() ---------- my "password_view.xml ": password.treepasswordpasswordpasswordtree ---------- my __init__.py is empty and my __openerp__.py : { 'name': 'Password module', 'version': '1.0', 'category': 'Partner/Customer Management', 'description': """""", 'author': '', 'website': '', 'depends': ['base'], 'data': ['password/password_view.xml'], 'installable': True, 'auto_install': False, 'application': False, } ---------- Thanks for your help !

Viewing all articles
Browse latest Browse all 69

Trending Articles