feat(task): improve module scaffolding with post-creation instructions and remove unused assets
This commit is contained in:
2 files changed
+4
-5
No files matched your search
@@ -2018,6 +2018,10 @@ create-module() {
|
||||
|
||||
echo "Scaffolding module $module_name in ${parent_dir}..."
|
||||
odoo scaffold "$module_name" "$parent_dir" -t templates/module
|
||||
|
||||
echo "Update the 'readme/DESCRIPTION.md'."
|
||||
echo "Update summary and license in the '__manifest__.py'."
|
||||
echo "Remove the 'security/security.xml' if not required."
|
||||
}
|
||||
|
||||
generate-module-docs() {
|
||||
|
||||
@@ -20,9 +20,4 @@
|
||||
"auto_install": False,
|
||||
"images": ["images/screen.png"],
|
||||
"demo": ["demo/demo.xml"],
|
||||
"assets": {
|
||||
"web.assets_backend": [
|
||||
"{{ name }}/static/src/css/style.css",
|
||||
]
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user