Metadata-Version: 2.4
Name: odooss
Version: 0.1.7
Summary: IdeaCode Academy Odoo Standard Structure — starting point repo.
Author-email: Agga <hanzawnyineonline@gmail.com>
Project-URL: Homepage, https://github.com/HanZawNyein/ica_standard_structure.git
Project-URL: Repository, https://github.com/HanZawNyein/ica_standard_structure.git
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: ruff>=0.12.8
Requires-Dist: black>=24.0.0
Requires-Dist: isort>=5.13.0
Requires-Dist: pre-commit>=3.8.0
Requires-Dist: click>=8.2.1
Dynamic: license-file


# Odoo Standard Scaffold


```zsh
 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).
```zsh
git remote add origin <repo-url>
```

## check your code format using ruff.

```zsh
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.

```zsh
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
