File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5252
5353Requirements:
5454
55- - Postrgesql
55+ - Postgresql
5656- [ uv] ( https://docs.astral.sh/uv/ )
5757- Some dependencies to be able to build some python packages: ` libpq-dev ` ,
5858 ` build-essential ` , TODO
@@ -65,6 +65,21 @@ download for you if necessary) and install the required dependencies:
6565uv sync
6666```
6767
68+ ### Development
69+
70+ For addons living in this repository, you can just change code and restart Odoo with the
71+ ` uv run ` command.
72+
73+ For addons in other repositories, the procedure is as follows:
74+
75+ - check out the repository somewhere, ie /src/\$ repo
76+ - add the following line to ` pyproject.toml ` in the ` [tool.uv.sources] ` section:
77+
78+ odoo14-addon-$youraddon = { path = "/srv/$repo/setup/$youraddon", editable = true }
79+
80+ - run ` uv sync `
81+ - restart Odoo
82+
6883### Setup database and launch tests
6984
7085- setup database with demo data and all oca modules installed
Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ services:
3030 interval : 2s
3131 timeout : 200ms
3232 retries : 150
33+ depends_on :
34+ - db
35+ - kwkhtmltopdf
3336
3437 db :
3538 image : postgres
You can’t perform that action at this time.
0 commit comments