How / where do I start a new module? #639
-
| In Daily Usage , my first use after starting the dev environment and getting comfy in the VSCode workspace is to start developing a new module. Doodba is self-described as opinionated 😜. As a new Odoo developer, how and where do I start writing my first new custom addon module? It seems like addons should go in odoo/custom/src/. Confirm I can a) create an addon module directly in odoo/custom/src/ or b) I can create a git-managed addon and reference it for  Might sound basic, but it's the first thing I think people will want to do when spinning a new Odoo instance. Or maybe new Odoo-ers should not start with Doodba and just spin up a local Odoo docker container and start there? | 
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
| The  | 
Beta Was this translation helpful? Give feedback.
-
| So put non-git-aggregator-controlled modules in  I successfully added OCA modules by including them in  My question is: how do I add git controlled modules that are not part of OCA, or even in GitHub - like from local git-managed directories. | 
Beta Was this translation helpful? Give feedback.
-
| I appended to the default  and ran  The repo was added to  Why did my custom module get aggregated into the  Aggregate logs:  | 
Beta Was this translation helpful? Give feedback.
If you can add it with
git remote add name urlyou can add it in the repos.yaml:What do you mean with local git-managed? A local gitlab instance of a directory?
And it is highly recommend to use a branch named $ODOO_VERSION (e.g. 18.0) but you can also use any custom ref name in target. (But be careful, git-aggregate performs
git checkout -Bwith this name, so best do not use anyth…