Redmine Import Time Entry
redmine_import_time_entry · OCA/connector-redmine
Health
42/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 117 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
2 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis
13 migration notes
4 models
3 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
AccountAnalyticAccount— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourceHrTimesheetSheet— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourcehr_timesheet_sheet_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceir_cron_time_entry_import— Migrating to 18.0: `ir.cron` lost `numbercall`/`doall`: remove them from the record, data loading fails on unknown fields. migration-cron-numbercall · sourceredmine_backend— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.exceptions`) (8 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.tools.translate`) (5 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.tools.translate`) (4 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (4 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (5 occurrences in this file) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
assets_backend |
hr_timesheet_sheet assets | ir.ui.view | qweb | Inherits web.assets_backend |
hr_timesheet_sheet_form |
hr.timesheet.sheet.form | hr_timesheet_sheet.sheet | form | Inherits hr_timesheet_sheet.hr_timesheet_sheet_form |
view_redmine_backend_form |
redmine.backend.form | redmine.backend | form | Inherits connector_redmine.view_redmine_backend_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (1)-
create(self, vals)@api.modelThe base create method checks in context for the user_id. By default, the mapper passes the fields through vals, so need to update the context.
New fields (0)
No new fields.
Public methods (1)-
import_timesheets_from_redmine(self)@api.multiCall the connector to import timesheets as superuser to prevent errors related with security issues. We ensure that the user has write access to the timesheet.
New fields (3)
-
contract_refCharhelp='The field in Redmine used to relate a project in Redmine to a project in Odoo. Each redmine project must have a unique value for this attribute.' args: 'Contract # field name' -
time_entry_last_updateDatetimedefault=<expr>required=True args: 'Last Time Entry Update' -
time_entry_number_of_daysIntegerdefault=14help='Number of days used when fetching the time entries.'required=True args: 'Time Entries - Number of days'
-
check_contract_ref(self)@api.multiCheck if the contract_ref field exists in redmine -
prepare_time_entry_import(self)@api.model
Loading…