diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 00000000000..64aabade09d --- /dev/null +++ b/.coveragerc @@ -0,0 +1,18 @@ +# Config file .coveragerc +# adapt the include for your project + +[report] +include = + */OCA/sale-workflow/* + +omit = + */tests/* + *__init__.py + +# Regexes for lines to exclude from consideration +exclude_lines = + # Have to re-enable the standard pragma + pragma: no cover + + # Don't complain about null context checking + if context is None: diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000000..890ff010945 --- /dev/null +++ b/.gitignore @@ -0,0 +1,56 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] + +# C extensions +*.so + +# Distribution / packaging +.Python +env/ +bin/ +build/ +develop-eggs/ +dist/ +eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +*.egg-info/ +.installed.cfg +*.egg + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.cache +nosetests.xml +coverage.xml + +# Translations +*.mo + +# Pycharm +.idea + +# Mr Developer +.mr.developer.cfg +.project +.pydevproject + +# Rope +.ropeproject + +# Sphinx documentation +docs/_build/ + +# Backup files +*~ +*.swp diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000000..ab4516585a9 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,23 @@ +language: python + +python: + - "2.7" + +env: + - VERSION="7.0" ODOO_REPO="odoo/odoo" + - VERSION="7.0" ODOO_REPO="OCA/OCB" + +virtualenv: + system_site_packages: true + +install: + - git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools + - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH} + - travis_install_nightly + +script: + - travis_run_flake8 + - travis_run_tests + +after_success: + coveralls diff --git a/README.md b/README.md new file mode 100644 index 00000000000..9c4de4a198f --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +[![Build Status](https://travis-ci.org/OCA/sale-workflow.svg?branch=7.0)](https://travis-ci.org/OCA/sale-workflow) +[![Coverage Status](https://coveralls.io/repos/OCA/sale-workflow/badge.png?branch=7.0)](https://coveralls.io/r/OCA/sale-workflow?branch=7.0) + +Odoo Sales, Workflow and Organization +====================================== + +This project aim to deal with modules related to manage sale and their related workflow. You'll find modules that: + + - Allow to group discounts / advances / fees separately + - Add a condition on sales that is pushed on related invoices + - Compute shipped rate differently + - Easy the cancellation of SO + - ... +