MCPcopy Create free account

hub / github.com/OCA/server-tools / functions

Functions1,230 in github.com/OCA/server-tools

↓ 1 callersMethodautovacuum
Delete all logs older than ``days``. This includes: - CRUD logs (create, read, write, unlink) - HTTP requests - HT
auditlog/models/autovacuum.py:16
↓ 1 callersMethodbatch_unlink
(self)
autovacuum_message_attachment/models/autovacuum_mixin.py:17
↓ 1 callersFunctionbefore_send
Prevent the capture of any exceptions in the DEFAULT_IGNORED_EXCEPTIONS list -- or -- Add context to event if include_context is True
sentry/hooks.py:35
↓ 1 callersMethodbutton_analyse_code
(self)
module_analysis/models/ir_module_module.py:89
↓ 1 callersMethodbutton_approve
(self, force=False)
base_exception/tests/purchase_test.py:57
↓ 1 callersMethodbutton_cancel
(self)
base_exception/tests/purchase_test.py:69
↓ 1 callersMethodbutton_draft
(self)
base_exception/tests/purchase_test.py:61
↓ 1 callersMethodbutton_manual_run
Run the process for an individual attachment queue from a dedicated button
attachment_queue/models/attachment_queue.py:83
↓ 1 callersMethodbutton_reschedule
(self)
attachment_queue/models/attachment_queue.py:70
↓ 1 callersMethodchanged
(self)
auditlog/models/rule.py:45
↓ 1 callersMethodcheck_imap_archive_folder
If archive folder specified, check existance and create when needed.
fetchmail_attach_from_folder/models/fetchmail_server_folder.py:192
↓ 1 callersMethodcheck_view_init
This template only works on some context of active record
excel_import_export/wizard/import_xlsx_wizard.py:53
↓ 1 callersMethodcleanup
Clean up old backups.
auto_backup/models/db_backup.py:216
↓ 1 callersMethodcleanup_log
Log a possible cleanup failure.
auto_backup/models/db_backup.py:242
↓ 1 callersFunctionconvert_dict
Convert dict returned by update_dict to list consistent w/ Odoo API. The list is composed of strings (field names or targets) or tuples.
jsonifier/models/ir_exports.py:50
↓ 1 callersMethodconvert_to_column
(self, value, record, values=None, validate=True)
field_vector/fields.py:237
↓ 1 callersMethodconvert_to_export
(self, value: VectorValue, record)
field_vector/fields.py:188
↓ 1 callersMethodconvert_to_read
(self, value, record, use_name_get=True)
field_vector/fields.py:234
↓ 1 callersMethodconvert_to_record
(self, value, record)
field_vector/fields.py:212
↓ 1 callersMethodcreate_index
(self)
base_search_fuzzy/models/trgm_index.py:133
↓ 1 callersMethodcurrent_http_request
Create a log corresponding to the current HTTP request, and returns its ID. This method can be called several times during the HTTP qu
auditlog/models/http_request.py:38
↓ 1 callersMethoddefault_get
(self, fields_list)
database_cleanup/models/purge_wizard.py:43
↓ 1 callersMethoddelete
(self, session)
session_db/pg_session_store.py:125
↓ 1 callersMethoddelete_from_identifiers
(self, identifiers: list[str])
session_db/pg_session_store.py:184
↓ 1 callersFunctionensure_module_state
(env, modules, state)
module_auto_update/models/module.py:29
↓ 1 callersMethodexport_data
(self, fields_to_export)
auditlog/models/rule.py:559
↓ 1 callersFunctionfetch_git_sha
>>> fetch_git_sha(os.path.dirname(__file__)) Taken from https://git.io/JITmC
sentry/logutils.py:71
↓ 1 callersMethodfilter_extra
(self, data)
sentry/processor.py:90
↓ 1 callersMethodfilter_http
(self, data)
sentry/processor.py:67
↓ 1 callersMethodfilter_level
(self, data)
sentry/processor.py:93
↓ 1 callersMethodfilter_stacktrace
(self, data)
sentry/processor.py:61
↓ 1 callersMethodgenerate_module_coverage_file
(self, no_changes_modules)
upgrade_analysis/models/upgrade_analysis.py:515
↓ 1 callersMethodgenerate_noupdate_changes
Communicate with the remote server to fetch all xml data records per module, and generate a diff in XML format that can be imported fr
upgrade_analysis/models/upgrade_analysis.py:468
↓ 1 callersFunctiongetReportUrl
({report_name, context, data})
excel_import_export/static/src/js/report/action_manager_report.esm.js:5
↓ 1 callersFunctionget_environ
Returns our whitelisted environment variables. Taken from https://git.io/JIsf2
sentry/generalutils.py:56
↓ 1 callersFunctionget_extra_context
Extracts additional context from the current request (if such is set).
sentry/logutils.py:29
↓ 1 callersFunctionget_message_body
Get Message Body, as returned by fetch() from connection. fetch returns a list of tuples with the message information.
fetchmail_attach_from_folder/tests/test_match_algorithms.py:18
↓ 1 callersMethodget_model_options
(self, model)
base_sequence_option/models/ir_sequence_option.py:94
↓ 1 callersMethodget_next_char
(self, number_next)
sequence_python/models/ir_sequence.py:78
↓ 1 callersMethodget_not_used_index
(self, index_name, table_name, inc=1)
base_search_fuzzy/models/trgm_index.py:111
↓ 1 callersFunctionget_odoo_commit
Attempts to get Odoo git commit from :param:`odoo_dir`.
sentry/hooks.py:70
↓ 1 callersMethodget_orphaned_columns
From openobject-server/openerp/osv/orm.py Iterate on the database columns to identify columns of fields which have been remov
database_cleanup/models/purge_columns.py:76
↓ 1 callersFunctionget_record_id
OpenUpgrade: get or create the id from the record table matching the key parameter values
upgrade_analysis/upgrade_log.py:14
↓ 1 callersFunctionget_request_info
Returns context data extracted from :param:`request`. Heavily based on flask integration for Sentry: https://git.io/vP4i9.
sentry/logutils.py:13
↓ 1 callersMethodget_sequence
Find sequence option that match the record values
base_sequence_option/models/ir_sequence_option.py:99
↓ 1 callersMethodget_time_window_end_time
(self)
base_time_window/models/time_window_mixin.py:132
↓ 1 callersMethodget_time_window_start_time
(self)
base_time_window/models/time_window_mixin.py:129
↓ 1 callersFunctionhasdefault
Return a representation of the field's default method. The default method is only meaningful if the field is a regular read/write field with
upgrade_analysis/upgrade_log.py:77
↓ 1 callersMethodindex_exists
(self, model_name, field_name)
base_search_fuzzy/models/trgm_index.py:178
↓ 1 callersMethodinit
(self)
field_vector/models/ir_model_fields.py:16
↓ 1 callersFunctionis_namedtuple
https://stackoverflow.com/a/2166841/1843746 But modified to handle subclasses of namedtuples. Taken from https://git.io/JIsfY
sentry/generalutils.py:14
↓ 1 callersFunctionisdatetime
(input_val)
excel_import_export/models/common.py:198
↓ 1 callersFunctionisfloat
(input_val)
excel_import_export/models/common.py:182
↓ 1 callersFunctionisfunction
(field)
upgrade_analysis/upgrade_log.py:99
↓ 1 callersFunctionisinteger
(input_val)
excel_import_export/models/common.py:190
↓ 1 callersFunctionisproperty
(field)
upgrade_analysis/upgrade_log.py:110
↓ 1 callersFunctionistranslate
(field)
upgrade_analysis/upgrade_log.py:122
↓ 1 callersFunctioniteritems
Override iteritems for support multiple versions python. Taken from https://git.io/JIvMi
sentry/generalutils.py:27
↓ 1 callersMethodloop
Dispatch postgres notifications to the relevant polling threads/greenlets
bus_alt_connection/models/bus.py:33
↓ 1 callersFunctionmatch_updates
(match_fields)
upgrade_analysis/compare.py:439
↓ 1 callersMethodmock_run_create_partners
(self)
attachment_queue/tests/test_models.py:14
↓ 1 callersFunctionmodel_rename_map
(model)
upgrade_analysis/compare.py:37
↓ 1 callersMethodnext_by_code
(self, sequence_code, sequence_date=None)
base_sequence_option/models/ir_sequence.py:17
↓ 1 callersMethodnext_by_id
(self, sequence_date=None)
base_sequence_option/models/ir_sequence.py:10
↓ 1 callersFunctionpartition
Partition a recordset according to an accessor (e.g. a lambda). Returns a dictionary whose keys are the values obtained from accessor, and val
jsonifier/models/ir_exports.py:11
↓ 1 callersFunctionpatch__model_execute_cr
Patch rpc model handler.
rpc_helper/hooks.py:14
↓ 1 callersFunctionpost_init_hook
(env)
scheduler_error_mailer/hooks.py:6
↓ 1 callersMethodpurge
(self)
database_cleanup/models/purge_wizard.py:25
↓ 1 callersMethodread_per_record
(self, fields=None, load="_classic_read")
base_partition/models/models.py:57
↓ 1 callersFunctionremove_handler_ignore
Removes handlers of handlers ignored list.
sentry/tests/test_client.py:22
↓ 1 callersFunctionreport_generic
(new, old, attrs, reprs)
upgrade_analysis/compare.py:163
↓ 1 callersMethodreschedule
(self)
attachment_queue/wizards/attachement_queue_reschedule.py:26
↓ 1 callersMethodrun
(self)
attachment_synchronize/models/attachment_synchronize_task.py:156
↓ 1 callersMethodrun_server_action
(self, matched_object_ids)
fetchmail_attach_from_folder/models/fetchmail_server_folder.py:290
↓ 1 callersFunctionsave_directly_to_table
(cr, Model, field, Field, main_images)
base_multi_image/hooks.py:103
↓ 1 callersMethodselect_odoo_modules
(self, extra_domain=None)
upgrade_analysis/wizards/upgrade_install_wizard.py:62
↓ 1 callersMethodselect_other_modules
(self, extra_domain=None)
upgrade_analysis/wizards/upgrade_install_wizard.py:80
↓ 1 callersMethodsetUp
(self)
module_auto_update/tests/test_module.py:20
↓ 1 callersMethodset_done
Manually set to done
attachment_queue/models/attachment_queue.py:170
↓ 1 callersMethodset_draft
(self)
fetchmail_attach_from_folder/models/fetchmail_server_folder.py:157
↓ 1 callersMethodshow_res_ids
(self)
auditlog/models/log.py:54
↓ 1 callersFunctionsplit_row_col
(pos)
excel_import_export/models/common.py:154
↓ 1 callersFunctiontable_has_column
(cr, table, field)
base_multi_image/hooks.py:120
↓ 1 callersMethodtearDownClass
(cls)
base_multi_image/tests/test_base_multi_image.py:71
↓ 1 callersFunctionto_int_if_defined
(value)
sentry/const.py:20
↓ 1 callersFunctiontriggerDownload
(action, {onClose}, env)
excel_import_export/static/src/js/report/action_manager_report.esm.js:21
↓ 1 callersMethodunselect_modules
(self)
upgrade_analysis/wizards/upgrade_install_wizard.py:96
↓ 1 callersMethodupdate_custom_tracking
(self)
tracking_manager/models/ir_model.py:145
↓ 1 callersFunctionupdate_dict
Contruct a tree of fields. Example: { "name": True, "resource": True, } Order of keys is important.
jsonifier/models/ir_exports.py:27
↓ 1 callersMethodwrite
(self, vals)
tracking_manager_domain/models/ir_model_fields.py:15
Method__conform__
(self, protocol)
database_cleanup/identifier_adapter.py:11
Method__del__
(self)
session_db/pg_session_store.py:70
Method__enter__
(self)
upgrade_analysis/odoo_patch/odoo_patch.py:43
Method__eq__
(self, value: object, /)
field_vector/fields.py:41
Method__exit__
(self, exc_type, exc_value, tb)
upgrade_analysis/odoo_patch/odoo_patch.py:50
Method__exit__
Restore the original cache wherever it was replaced.
auditlog/models/rule.py:88
Method__init__
(self, *args, **kwargs)
sentry/tests/test_client.py:39
Method__init__
(self, identifier, quote=True)
database_cleanup/identifier_adapter.py:7
Method__init__
(self, value: list | tuple | np.ndarray, dimensions=None, autopad=True)
field_vector/fields.py:24
Method__init__
( self, dimensions=fields.SENTINEL, string=fields.SENTINEL, autopad=fields.SEN
field_vector/fields.py:123
← previousnext →401–500 of 1,230, ranked by callers