(English) How to create an OpenERP module: the easy way

Ci spiace, ma questo articolo è disponibile soltanto in English.

Facebook Twitter Linkedin Digg Delicious Reddit Stumbleupon Tumblr Posterous Email Snailmail

Written by on martedì, aprile 3rd, 2012

  • Anonimo

    very nice, thanks for this, I love OpenERP as a platform and this looks like a handy shortcut for new modules.

    • http://www.domsense.com/ Simone Orsi

      Good! Just remember: any feedback/help is much appreciated 🙂

  • http://twitter.com/TimothySolomon Timothy Solomon

    Awesome! going to test it out soon. thanks for sharing!
    (PS where can I find more info on themeing openerp? how do you call the theme? Is it the same as ?kitten=1)

    • http://www.domsense.com/ Simone Orsi

      Actually I hadn’t look at this 🙂 The thing is that if you don’t override the basic CSS you won’t get the theme applied for anonymous if your module is installed into a specific db

      • http://www.domsense.com/ Simone Orsi

        just had a look at it and ‘kitten’ is working because is hardcoded :S take a look at these:

        web/6.1/addons/web/static/src/js/chrome.js:        if (jQuery.param !=
        undefined && jQuery.deparam(jQuery.param.querystring()).kitten
        != undefined) {
        web/6.1/addons/web/static/src/js/chrome.js:            this.$element.addClass(“kitten-mode-activated”);

      • http://twitter.com/TimothySolomon Timothy Solomon

        ok, thanks. Next question.. Got it installed in windows using easy_install, but how do I use paster? does it create and exe that I can just add to the PATH?

        • http://www.domsense.com/ Simone Orsi

          just call ‘paster’. if you are not using a virtualenv you should find it as a global command.

  • nycasual

    That was a great post Simahawk.  We are looking for a person or company to help us with OpenERP customization and creation of new modules, and someone with your knowledge could be very helpful. If you or someone you know is interested in a freelance OpenERP customization project, please email me at jeff.beach@newyorkcasual.com 

    • http://www.domsense.com/ Simone Orsi

      hi, feel free to contact us at info [at] domsense [dot] com

  • Neil Juan

    Learned a lot from here. Simplified.

  • http://lcaballero.wordpress.com/ Leonardo J. Caballero G.

    Simone Orsi Thanks, that was a great post! for help you to spread this methodology for create module for OpenERP, I wrote a article (in Spanish) check out http://goo.gl/1V5vi

  • Carlos Paz

    Can you make a tutorial how to customize predefined modules, like… the POS, for example ?

  • Amr Shahin

    Hey and thanks,

    i tried your tool on v7 and it doesn’t see the module ( doesn’t see a module i created manually either ). Any idea about that ?

  • RKS

    I get an error when I try this code.

    I can easy_install.
    I can paster create -t openerp_webmodule.
    I can enter the options.
    Once the options complete, I receive an error.
    The project_name directory is created in my current directory but there are no files created in the directory.
    I have a clean install of OpenERP v7.0.

    OSError: [Errno 20] Not a directory: ‘/usr/local/lib/python2.7/dist-packages/openerp_bootstrap-1.0b3-py2.7.egg/openerp_bootstratp/templates/web

    • http://lcaballero.wordpress.com/ Leonardo J. Caballero G.

      Maybe you must try with this follow command http://pastie.org/8623730

  • Freddy Hidalgo

    Yo me quedo con SublimeText

    1 Añadiendo toda la carpeta en Packages de Sublime

    https://github.com/frestehi/sublimetext-odoo8

  • BULLSHIT BRO!

    bullshit

    • http://it.linkedin.com/in/elbati/ Lorenzo Battistini

      I think this is not maintained anymore. @simahawk:disqus isn’t it?

    • kalushia

      why don’t you contribute rather than talk like that?