Skip to main content

IdeaCode Academy Odoo Standard Structure — starting point repo.

Project description

Odoo Standard Scaffold

 odooss create <your-dir-path> --odoo_version 18.0 --python 3.10

output will be like this

  • addons/
    • README.md
  • .dockerignore
  • .gitignore
  • .pre-commit-config.yaml
  • compose.yml
  • Dockerfile
  • README.md
  • requirements.txt
  • ruff.toml

and then create currently dir in config/odoo.conf file.

[options]
admin_passwd=xxxx
addons_path=/mnt/extra-addons

create odoo_pg_pass file

your-password=xxxx

add your repo (optional).

git remote add origin <repo-url>

check your code format using ruff.

ruff format

check your code and fixed it.

ruff can check and auto fix for some and others for manually.

ruff check --fix

now you can push to your branch.

if pushing was failed. you need to check with ruff again.

git add .
git commit -m "[ADD] project initalize"
git push origin <branch>

if you are using automaion flow. like github action need to follow instructions.

Github

Settings >> Security >> Actions secrets and variables >> secrets >> Repository secrets

add this variables

  • ODOO_DB_NAME
  • ODOO_DB_PASSWORD

now git push and check your github action.

we will be continue for other vcs (like gitlab, bitbucket, etc....) in the future

Agga, IdeaCode Academy

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

odooss-0.1.7.tar.gz (21.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

odooss-0.1.7-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

Details for the file odooss-0.1.7.tar.gz.

File metadata

  • Download URL: odooss-0.1.7.tar.gz
  • Upload date:
  • Size: 21.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for odooss-0.1.7.tar.gz
Algorithm Hash digest
SHA256 89f7d8ccc901967dbd162dc8ad46f6ff89a8901520b1c1928ecd0a5c033fba56
MD5 928c5c5e92eed09a464a303d14f54e8f
BLAKE2b-256 a02e8924d6dc6e9317f69e41667a2215d936c84c882c5e5c733fe0975ba66b4d

See more details on using hashes here.

File details

Details for the file odooss-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: odooss-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 24.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for odooss-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c4ce2c0d343f010d06c60f256d41c7a700e7f4661e98656fce1d3a2251e8042f
MD5 4ccba7a8d581a5818215428c3ad275b9
BLAKE2b-256 fd91acfd8c2eb0af5c34022b081db6518acc2305643498dc1f337722c799ea88

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page