Search 1.9 billion lines of Odoo code on GitHub

CreadorModulos-GNUoo

Author: Ruchir Shukla (Bizzappdev)
License: no license
Branch: master
Repository: axatec/CreadorModulos-GNUoo
Dependencies: base
Languages: Mako (251, 24.4%), Markdown (67, 6.5%), Python (478, 46.5%), and XML (233, 22.6%)
Other branches: develop, and feature/button

<h1>OpenERP Module Maker/Generator</h1> <p>OpenERP/Odoo Module which help you to Create/Generate OpenERP Module.</p> <p>Just few configurations for Object, Fiels, Field type, views and it will generate module zip file for you. You can extract zip file put file in addons path and it is ready to install.</p> <h2>Benifits</h2> <ul> <li>No Python knowledge is required</li> <li>Hassle free OpenERP Module creation</li> <li>All field types</li> <li>Button Event</li> <li>Inheriting object</li> </ul> <hr> <h2>Documentation</h2> <p><strong>Create a module</strong></p> <p><img src="https://bitbucket.org/repo/dx7zRM/images/4226504272-Selection_014.png" alt="Selection_014.png"></p> <p><strong>Create Object</strong></p> <p><img src="https://bitbucket.org/repo/dx7zRM/images/3888650947-Selection_015.png" alt="Selection_015.png"></p> <p><strong>Create Fields</strong></p> <p><code>Character Field</code></p> <p><img src="https://bitbucket.org/repo/dx7zRM/images/2708888647-Selection_016.png" alt="Selection_016.png"></p> <p><code>Selection Field</code></p> <p><img src="https://bitbucket.org/repo/dx7zRM/images/4278325284-Selection_017.png" alt="Selection_017.png"></p> <p><strong>Setup Button for status flow</strong></p> <p><img src="https://bitbucket.org/repo/dx7zRM/images/225195197-Selection_018.png" alt="Selection_018.png"></p> <p><strong>Generate Module by clicking <code>Create Module</code></strong> <img src="https://bitbucket.org/repo/dx7zRM/images/2767703413-Selection_019.png" alt="Selection_019.png"></p> <p>```</p> <h1>!python</h1> <p>from openerp.osv import osv, fields</p> <p>class demo_demo(osv.osv): _name = &#39;demo.demo&#39;</p> <pre><code>_columns = { &#39;name&#39;: fields.char(size=64, string=&#39;Name&#39;, required=True, ), &#39;state&#39;: fields.selection([(&#39;draft&#39;,&#39;Draft&#39;), (&#39;open&#39;,&#39;Open&#39;), (&#39;done&#39;,&#39;Done&#39;)], string=&#39;Status&#39;, ), } def act_open(self, cr, uid, ids, conext=None): return self.write(cr, uid, ids, {&#39;state&#39;: &#39;open&#39;}) def act_done(self, cr, uid, ids, conext=None): return self.write(cr, uid, ids, {&#39;state&#39;: &#39;done&#39;}) </code></pre> <p>demo_demo()</p> <h1>vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:</h1> <p>```</p> <p>```</p> <h1>!xml</h1> <pre><code> &lt;record id=&quot;view_demo_demo_form&quot; model=&quot;ir.ui.view&quot;&gt; &lt;field name=&quot;name&quot;&gt;demo.demo.form&lt;/field&gt; &lt;field name=&quot;model&quot;&gt;demo.demo&lt;/field&gt; &lt;field name=&quot;priority&quot; eval=&quot;8&quot;/&gt; &lt;field name=&quot;arch&quot; type=&quot;xml&quot;&gt; &lt;form string=&quot;Demo Demo&quot; version=&quot;7.0&quot;&gt; &lt;header&gt; &lt;button string=&quot;Open&quot; name=&quot;act_open&quot; states=&quot;draft&quot; type=&quot;object&quot;/&gt; &lt;button string=&quot;Done&quot; name=&quot;act_done&quot; states=&quot;open&quot; type=&quot;object&quot;/&gt; &lt;/header&gt; &lt;sheet&gt; &lt;group&gt; &lt;field name=&quot;name&quot;/&gt; &lt;field name=&quot;state&quot;/&gt; &lt;/group&gt; &lt;/sheet&gt; &lt;/form&gt; &lt;/field&gt; &lt;/record&gt; </code></pre> <p>```</p>