Note that there are some explanatory texts on larger screens.

plurals
  1. POOpenerp7 modules doesn't shows in Modules
    text
    copied!<p>I have made a module with following settings. But it doesnt shows of in my modules list after updating and adding not installed filter in modules. I have installed OE on ubuntu 13.10 via debian installer. The directory is located at /usr/share/pyshared/openerp/addons/ashok/ashok.py,<strong>init</strong>.py,views.xml,_<em>openerp.py</em> Is there a permission issue? I have chmod 777 on every folder/file just to be on safer side.</p> <p>Is there a config issue cat /etc/openerp/openerp-server.conf outputs </p> <pre><code>[options] ; This is the password that allows database operations: ; admin_passwd = admin db_host = False db_port = False db_user = openerp db_password = False </code></pre> <p><strong>openerp</strong>.py openerp descriptor file</p> <pre><code>{ 'name' : 'ashok', 'version' : '1.0', 'author' : 'Ashok', 'description' : 'Just a new module to say Hello', 'website' : '', 'depends' : ['base'], 'data': ['views.xml'], 'demo' : [], 'installable': True, 'auto_install': False, } </code></pre> <p>Other files are </p> <p>views.xml</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;openerp&gt; &lt;data&gt; &lt;record model="ir.ui.view" id="ashok_form_view"&gt; &lt;field name="name"&gt;ashok.form&lt;/field&gt; &lt;field name="model"&gt;ashok&lt;/field&gt; &lt;field name="type"&gt;form&lt;/field&gt; &lt;field name="arch" type="xml"&gt; &lt;form string="Ashok" version='7.0'&gt; &lt;field name="title"/&gt; &lt;field name="note"/&gt; &lt;field name="note_date"/&gt; &lt;/form&gt; &lt;/field&gt; &lt;/record&gt; &lt;record model="ir.actions.act_window" id="action_ashok_form"&gt; &lt;field name="name"&gt;ashok&lt;/field&gt; &lt;field name="res_model"&gt;ashok&lt;/field&gt; &lt;/record&gt; &lt;menuitem name="Ashok" icon="terp-project" id="ashok_menu"/&gt; &lt;menuitem name="Notes" parent="ashok_menu" id="ashok_menu_mainform" action="action_ashok_form"/&gt; &lt;/data&gt; &lt;/openerp&gt; </code></pre> <p>ashok.py</p> <pre><code>from openerp.osv import osv, fields class ashok(osv.osv): """docstring for ashok""" _name = 'ashok' _description = "Hello from OpenERP" _columns = { 'title' : fields.char('Title', size=30, required=True), 'note' : fields.text('Note'), 'note_date' : fields.date('Date'), } ashok() </code></pre> <p>the whole code is at <a href="https://github.com/ashoksahoo/openerp-module" rel="nofollow">https://github.com/ashoksahoo/openerp-module</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload