滿多大神有分享相當多的教學內容,我這也就不重複說明,但我想用最不專業的方式,分享我的開發方式及說明
複製大法
https://www.odoo.com/documentation/15.0/developer/cli.html#reference-cmdline-scaffold
Scaffolding
Scaffolding is the automated creation of a skeleton structure to simplify bootstrapping (of new modules, in the case of Odoo). While not necessary it avoids the tedium of setting up basic structures and looking up what all starting requirements are.
Scaffolding is available via the odoo-bin scaffold subcommand.
$ odoo-bin scaffold my_module /addons/
配合我在windows的目錄及設定中要做點修改
python3 odoo-bin scaffold it_todo ../addons/