Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OCA/server-tools
/ functions
Functions
1,230 in github.com/OCA/server-tools
⨍
Functions
1,230
◇
Types & classes
269
↳
Endpoints
18
↓ 217 callers
Method
get
(self, sid)
session_db/pg_session_store.py:130
↓ 199 callers
Method
search
Move the requested dates from the domain into the context
database_size/report/ir_model_size_report.py:115
↓ 64 callers
Method
create
Insert model_name and model_model field values upon creation.
auditlog/models/log.py:35
↓ 58 callers
Method
write
Update model_name and model_model field values to reflect model_id changes.
auditlog/models/log.py:44
↓ 45 callers
Method
create
(self, vals_list)
base_search_fuzzy/models/trgm_index.py:190
↓ 33 callers
Method
create
(self, list_vals)
tracking_manager/models/models.py:163
↓ 26 callers
Method
unlink
Unsubscribe rules before removing them.
auditlog/models/rule.py:313
↓ 25 callers
Method
read
(self, fields=None, load="_classic_read", **kwargs)
auditlog/models/rule.py:405
↓ 23 callers
Method
create
Mock creating a folder.
fetchmail_attach_from_folder/tests/test_match_algorithms.py:51
↓ 21 callers
Method
jsonify
Convert the record according to the given parser. Example of (simple) parser: parser = [ 'name',
jsonifier/models/models.py:182
↓ 18 callers
Method
create
(self, values)
database_cleanup/models/purge_wizard.py:85
↓ 18 callers
Function
environment
Return an environment with a new cursor for the current database; the cursor is committed and closed after the context block.
database_cleanup/tests/common.py:14
↓ 18 callers
Method
write
(self, vals)
tracking_manager/models/models.py:157
↓ 17 callers
Method
subscribe
Subscribe Rule for auditing changes on model and apply shortcut to view logs on that model.
auditlog/models/rule.py:811
↓ 16 callers
Method
copy
Mock copy command.
fetchmail_attach_from_folder/tests/test_match_algorithms.py:59
↓ 16 callers
Function
module_map
(module)
upgrade_analysis/compare.py:31
↓ 16 callers
Method
unlink
(self)
attachment_delete_restrict/models/ir_attachment.py:66
↓ 15 callers
Method
button_confirm
(self)
base_exception/tests/purchase_test.py:65
↓ 14 callers
Method
create
(self, vals_list)
base_time_window/models/time_weekday.py:41
↓ 14 callers
Method
new_record
(self, method="sftp")
auto_backup/tests/test_db_backup.py:59
↓ 14 callers
Method
write
(self, vals)
excel_import_export/models/xlsx_template.py:173
↓ 13 callers
Method
to_list
Convert the vector value to a list.
field_vector/fields.py:49
↓ 13 callers
Method
unlink
Mimic `ondelete="cascade"` for multi images. Will be skipped if ``env.context['bypass_image_removal']`` == True
base_multi_image/models/owner.py:72
↓ 13 callers
Method
write
(self, vals)
base_time_window/models/time_weekday.py:46
↓ 12 callers
Function
fieldprint
(old, new, field, text, reprs)
upgrade_analysis/compare.py:121
↓ 11 callers
Method
_set_restrict_mode
(self, restrict_mode)
attachment_delete_restrict/tests/test_attachment_delete_restrict.py:171
↓ 11 callers
Method
create
(self, vals_list)
attachment_queue/models/attachment_queue.py:65
↓ 11 callers
Method
create
(self, vals_list)
base_sequence_option/tests/base_sequence_tester.py:15
↓ 11 callers
Method
vector_dimensions
(self, record)
field_vector/fields.py:134
↓ 11 callers
Method
write
(self, vals)
base_exception/models/exception_rule.py:130
↓ 10 callers
Method
_check_attachment_created
(self, count=1)
attachment_synchronize/tests/test_import.py:30
↓ 10 callers
Method
close
(self)
fetchmail_attach_from_folder/tests/test_match_algorithms.py:80
↓ 10 callers
Method
create
(self, vals_list)
excel_import_export/models/xlsx_template.py:161
↓ 9 callers
Method
_get_next_weekday_date
Returns the next Date matching weekday :param date_from: Date object from which we start searching for next weekday :param include_da
base_time_window/models/time_weekday.py:56
↓ 9 callers
Method
_rpc_call
(self, method, vals=None)
rpc_helper/tests/test_xmlrpc.py:36
↓ 9 callers
Method
filename
Generate a file name for a backup. :param datetime.datetime when: Use this datetime instead of :meth:`datetime.datetime.now`.
auto_backup/models/db_backup.py:262
↓ 9 callers
Function
initialize_sentry
Setup an instance of :class:`sentry_sdk.Client`. :param config: Sentry configuration :param client: class used to instantiate the sentry_sdk c
sentry/hooks.py:80
↓ 9 callers
Method
log
(self, level, msg, exc_info=None)
sentry/tests/test_client.py:111
↓ 9 callers
Function
model_map
(model)
upgrade_analysis/compare.py:45
↓ 9 callers
Method
run
Run the process for an individual attachment queue
attachment_queue/models/attachment_queue.py:153
↓ 9 callers
Method
run_import
(self)
attachment_synchronize/models/attachment_synchronize_task.py:199
↓ 9 callers
Method
select
(self, path=None)
fetchmail_attach_from_folder/tests/test_match_algorithms.py:48
↓ 9 callers
Method
sftp_connection
Return a new SFTP connection with found parameters.
auto_backup/models/db_backup.py:273
↓ 9 callers
Method
unlink
(self)
excel_import_export/models/xlsx_template.py:186
↓ 9 callers
Method
unlink
(self)
tracking_manager/models/models.py:169
↓ 8 callers
Method
action_backup
Run selected backups.
auto_backup/models/db_backup.py:139
↓ 8 callers
Method
create_logs
Create logs. `old_values` and `new_values` are dictionaries, e.g: {RES_ID: {'FIELD': VALUE, ...}}
auditlog/models/rule.py:578
↓ 8 callers
Method
create_rule
(cls, vals)
auditlog/tests/common.py:15
↓ 8 callers
Function
match
(match_fields, report_fields, warn=False)
upgrade_analysis/compare.py:258
↓ 8 callers
Method
purge_all
(self)
database_cleanup/models/purge_wizard.py:52
↓ 8 callers
Method
text_from_html
Extract text from an HTML field in a generator. :param str html_content: HTML contents from where to extract the text. :
html_text/models/ir_fields_converter.py:18
↓ 8 callers
Method
uid
Return from the appropiate mocked method.
fetchmail_attach_from_folder/tests/test_match_algorithms.py:87
↓ 8 callers
Method
write
(self, vals)
module_analysis/models/ir_module_module.py:80
↓ 7 callers
Method
_get_saved_checksums
(self)
module_auto_update/models/module.py:71
↓ 7 callers
Method
_save_installed_checksums
(self)
module_auto_update/models/module.py:82
↓ 7 callers
Method
autovacuum
(self, ttype="message")
autovacuum_message_attachment/models/autovacuum_mixin.py:36
↓ 7 callers
Method
name_search
(self, name="", args=None, operator="ilike", limit=100)
base_name_search_improved/models/ir_model.py:117
↓ 7 callers
Method
setUpClass
(cls)
auditlog/tests/test_auditlog.py:286
↓ 6 callers
Method
apply_inheritance_specs
(self, source, specs_tree, pre_locate=lambda s: True)
base_view_inheritance_extension/models/ir_ui_view.py:55
↓ 6 callers
Method
apply_matching
Return id of object matched (which will be the thread_id).
fetchmail_attach_from_folder/models/fetchmail_server_folder.py:262
↓ 6 callers
Method
create
(self, vals_list)
base_force_record_noupdate/models/ir_model.py:14
↓ 6 callers
Method
create
Update the registry when a new rule is created.
auditlog/models/rule.py:288
↓ 6 callers
Method
partition_field_test
To check that we have a partition we need to check that: - all field values are keys - the set of all keys is the same
base_partition/tests/test_partition.py:76
↓ 6 callers
Method
patch_config
Patch Odoo's config with the given `options`, ensuring that the patch is undone when the test completes.
sentry/tests/test_client.py:99
↓ 6 callers
Method
return_same_form_view
(self)
upgrade_analysis/wizards/upgrade_install_wizard.py:110
↓ 6 callers
Method
sudo_tech
(self, raise_if_missing=False)
base_technical_user/models/models.py:13
↓ 5 callers
Method
_create_dummy_attachment
(self, override=False, no_job=False)
attachment_queue/tests/test_attachment_queue.py:25
↓ 5 callers
Method
_get_checksum_dir
(self)
module_auto_update/models/module.py:48
↓ 5 callers
Method
_get_modules_partially_installed
(self)
module_auto_update/models/module.py:90
↓ 5 callers
Method
_get_modules_with_changed_checksum
(self)
module_auto_update/models/module.py:94
↓ 5 callers
Method
_module_ids_domain
(self, extra_domain=None)
upgrade_analysis/wizards/upgrade_install_wizard.py:35
↓ 5 callers
Method
_normalize_size
Filter out -1s and compute as MB
database_size/models/ir_model_size.py:136
↓ 5 callers
Method
_patch_method
(self, model, method_name, check_attr)
auditlog/models/rule.py:217
↓ 5 callers
Method
get_criteria
(self)
fetchmail_attach_from_folder/models/fetchmail_server_folder.py:206
↓ 5 callers
Method
get_json_parser
Creates a parser from ir.exports record and return it. The final parser can be used to "jsonify" records of ir.export's model.
jsonifier/models/ir_exports.py:96
↓ 5 callers
Function
inv_model_map
(model)
upgrade_analysis/compare.py:49
↓ 5 callers
Method
save
(self, session)
session_db/pg_session_store.py:110
↓ 5 callers
Method
search
Return some message uid's.
fetchmail_attach_from_folder/tests/test_match_algorithms.py:76
↓ 5 callers
Method
upgrade_changed_checksum
Run an upgrade of the database, upgrading only changed modules. Installed modules for which the checksum has changed since the last s
module_auto_update/models/module.py:102
↓ 4 callers
Function
_connection_info_for
(db_name)
bus_alt_connection/models/bus.py:20
↓ 4 callers
Method
_get_fields
(cls, fields_list)
tracking_manager/tests/test_tracking_manager.py:42
↓ 4 callers
Method
_get_hour_min_from_value
(self, value)
base_time_window/models/time_window_mixin.py:110
↓ 4 callers
Method
_save_checksums
(self, checksums)
module_auto_update/models/module.py:76
↓ 4 callers
Method
assertEventCaptured
(self, client, event_level, event_msg)
sentry/tests/test_client.py:114
↓ 4 callers
Method
assertEventNotCaptured
(self, client, event_level, event_msg)
sentry/tests/test_client.py:120
↓ 4 callers
Method
batch
Yield successive batches of size batch_size, or .
base_partition/models/models.py:44
↓ 4 callers
Method
create
(self, vals_list)
base_exception/models/exception_rule.py:125
↓ 4 callers
Method
create
(self, vals_list)
iap_alternative_provider/models/iap_account.py:29
↓ 4 callers
Method
get_connection
(self)
upgrade_analysis/models/upgrade_comparison_config.py:42
↓ 4 callers
Function
hashable
(x)
bus_alt_connection/tests/test_bus_connection.py:15
↓ 4 callers
Method
message_process
(self, fetchmail_server_id=None)
fetchmail_notify_error_to_sender/tests/test_fetchmail_notify_error_to_sender.py:65
↓ 4 callers
Method
partition
Returns a dictionary forming a partition of self into a dictionary value/recordset for each value obtained from the accessor. The acce
base_partition/models/models.py:11
↓ 4 callers
Method
process
(self, data, **kwargs)
sentry/processor.py:18
↓ 4 callers
Method
run_as_job
Run the process for an individual attachment queue from a async job
attachment_queue/models/attachment_queue.py:102
↓ 4 callers
Function
search
Find a match of a dictionary in a list of similar dictionaries with respect to the keys in the 'fields' arguments. Return the item if fou
upgrade_analysis/compare.py:95
↓ 4 callers
Method
search_count
Move the requested dates from the domain into the context
database_size/report/ir_model_size_report.py:121
↓ 4 callers
Method
unsubscribe
Unsubscribe Auditing Rule on model.
auditlog/models/rule.py:831
↓ 4 callers
Method
write
(self, vals)
base_force_record_noupdate/models/ir_model.py:20
↓ 3 callers
Method
__enter__
Replace the cache + tocompute on all envs and on the transaction. It is not enough to replace the cache on the current env, because once
auditlog/models/rule.py:65
↓ 3 callers
Method
_close_connection
Return cursor to the pool.
session_db/pg_session_store.py:86
next →
1–100 of 1,230, ranked by callers