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
↓ 2 callers
Method
_trgm_extension_exists
(self)
base_search_fuzzy/models/trgm_index.py:58
↓ 2 callers
Method
_update_result_export_ids
(self)
excel_import_export/models/xlsx_template.py:224
↓ 2 callers
Method
_update_result_field_common_wizard
(self)
excel_import_export/models/xlsx_template.py:195
↓ 2 callers
Method
_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 callers
Method
_where_calc
Move the requested dates from the domain into the context
database_size/report/ir_model_size_report.py:109
↓ 2 callers
Method
action_backup_all
Run all scheduled backups.
auto_backup/models/db_backup.py:195
↓ 2 callers
Method
action_ignore_exceptions
(self)
base_exception/models/base_exception.py:33
↓ 2 callers
Method
action_sftp_test_connection
Check if the SFTP settings are correct.
auto_backup/models/db_backup.py:125
↓ 2 callers
Function
addon_hash
Compute a sha1 digest of file contents.
module_auto_update/addon_hash.py:35
↓ 2 callers
Method
attach_mail
Attach mail to match_object.
fetchmail_attach_from_folder/models/fetchmail_server_folder.py:433
↓ 2 callers
Method
backup_log
Log a backup result.
auto_backup/models/db_backup.py:200
↓ 2 callers
Method
button_confirm_folder
(self)
fetchmail_attach_from_folder/models/fetchmail_server_folder.py:134
↓ 2 callers
Function
clean_records
(records)
upgrade_analysis/compare.py:229
↓ 2 callers
Function
compare_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 callers
Method
copy
(self, default=None)
attachment_synchronize/models/attachment_synchronize_task.py:253
↓ 2 callers
Method
current_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 callers
Method
detect_exceptions
List all exception_ids applied on self Exception ids are also written on records
base_exception/models/base_exception_method.py:69
↓ 2 callers
Method
expunge
Mock an IMAP4.expunge action
fetchmail_attach_from_folder/tests/test_match_algorithms.py:83
↓ 2 callers
Function
field_dict
Create a parser dict for the field field.
jsonifier/models/ir_exports.py:64
↓ 2 callers
Method
find
(self)
database_cleanup/models/purge_wizard.py:49
↓ 2 callers
Method
float_to_time
(self, value)
base_time_window/models/time_window_mixin.py:125
↓ 2 callers
Method
float_to_time_repr
(self, value)
base_time_window/models/time_window_mixin.py:119
↓ 2 callers
Method
flush_tracking
Force the creation of tracking values.
tracking_manager/tests/test_tracking_manager.py:63
↓ 2 callers
Function
format_m2m
(records)
tracking_manager/tools.py:6
↓ 2 callers
Method
get_eval_context
(self, model=False, value=False)
excel_import_export/models/xlsx_import.py:28
↓ 2 callers
Method
get_external_id
Get external ID of the record, if not already exists create one
excel_import_export/models/xlsx_import.py:47
↓ 2 callers
Method
get_message_uids
Return imap ids of messages to process
fetchmail_attach_from_folder/models/fetchmail_server_folder.py:232
↓ 2 callers
Method
get_xml_records
Return all XML records from the given module
upgrade_analysis/models/upgrade_record.py:162
↓ 2 callers
Method
import_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 callers
Function
isrelated
(field)
upgrade_analysis/upgrade_log.py:116
↓ 2 callers
Method
list_modules
Return the set of covered modules
upgrade_analysis/models/upgrade_record.py:142
↓ 2 callers
Function
model_merge_map
(model)
upgrade_analysis/compare.py:41
↓ 2 callers
Function
register_vector
(cr)
field_vector/register.py:24
↓ 2 callers
Method
report_routes
(self, reportname, docids=None, converter=None, **data)
excel_import_export/controllers/report.py:22
↓ 2 callers
Method
run_task_import_scheduler
(self, domain=None)
attachment_synchronize/models/attachment_synchronize_task.py:139
↓ 2 callers
Method
sanitize
(self, item, value)
sentry/processor.py:40
↓ 2 callers
Method
search_matches
Returns recordset of matching objects.
fetchmail_attach_from_folder/match_algorithm/email_exact.py:31
↓ 2 callers
Function
string_types
Taken from https://git.io/JIv5J
sentry/generalutils.py:8
↓ 2 callers
Method
unlink
(self)
base_time_window/models/time_weekday.py:51
↓ 2 callers
Method
update_msg
Update msg in imap folder depending on match and settings.
fetchmail_attach_from_folder/models/fetchmail_server_folder.py:324
↓ 2 callers
Method
write
Update the registry when existing rules are updated.
auditlog/models/rule.py:301
↓ 2 callers
Method
write
(self, vals)
tracking_manager/models/ir_model.py:159
↓ 1 callers
Method
__parse_field
Deduct how to handle a field from its parser.
jsonifier/models/models.py:25
↓ 1 callers
Method
_active_tracking
(cls, fields_list)
tracking_manager/tests/test_tracking_manager.py:36
↓ 1 callers
Method
_archive_msg
Archive message. Folder should already have been created.
fetchmail_attach_from_folder/models/fetchmail_server_folder.py:337
↓ 1 callers
Method
_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 callers
Method
_check_message_already_present
If message already handled, it should be ignored.
fetchmail_attach_from_folder/models/fetchmail_server_folder.py:372
↓ 1 callers
Method
_check_owner_delete_attachment
(self)
attachment_delete_restrict/models/ir_attachment.py:39
↓ 1 callers
Method
_cleanup_fetchmail_server
(self, server, imap_server)
mail_cleanup/models/fetchmail_server.py:49
↓ 1 callers
Method
_compose_field_name
(self, line)
excel_import_export/models/xlsx_template.py:365
↓ 1 callers
Method
_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 callers
Method
_conditional_image_evaluate_selector
(self, conditional_image)
base_conditional_image/models/conditional_image_consumer_mixin.py:19
↓ 1 callers
Function
_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 callers
Method
_create_export_action
(self, model)
excel_import_export/models/xlsx_template.py:448
↓ 1 callers
Method
_create_import_record
(self, model, xls_file)
excel_import_export/models/xlsx_import.py:301
↓ 1 callers
Method
_create_log_line_on_create
Log field filled on a 'create' operation.
auditlog/models/rule.py:768
↓ 1 callers
Method
_create_log_line_on_write
Log field updated on a 'write' operation.
auditlog/models/rule.py:709
↓ 1 callers
Method
_create_vals
(self, addr, hostname)
base_remote/models/res_remote.py:22
↓ 1 callers
Method
_db_autovacuum_tune
(self)
database_autovacuum_tuning/models/database_autovacuum_tuning.py:17
↓ 1 callers
Method
_default_attachment_ids
(self)
attachment_queue/wizards/attachement_queue_reschedule.py:11
↓ 1 callers
Method
_default_automatic_custom_tracking_domain_rules
(self)
tracking_manager/models/ir_model.py:105
↓ 1 callers
Method
_default_folder
Default to ``backups`` folder inside current server datadir.
auto_backup/models/db_backup.py:98
↓ 1 callers
Method
_delete_record_data
If no _NODEL_, delete existing lines before importing
excel_import_export/models/xlsx_import.py:79
↓ 1 callers
Method
_detect_exceptions
(self, rule_info)
base_exception/models/base_exception_method.py:120
↓ 1 callers
Method
_detect_exceptions_by_domain
Find exceptions found on self.
base_exception/models/base_exception_method.py:143
↓ 1 callers
Method
_detect_exceptions_by_method
Find exceptions found on self.
base_exception/models/base_exception_method.py:152
↓ 1 callers
Method
_detect_exceptions_by_py_code
Find exceptions found on self.
base_exception/models/base_exception_method.py:131
↓ 1 callers
Method
_domain_template_id
(self)
excel_import_export/wizard/export_xlsx_wizard.py:16
↓ 1 callers
Method
_domain_template_id
(self)
excel_import_export/wizard/import_xlsx_wizard.py:16
↓ 1 callers
Method
_drop_column
(self, table, column)
database_cleanup/models/purge_fields.py:70
↓ 1 callers
Method
_ensure_connection
(self)
session_db/pg_session_store.py:74
↓ 1 callers
Method
_eval_style_cond
(self, model, record, value, style_cond)
excel_import_export/models/xlsx_export.py:120
↓ 1 callers
Method
_exception_rule_eval_context
(self, rec)
base_exception/models/base_exception_method.py:94
↓ 1 callers
Method
_execute_import
(self, imp, header_fields)
excel_import_export/models/xlsx_import.py:312
↓ 1 callers
Method
_extract_field_name
(self, vals)
excel_import_export/models/xlsx_template.py:592
↓ 1 callers
Method
_extract_field_name
(self, vals)
excel_import_export/models/xlsx_template.py:641
↓ 1 callers
Method
_fill_head
(self, ws, st, record)
excel_import_export/models/xlsx_export.py:184
↓ 1 callers
Method
_fill_lines
(self, ws, st, record)
excel_import_export/models/xlsx_export.py:203
↓ 1 callers
Method
_fill_workbook_data
Fill data from record with style in data_dict to workbook
excel_import_export/models/xlsx_export.py:137
↓ 1 callers
Method
_filter_duplicates
(self, file_path_names)
attachment_synchronize/models/attachment_synchronize_task.py:225
↓ 1 callers
Method
_find_match
Try to find existing object to link mail to.
fetchmail_attach_from_folder/models/fetchmail_server_folder.py:383
↓ 1 callers
Function
_fnmatch
(filename, patterns)
module_auto_update/addon_hash.py:9
↓ 1 callers
Method
_from_db
Convert a binary value from the database to a VectorValue.
field_vector/fields.py:78
↓ 1 callers
Method
_from_query
(self)
auditlog/models/auditlog_log_line_view.py:56
↓ 1 callers
Method
_function_value
(self, record, function, field_name)
jsonifier/models/models.py:33
↓ 1 callers
Method
_generate_xml_id
(self, record)
excel_import_export/models/xlsx_import.py:275
↓ 1 callers
Function
_get_add_smart_search
Add Smart Search on search views
base_name_search_improved/models/ir_model.py:37
↓ 1 callers
Method
_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 callers
Method
_get_analyse_data_dict
(self)
module_analysis/models/ir_module_module.py:175
↓ 1 callers
Method
_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 callers
Method
_get_autovacuum_records
(self, rule)
autovacuum_message_attachment/models/autovacuum_mixin.py:45
↓ 1 callers
Method
_get_autovacuum_records_model
(self, rule)
autovacuum_message_attachment/models/autovacuum_mixin.py:50
↓ 1 callers
Method
_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 callers
Method
_get_clean_analyse_values
List of fields to unset when a module is uninstalled
module_analysis/models/ir_module_module.py:64
↓ 1 callers
Method
_get_conditions_dict
(self)
excel_import_export/models/xlsx_export.py:45
↓ 1 callers
Method
_get_domain
override me to customize domains according exceptions cases
base_exception/models/exception_rule.py:69
↓ 1 callers
Method
_get_end_row
Get max row or next empty row as the ending row
excel_import_export/models/xlsx_import.py:101
↓ 1 callers
Method
_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 callers
Method
_get_export_action
(self, model)
excel_import_export/models/xlsx_template.py:444
↓ 1 callers
Method
_get_export_action_domain
(self, model)
excel_import_export/models/xlsx_template.py:437
← previous
next →
201–300 of 1,230, ranked by callers