Git Product home page Git Product logo

addons-vauxoo's Introduction

Build Status Build Status

Vauxoo modules for Odoo

On this project we try to mantain all our generic modules that can be used as little extensions of odoo.

If a module is here frequently is because such need comply a very specific need of a customer and we considered such feature is generic enought to share on this repository.

The combination of several of this modules compliment other projects like odoo-mexico, odoo-venezuela, odoo-ifrs, odoo-afr look on our github page for such repositories and the utilities where this modules are used.

Reasons because a module can be here.

  1. The feature is generic.
  2. The module can work standalone or combined with other modules here or in OCA.
  3. Feature is planned to be mantained in future versions, very specific features which are specific for a user case on a customer can not be here.

Naming convention.

All modules must start with the name of meta functional area which they will work with, i.e: account_, website_, sale_*, etc.

Repositories which we depend from.

Read the repo_dependencies.txt file for more information.

Python Libraries which we depend from.

Read the requirements.txt file for more information.

Hacking this set of modules.

The main idea is create a little how-to commit by commit to know how to improve this modules in a clean way and help us to help you.

How add a new features:

  1. Clone this repository:

    $ git clone [email protected]:vauxoo/addons-vauxoo.git -b 8.0
    $ cd addons-vauxoo
    $ git remote add your-name [email protected]:your-github-name/addons-vauxoo.git # << to push your changes
  2. Before declare this repository as part of your addons-path: Install all external dependencies (read travis folder for more information). note: You will need some non normal packages (npm and lessc to be precise) when you have v8.0 normally installed, run this command in order to have them all in linux and avoid unexpected runtimes.

    $ cd addons-vauxoo
    $ sudo pip install -r ./travis/requirements.txt
    $ ./travis/travis_install_nightly
  3. Create your own branch locally.

    $ git checkout -b 8.0-your_new_feature_theme
  4. Push your first change branch to know you start to work on.

    $ git push -u origin 8.0-your_new_feature_theme
  5. Prepare your enviroment to work with this repository and the mandatory ones to have all the enviroment ready.

    $ git clone https://github.com/odoo/odoo.git -b 8.0
    $ git clone https://github.com/vauxoo/addons-vauxoo.git -b 8.0
    $ git clone [email protected]:oca/server-tools.git -b 8.0
  6. Create a postgres user (only for this work to avoid problems not related to this enviroment).

    $ sudo su postgres
    $ createuser testuser -P
    ##### put your password just the number one (1) for example.
    $ createdb test -U testuser -O testuser -T remplate0 -E UTF8
  7. Run the development enviroment.

    $ cd path/to/odoo/odoo
    $ ./openerp-server \
    --addons-path=addons/,../addons-vauxoo,../server-tools -r \
    testuser -w 1 --db-filter=test \
    -i module_to_improve -d test
  8. Do your code, code, code, code and update it passing -u module -d test (replacing this paramenter above).

  9. Before you need to be sure all is ok, we can delete and create db again with -i paramenter to ensure all install correctly.

    $ sudo su postgres
    $ dropbd test
    $ createdb test -U testuser -O testuser -T remplate0 -E UTF8
    $ ./openerp-server \
    --addons-path=addons/,../addonstest-vauxoo,../server-tools -r \
    testuser -w 1 --db-filter=test \
    -i module_to_improve -d test
  10. If all is ok installing, please test your enviroment running your code with ‘test-enabled’.

    $ ./openerp-server --addons-path=addons/,../addons-vauxoo,../test -r \
    testuser -w 1 --db-filter=test \
    -i module_to_improve-d test --test-enable

Note:

This will take a time, just do it before commit your change and make push.
  1. Add your changes to have them versioned.

    $ git add .
  2. Commit your changes.

    $ git commit -m "[TAG] module: what you did"
  3. Push your first change branch to know you start to work on.

    $ git push -u vauxoo-dev 8.0-your_new_feature_theme
  4. Make a PR with your changes as you usually do it with github's web interface or using hub.

Understanding our little structure of files per module.

Descriptions of modules can be on a README.md, README.rst, or directly on the descriptor openerp.py file, the best way to do something new is using a README.md file in some moment all our modules will be on that way.

Try to avoid imports of external libraries without a try, except to manage a WARNING controlling the external error, if is mandatory such need.

The structure of all internal odoo stuff try to follow the rules under OCA, and remember always do what we say and not what we do ;-) if you find things that do not comply such rules, it can be considered a bug, please share with us what you find and Pull Requests are welcome.

Paid support and warranties.

Are you planning to use this modules in a production enviromnent that can hire some work from the team behind this work?

#Better go with Vauxoo

addons-vauxoo's People

Contributors

julioserna avatar hbto avatar luistorresm avatar zaoral avatar isaako34 avatar moylop260 avatar nhomar avatar juancarlosfunes avatar jorgenaranjovauxoo avatar ernesto-gm avatar dsabrinarg avatar oscarolar avatar borrarme avatar hugho-ad avatar echeverrifm avatar ulisesrivadeneyra avatar sergioernestotostadosanchez avatar iferminm avatar gquilarque avatar amurillo-w avatar ruiztulio avatar jage22 avatar jordibforgeflow avatar realsystems-mx avatar mwatchorn26 avatar arielfigue avatar eduardoochoa-cluster avatar jpizarrom avatar jorgeandario avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.