MCPcopy Create free account

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

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

↓ 2 callersMethod_trgm_extension_exists
(self)
base_search_fuzzy/models/trgm_index.py:58
↓ 2 callersMethod_update_result_export_ids
(self)
excel_import_export/models/xlsx_template.py:224
↓ 2 callersMethod_update_result_field_common_wizard
(self)
excel_import_export/models/xlsx_template.py:195
↓ 2 callersMethod_var2str_domain_text
Replaces var names with str names to allow eval without defined vars
base_view_inheritance_extension/models/ir_ui_view.py:181
↓ 2 callersMethod_where_calc
Move the requested dates from the domain into the context
database_size/report/ir_model_size_report.py:109
↓ 2 callersMethodaction_backup_all
Run all scheduled backups.
auto_backup/models/db_backup.py:195
↓ 2 callersMethodaction_ignore_exceptions
(self)
base_exception/models/base_exception.py:33
↓ 2 callersMethodaction_sftp_test_connection
Check if the SFTP settings are correct.
auto_backup/models/db_backup.py:125
↓ 2 callersFunctionaddon_hash
Compute a sha1 digest of file contents.
module_auto_update/addon_hash.py:35
↓ 2 callersMethodattach_mail
Attach mail to match_object.
fetchmail_attach_from_folder/models/fetchmail_server_folder.py:433
↓ 2 callersMethodbackup_log
Log a backup result.
auto_backup/models/db_backup.py:200
↓ 2 callersMethodbutton_confirm_folder
(self)
fetchmail_attach_from_folder/models/fetchmail_server_folder.py:134
↓ 2 callersFunctionclean_records
(records)
upgrade_analysis/compare.py:229
↓ 2 callersFunctioncompare_records
Check equivalence of two OpenUpgrade field representations with respect to the keys in the 'fields' arguments. Take apriori knowledge int
upgrade_analysis/compare.py:63
↓ 2 callersMethodcopy
(self, default=None)
attachment_synchronize/models/attachment_synchronize_task.py:253
↓ 2 callersMethodcurrent_http_session
Create a log corresponding to the current HTTP user session, and returns its ID. This method can be called several times during the HT
auditlog/models/http_session.py:34
↓ 2 callersMethoddetect_exceptions
List all exception_ids applied on self Exception ids are also written on records
base_exception/models/base_exception_method.py:69
↓ 2 callersMethodexpunge
Mock an IMAP4.expunge action
fetchmail_attach_from_folder/tests/test_match_algorithms.py:83
↓ 2 callersFunctionfield_dict
Create a parser dict for the field field.
jsonifier/models/ir_exports.py:64
↓ 2 callersMethodfind
(self)
database_cleanup/models/purge_wizard.py:49
↓ 2 callersMethodfloat_to_time
(self, value)
base_time_window/models/time_window_mixin.py:125
↓ 2 callersMethodfloat_to_time_repr
(self, value)
base_time_window/models/time_window_mixin.py:119
↓ 2 callersMethodflush_tracking
Force the creation of tracking values.
tracking_manager/tests/test_tracking_manager.py:63
↓ 2 callersFunctionformat_m2m
(records)
tracking_manager/tools.py:6
↓ 2 callersMethodget_eval_context
(self, model=False, value=False)
excel_import_export/models/xlsx_import.py:28
↓ 2 callersMethodget_external_id
Get external ID of the record, if not already exists create one
excel_import_export/models/xlsx_import.py:47
↓ 2 callersMethodget_message_uids
Return imap ids of messages to process
fetchmail_attach_from_folder/models/fetchmail_server_folder.py:232
↓ 2 callersMethodget_xml_records
Return all XML records from the given module
upgrade_analysis/models/upgrade_record.py:162
↓ 2 callersMethodimport_xlsx
- If res_id = False, we want to create new document first - Delete fields' data according to data_dict['__IMPORT__'] - Import
excel_import_export/models/xlsx_import.py:356
↓ 2 callersFunctionisrelated
(field)
upgrade_analysis/upgrade_log.py:116
↓ 2 callersMethodlist_modules
Return the set of covered modules
upgrade_analysis/models/upgrade_record.py:142
↓ 2 callersFunctionmodel_merge_map
(model)
upgrade_analysis/compare.py:41
↓ 2 callersFunctionregister_vector
(cr)
field_vector/register.py:24
↓ 2 callersMethodreport_routes
(self, reportname, docids=None, converter=None, **data)
excel_import_export/controllers/report.py:22
↓ 2 callersMethodrun_task_import_scheduler
(self, domain=None)
attachment_synchronize/models/attachment_synchronize_task.py:139
↓ 2 callersMethodsanitize
(self, item, value)
sentry/processor.py:40
↓ 2 callersMethodsearch_matches
Returns recordset of matching objects.
fetchmail_attach_from_folder/match_algorithm/email_exact.py:31
↓ 2 callersFunctionstring_types
Taken from https://git.io/JIv5J
sentry/generalutils.py:8
↓ 2 callersMethodunlink
(self)
base_time_window/models/time_weekday.py:51
↓ 2 callersMethodupdate_msg
Update msg in imap folder depending on match and settings.
fetchmail_attach_from_folder/models/fetchmail_server_folder.py:324
↓ 2 callersMethodwrite
Update the registry when existing rules are updated.
auditlog/models/rule.py:301
↓ 2 callersMethodwrite
(self, vals)
tracking_manager/models/ir_model.py:159
↓ 1 callersMethod__parse_field
Deduct how to handle a field from its parser.
jsonifier/models/models.py:25
↓ 1 callersMethod_active_tracking
(cls, fields_list)
tracking_manager/tests/test_tracking_manager.py:36
↓ 1 callersMethod_archive_msg
Archive message. Folder should already have been created.
fetchmail_attach_from_folder/models/fetchmail_server_folder.py:337
↓ 1 callersMethod_check_exception
Check exceptions This method must be used in a constraint that must be created in the object that inherits for base.exception.
base_exception/models/base_exception.py:94
↓ 1 callersMethod_check_message_already_present
If message already handled, it should be ignored.
fetchmail_attach_from_folder/models/fetchmail_server_folder.py:372
↓ 1 callersMethod_check_owner_delete_attachment
(self)
attachment_delete_restrict/models/ir_attachment.py:39
↓ 1 callersMethod_cleanup_fetchmail_server
(self, server, imap_server)
mail_cleanup/models/fetchmail_server.py:49
↓ 1 callersMethod_compose_field_name
(self, line)
excel_import_export/models/xlsx_template.py:365
↓ 1 callersMethod_compute_upgrade_path
Return the --upgrade-path configuration option or the `scripts` directory in `openupgrade_scripts` if available
upgrade_analysis/models/upgrade_analysis.py:64
↓ 1 callersMethod_conditional_image_evaluate_selector
(self, conditional_image)
base_conditional_image/models/conditional_image_consumer_mixin.py:19
↓ 1 callersFunction_convert_parser
Recursively process each list to replace encoded fields as string by dicts specifying each attribute by its relevant key.
jsonifier/models/utils.py:20
↓ 1 callersMethod_create_export_action
(self, model)
excel_import_export/models/xlsx_template.py:448
↓ 1 callersMethod_create_import_record
(self, model, xls_file)
excel_import_export/models/xlsx_import.py:301
↓ 1 callersMethod_create_log_line_on_create
Log field filled on a 'create' operation.
auditlog/models/rule.py:768
↓ 1 callersMethod_create_log_line_on_write
Log field updated on a 'write' operation.
auditlog/models/rule.py:709
↓ 1 callersMethod_create_vals
(self, addr, hostname)
base_remote/models/res_remote.py:22
↓ 1 callersMethod_db_autovacuum_tune
(self)
database_autovacuum_tuning/models/database_autovacuum_tuning.py:17
↓ 1 callersMethod_default_attachment_ids
(self)
attachment_queue/wizards/attachement_queue_reschedule.py:11
↓ 1 callersMethod_default_automatic_custom_tracking_domain_rules
(self)
tracking_manager/models/ir_model.py:105
↓ 1 callersMethod_default_folder
Default to ``backups`` folder inside current server datadir.
auto_backup/models/db_backup.py:98
↓ 1 callersMethod_delete_record_data
If no _NODEL_, delete existing lines before importing
excel_import_export/models/xlsx_import.py:79
↓ 1 callersMethod_detect_exceptions
(self, rule_info)
base_exception/models/base_exception_method.py:120
↓ 1 callersMethod_detect_exceptions_by_domain
Find exceptions found on self.
base_exception/models/base_exception_method.py:143
↓ 1 callersMethod_detect_exceptions_by_method
Find exceptions found on self.
base_exception/models/base_exception_method.py:152
↓ 1 callersMethod_detect_exceptions_by_py_code
Find exceptions found on self.
base_exception/models/base_exception_method.py:131
↓ 1 callersMethod_domain_template_id
(self)
excel_import_export/wizard/export_xlsx_wizard.py:16
↓ 1 callersMethod_domain_template_id
(self)
excel_import_export/wizard/import_xlsx_wizard.py:16
↓ 1 callersMethod_drop_column
(self, table, column)
database_cleanup/models/purge_fields.py:70
↓ 1 callersMethod_ensure_connection
(self)
session_db/pg_session_store.py:74
↓ 1 callersMethod_eval_style_cond
(self, model, record, value, style_cond)
excel_import_export/models/xlsx_export.py:120
↓ 1 callersMethod_exception_rule_eval_context
(self, rec)
base_exception/models/base_exception_method.py:94
↓ 1 callersMethod_execute_import
(self, imp, header_fields)
excel_import_export/models/xlsx_import.py:312
↓ 1 callersMethod_extract_field_name
(self, vals)
excel_import_export/models/xlsx_template.py:592
↓ 1 callersMethod_extract_field_name
(self, vals)
excel_import_export/models/xlsx_template.py:641
↓ 1 callersMethod_fill_head
(self, ws, st, record)
excel_import_export/models/xlsx_export.py:184
↓ 1 callersMethod_fill_lines
(self, ws, st, record)
excel_import_export/models/xlsx_export.py:203
↓ 1 callersMethod_fill_workbook_data
Fill data from record with style in data_dict to workbook
excel_import_export/models/xlsx_export.py:137
↓ 1 callersMethod_filter_duplicates
(self, file_path_names)
attachment_synchronize/models/attachment_synchronize_task.py:225
↓ 1 callersMethod_find_match
Try to find existing object to link mail to.
fetchmail_attach_from_folder/models/fetchmail_server_folder.py:383
↓ 1 callersFunction_fnmatch
(filename, patterns)
module_auto_update/addon_hash.py:9
↓ 1 callersMethod_from_db
Convert a binary value from the database to a VectorValue.
field_vector/fields.py:78
↓ 1 callersMethod_from_query
(self)
auditlog/models/auditlog_log_line_view.py:56
↓ 1 callersMethod_function_value
(self, record, function, field_name)
jsonifier/models/models.py:33
↓ 1 callersMethod_generate_xml_id
(self, record)
excel_import_export/models/xlsx_import.py:275
↓ 1 callersFunction_get_add_smart_search
Add Smart Search on search views
base_name_search_improved/models/ir_model.py:37
↓ 1 callersMethod_get_algorithm
Translate algorithm code to implementation class. We used to load this dynamically, but having it more or less hardcoded allows to ad
fetchmail_attach_from_folder/models/fetchmail_server_folder.py:416
↓ 1 callersMethod_get_analyse_data_dict
(self)
module_analysis/models/ir_module_module.py:175
↓ 1 callersMethod_get_analyse_settings
Return a dictionnary of data analysed Overload this function if you want to analyse other data { 'extension': {
module_analysis/models/ir_module_module.py:43
↓ 1 callersMethod_get_autovacuum_records
(self, rule)
autovacuum_message_attachment/models/autovacuum_mixin.py:45
↓ 1 callersMethod_get_autovacuum_records_model
(self, rule)
autovacuum_message_attachment/models/autovacuum_mixin.py:50
↓ 1 callersMethod_get_cached_rules_for_domain
This method is used to get the rules that match the domain. The result is cached to avoid to have to loockup the database every time
base_exception/models/exception_rule.py:85
↓ 1 callersMethod_get_clean_analyse_values
List of fields to unset when a module is uninstalled
module_analysis/models/ir_module_module.py:64
↓ 1 callersMethod_get_conditions_dict
(self)
excel_import_export/models/xlsx_export.py:45
↓ 1 callersMethod_get_domain
override me to customize domains according exceptions cases
base_exception/models/exception_rule.py:69
↓ 1 callersMethod_get_end_row
Get max row or next empty row as the ending row
excel_import_export/models/xlsx_import.py:101
↓ 1 callersMethod_get_exceptions
Returns a tuple with: - All exceptions - Rules to remove with recordset - Rules to add with recordset
base_exception/models/base_exception_method.py:38
↓ 1 callersMethod_get_export_action
(self, model)
excel_import_export/models/xlsx_template.py:444
↓ 1 callersMethod_get_export_action_domain
(self, model)
excel_import_export/models/xlsx_template.py:437
← previousnext →201–300 of 1,230, ranked by callers