TIP: You can type at any time to perform a new search.
More pythonic relativedelta
web_relativedelta · OCA/web
Security findings
Migration considerations
- For a target of Odoo 10.0+: use the `__manifest__.py` manifest name instead of `__openerp__.py`. The filename alone does not establish module age or compatibility. migration-openerp-manifest · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/web · module folder · Try on Runboat
- Module version
- 1.0
- Category
- Dependency
- Folder size
- 0.02 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- None
- Last tracking update
- 2026-08-07 06:56:09
- Authors
- Odoo Community Association (OCA), Therp BV
- Maintainers
- Odoo Community Association (OCA), Therp BV
- Committers
- Alexandre Fayolle, Holger Brunn
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Introduction ============ This addon provides a reimplementation of OpenERP's pyjs relativedelta class using Moment.js (http://momentjs.com). On top of what you can do with the original, you can use - datetime objects - relativedelta(hour=0-23, hours=0-23) - relativedelta(minute=0-59, minutes=0-59) - relativedelta(seconds=0-59, seconds=0-59) - relativedelta(weekday=0) [MO] ... weekday=6 [SU] - there's no MO(+n) syntax, but that can be simulated by relativedelta(weeks=+(n-1), days=1, weekday=0), this week's monday would be relativedelta(weeks=-1, days=1, weekday=0) etc. - all of them together in a predictable manner as detailed in https://labix.org/python-dateutil#head-72c4689ec5608067d118b9143cef6bdffb6dad4e Usage ===== Simply depend on web_relativedelta and enjoy most of python's relativedelta functionality
Code Analysis
Views touched (0)
No views found for this module.
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (0)
No models found for this module.