Skip to content

Conversation

@JohanEndare
Copy link

Summary

Migration of account_move_template module to Odoo 19.0

Changes

  • Removed deprecated field from domains for Odoo 19 compatibility
  • Complete migration from 18.0 to 19.0

- Update version to 19.0.1.0.0
- Replace _sql_constraints with models.Constraint
- Replace self._context with self.env.context
- Add Endoo to contributors
The deprecated field on account.account was removed in Odoo 19.
Inactive accounts are now filtered automatically via the active field.
- Fix ruff UP031: use f-string instead of % formatting for L{seq}
- Fix translation-not-lazy: use self.env._() with lazy % formatting
- Fix prefer-env-translation: replace _() with self.env._()
- Add pylint disable comments where AST parser can't detect lazy formatting
- Auto-format XML files with prettier (self-closing tags)
- Regenerate README files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant