diff --git a/.claude/settings.json b/.claude/settings.json new file mode 100644 index 0000000..01ad04b --- /dev/null +++ b/.claude/settings.json @@ -0,0 +1,9 @@ +{ + "permissions": { + "allow": [ + "Edit(/.claude/skills/odoo-javascript/**)", + "Bash(git -C /home/snt/Documentos/lab/odoo/addons-cm commit -m ' *)", + "Bash(grep -E '\"\\(name|summary|version|author|depends\\)\"' -A0 __TRACKED_VAR__/__manifest__.py)" + ] + } +} diff --git a/CLAUDE.md b/CLAUDE.md index c6c246f..780f812 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -41,6 +41,7 @@ pre-commit run --all-files - Bulk: prefer `search().write()` over loops; `create([vals, ...])` for bulk create. - Notifications: `ir.actions.client` + `display_notification`. - Detailed logging in price/discount computations: `_logger.info("[PRICE] ...", ...)`. +- i18n: each addon ships `i18n/{es,eu}.po` (mandatory) + `.pot`. UTF-8 charset. ## Custom addons