Note that there are some explanatory texts on larger screens.

plurals
  1. POModule not showing in OpenERP
    primarykey
    data
    text
    <p>I try to code in eclipse and when I run it can not show me any error </p> <p>This is test_module.py file</p> <pre><code>from osv import osv from osv import fields class MyClass(osv.osv): ''' classdocs ''' _name='my.class' _columns={ 'name':fields.char("Name",size=128,), 'code':fields.char("Code",size=127,), } MYClass() def __init__(selfparams): ''' Constructor ''' </code></pre> <p>and this is xml file</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=“test_base_form”&gt; &lt;field name=“name”&gt;test.base.form&lt;/field&gt; &lt;field name=“model”&gt;test.base&lt;/field&gt; &lt;field name=“type”&gt;form&lt;/field&gt; &lt;field name=“arch” type=“xml”&gt; &lt;form string=“Test Base”&gt; &lt;field name=“name”/&gt; &lt;field name=“code”/&gt; &lt;/form&gt; &lt;/field&gt; &lt;/record&gt; &lt;record model=“ir.ui.view” id=“test_base_tree”&gt; &lt;field name=“name”&gt;test.base.tree&lt;/field&gt; &lt;field name=“model”&gt;test.base&lt;/field&gt; &lt;field name=“type”&gt;tree&lt;/field&gt; &lt;field name=“arch” type=“xml”&gt; &lt;tree string=“Test Base”&gt; &lt;field name=“name”/&gt; &lt;field name=“code”/&gt; &lt;/tree&gt; &lt;/field&gt; &lt;/record&gt; &lt;record model=“ir.actions.act_window” id=“action_test_seq”&gt; &lt;field name=“name”&gt;Test Base&lt;/field&gt; &lt;field name=“res_model”&gt;test.base&lt;/field&gt; &lt;field name=“view_type”&gt;form&lt;/field&gt; &lt;field name=“view_mode”&gt;tree,form&lt;/field&gt; &lt;/record&gt; &lt;menuitem id=“menu_test_base_main” name=“Test Base”/&gt; &lt;menuitem id=“menu_test_base” parent=“menu_test_base_main” name=“Test Base” action=“action_test_seq”/&gt; &lt;/data&gt; &lt;/openerp&gt; </code></pre> <p>and when I go to <code>__init__.py</code> file and import like this </p> <pre><code>import test_module </code></pre> <p>it can not me show any error then when I want to show this module and I go to settings-update module list then in OpenERP it can not show me any module Where is the problem? I've tried so many times but can not show module in OpenERP</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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