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
↓ 1 callers
Method
_get_failure_emails
(self)
attachment_queue/models/attachment_queue.py:78
↓ 1 callers
Method
_get_files
(self)
attachment_synchronize/models/attachment_synchronize_task.py:164
↓ 1 callers
Method
_get_files_to_analyse
( self, path, file_extensions, exclude_directories, exclude_files )
module_analysis/models/ir_module_module.py:157
↓ 1 callers
Method
_get_image_from_url_cached
Allow to download an image and cache it by its URL.
base_multi_image/models/image.py:138
↓ 1 callers
Method
_get_inheritance_handler_attributes
(self, node)
base_view_inheritance_extension/models/ir_ui_view.py:87
↓ 1 callers
Method
_get_line_vals
Get values of this field from excel sheet
excel_import_export/models/xlsx_import.py:145
↓ 1 callers
Method
_get_line_vals
Get values of this field from record set and return as dict of vals - record: main object - line_field: rows object, i.e., line_ids
excel_import_export/models/xlsx_export.py:71
↓ 1 callers
Method
_get_main_records
Used in case we check exceptions on a record but write these exceptions on a parent record. Typical example is with sale.orde
base_exception/models/base_exception_method.py:22
↓ 1 callers
Method
_get_message_dict
Get message_dict from original message. This uses some code copied from mail.thread.message_process, that unfortunately is not in a s
fetchmail_attach_from_folder/models/fetchmail_server_folder.py:344
↓ 1 callers
Method
_get_module_encoding
(self, file_ext)
module_analysis/models/ir_module_module.py:77
↓ 1 callers
Method
_get_module_type_id_from_module
(self, module)
module_analysis/models/ir_module_type_rule.py:22
↓ 1 callers
Function
_get_name_search_domain
Add Smart Search on search views
base_name_search_improved/models/ir_model.py:47
↓ 1 callers
Method
_get_new_values
(self, record, on_change_result)
onchange_helper/models/base.py:12
↓ 1 callers
Method
_get_noupdate_model_ids
(self)
base_force_record_noupdate/models/ir_model.py:36
↓ 1 callers
Method
_get_or_create
(self, name)
module_analysis/models/ir_module_author.py:40
↓ 1 callers
Method
_get_popup_action
(self)
base_exception/models/base_exception.py:91
↓ 1 callers
Method
_get_python_eval_context
Get the eval context to evaluate the Python code with. The format is (variable name, description, value) You can inherit this
sequence_python/models/ir_sequence.py:37
↓ 1 callers
Method
_get_python_value
Use the python formula to get the value. :return: string
sequence_python/models/ir_sequence.py:61
↓ 1 callers
Function
_get_relation
(field)
upgrade_analysis/upgrade_log.py:128
↓ 1 callers
Method
_get_remote
(self, addr)
base_remote/models/res_remote.py:30
↓ 1 callers
Method
_get_report_from_name
(self, report_name)
excel_import_export/models/ir_report.py:35
↓ 1 callers
Method
_get_rpc_config
(self, model)
rpc_helper/models/ir_model.py:42
↓ 1 callers
Method
_get_rules_info_for_domain
returns the rules that match the domain This method will call _get_cached_rules_for_domain to get the rules that match the domain. Th
base_exception/models/exception_rule.py:74
↓ 1 callers
Method
_get_service_from_provider
In case that the provider only propose one service you can return the service in your module to simplify the user interface
iap_alternative_provider/models/iap_account.py:13
↓ 1 callers
Method
_get_tables_exceeding_dead_tuples
(self, vacuum_threshold)
database_autovacuum_tuning/models/database_autovacuum_tuning.py:42
↓ 1 callers
Method
_get_thresholds
(self)
database_autovacuum_tuning/models/database_autovacuum_tuning.py:60
↓ 1 callers
Method
_get_view
(self, view_id=None, view_type="form", **options)
base_name_search_improved/models/ir_model.py:165
↓ 1 callers
Method
_get_xml_diff
( self, remote_update, remote_noupdate, local_update, local_noupdate )
upgrade_analysis/models/upgrade_analysis.py:307
↓ 1 callers
Method
_handle_import_errors
(self, errors)
excel_import_export/models/xlsx_import.py:331
↓ 1 callers
Method
_import_record_data
(self, import_file, record, data_dict)
excel_import_export/models/xlsx_import.py:240
↓ 1 callers
Method
_is_postgres_superuser
(self)
base_search_fuzzy/models/trgm_index.py:77
↓ 1 callers
Method
_is_xlsx_file
(self)
excel_import_export/models/xlsx_import.py:282
↓ 1 callers
Method
_iter_inheritance_specs
(self, spec)
base_view_inheritance_extension/models/ir_ui_view.py:62
↓ 1 callers
Method
_job_attrs
(self)
attachment_queue/models/attachment_queue.py:54
↓ 1 callers
Method
_jsonify_format_duration
Helper to format a Float-like duration to string 00:00. Example: <field name="name">duration</field> <field name="in
jsonifier/models/models.py:260
↓ 1 callers
Method
_jsonify_m2o_to_id
Helper to get an ID only from a m2o field. Example: <field name="name">m2o_id</field> <field name="target">m2o_id:re
jsonifier/models/models.py:236
↓ 1 callers
Method
_jsonify_record_handle_function
(self, rec, field_dict, strict)
jsonifier/models/models.py:138
↓ 1 callers
Method
_jsonify_record_handle_resolver
(self, rec, field, resolver, json_key)
jsonifier/models/models.py:172
↓ 1 callers
Method
_jsonify_record_handle_subparser
(self, rec, field_dict, strict, subparser)
jsonifier/models/models.py:153
↓ 1 callers
Method
_jsonify_record_validate_field
(self, rec, field_dict, strict)
jsonifier/models/models.py:121
↓ 1 callers
Method
_jsonify_x2m_to_ids
Helper to get a list of IDs only from a o2m or m2m field. Example: <field name="name">m2m_ids</field> <field name="t
jsonifier/models/models.py:248
↓ 1 callers
Method
_load_rpc_config
(self)
rpc_helper/models/ir_model.py:38
↓ 1 callers
Method
_load_workbook
(self, decoded_data, is_xlsx)
excel_import_export/models/xlsx_import.py:287
↓ 1 callers
Method
_lock_mutually_exclusive_cron
(db, job_id)
base_cron_exclusion/models/ir_cron.py:35
↓ 1 callers
Method
_make_create
Instanciate a create method that log its calls.
auditlog/models/rule.py:331
↓ 1 callers
Method
_make_export_data
Instanciate a export method that log its calls.
auditlog/models/rule.py:553
↓ 1 callers
Method
_make_read
Instanciate a read method that log its calls.
auditlog/models/rule.py:399
↓ 1 callers
Method
_make_unlink
Instanciate an unlink method that log its calls.
auditlog/models/rule.py:506
↓ 1 callers
Method
_make_write
Instanciate a write method that log its calls.
auditlog/models/rule.py:438
↓ 1 callers
Method
_manage_file_after_import
(self, file_name, fullpath, attachment)
attachment_synchronize/models/attachment_synchronize_task.py:180
↓ 1 callers
Method
_onchange_attachmend_id
(self)
base_multi_image/models/image.py:183
↓ 1 callers
Method
_onchange_filename
(self)
base_multi_image/models/image.py:177
↓ 1 callers
Method
_onchange_path
(self)
base_multi_image/models/image.py:171
↓ 1 callers
Method
_onchange_url
(self)
base_multi_image/models/image.py:164
↓ 1 callers
Method
_patch_methods
Patch ORM methods of models defined in rules to log their calls.
auditlog/models/rule.py:237
↓ 1 callers
Method
_post_import_operation
Run python code after import
excel_import_export/models/xlsx_import.py:341
↓ 1 callers
Method
_prepare_attachment_vals
(self, data, filename)
attachment_synchronize/models/attachment_synchronize_task.py:109
↓ 1 callers
Method
_prepare_log_line_vals_on_create
Prepare the dictionary of values used to create a log line on a 'create' operation.
auditlog/models/rule.py:789
↓ 1 callers
Method
_prepare_log_line_vals_on_read
Prepare the dictionary of values used to create a log line on a 'read' operation.
auditlog/models/rule.py:691
↓ 1 callers
Method
_prepare_log_line_vals_on_write
Prepare the dictionary of values used to create a log line on a 'write' operation.
auditlog/models/rule.py:730
↓ 1 callers
Method
_process_data_node
( self, data_node, records_update, records_noupdate, module_name )
upgrade_analysis/models/upgrade_analysis.py:395
↓ 1 callers
Method
_process_worksheet
( self, wb, out_st, model, data_dict, header_fields, is_xlsx=False )
excel_import_export/models/xlsx_import.py:177
↓ 1 callers
Method
_purge
Remove older model size records, if enabled in the General Settings.
database_size/models/ir_model_size.py:272
↓ 1 callers
Method
_purge_fetchmail_server
(self, server, imap_server)
mail_cleanup/models/fetchmail_server.py:82
↓ 1 callers
Method
_read_manifest
(addon_dir)
upgrade_analysis/models/upgrade_record.py:151
↓ 1 callers
Method
_readonly_exclude_models
Models update/create by system, and should be excluded from checking
base_model_restrict_update/models/ir_model_access.py:13
↓ 1 callers
Method
_reflect_model
Reflect the _sql_constraints of the given model.
upgrade_analysis/odoo_patch/odoo/addons/base/models/ir_model.py:13
↓ 1 callers
Method
_render_excel
(self, docids, data)
excel_import_export/models/ir_report.py:16
↓ 1 callers
Method
_revert_methods
Restore original ORM methods of models defined in rules.
auditlog/models/rule.py:272
↓ 1 callers
Function
_rpc_allowed
(recordset, method)
rpc_helper/patch.py:22
↓ 1 callers
Method
_rule_domain
Filter exception.rules. By default, only the rules with the correct model will be used.
base_exception/models/base_exception_method.py:31
↓ 1 callers
Method
_rule_eval
(self, rule_info, rec)
base_exception/models/base_exception_method.py:102
↓ 1 callers
Method
_run
(self)
attachment_queue/models/attachment_queue.py:166
↓ 1 callers
Method
_search_autovacuum_records
(self)
autovacuum_message_attachment/models/vacuum_rule.py:128
↓ 1 callers
Method
_select_query
(self)
auditlog/models/auditlog_log_line_view.py:29
↓ 1 callers
Method
_set_multi_image
Save or delete the main image for this record. This is provided as a compatibility layer for submodels that already had one image per
base_multi_image/models/owner.py:38
↓ 1 callers
Method
_set_thresholds
(self, vacuum_threshold=1, analyze_threshold=1)
database_autovacuum_tuning/tests/test_database_autovacuum_tunning.py:10
↓ 1 callers
Method
_setup_db
(self)
session_db/pg_session_store.py:97
↓ 1 callers
Method
_str2var_domain_text
Revert var2str_domain_text cleaning apostrophes and suffix in vars
base_view_inheritance_extension/models/ir_ui_view.py:192
↓ 1 callers
Method
_test_readonly
(self, model)
base_model_restrict_update/models/ir_model_access.py:31
↓ 1 callers
Method
_test_restrict_update
(self, model)
base_model_restrict_update/models/ir_model_access.py:46
↓ 1 callers
Method
_timeout_retry_seconds
(self)
attachment_synchronize/models/attachment_queue.py:52
↓ 1 callers
Method
_tm_get_changes
(self, values)
tracking_manager/models/models.py:67
↓ 1 callers
Method
_tm_get_fields_to_notify
(self)
tracking_manager/models/models.py:25
↓ 1 callers
Method
_tm_get_fields_to_track
(self)
tracking_manager/models/models.py:33
↓ 1 callers
Method
_tm_post_message
(self, data)
tracking_manager/models/models.py:91
↓ 1 callers
Method
_tm_prepare_o2m_tracking
(self)
tracking_manager/models/models.py:116
↓ 1 callers
Method
_to_cache_entry
This method is used to extract information from the rule to be put in cache. It's used by _get_cached_rules_for_domain to avoid to pu
base_exception/models/exception_rule.py:100
↓ 1 callers
Method
_to_db
Convert a VectorValue to a binary value for the database.
field_vector/fields.py:87
↓ 1 callers
Method
_update_node
(target, source)
upgrade_analysis/models/upgrade_analysis.py:383
↓ 1 callers
Method
_update_vals_list
(self, vals_list)
auditlog/models/rule.py:843
↓ 1 callers
Function
_walk
(top, exclude_patterns, keep_langs)
module_auto_update/addon_hash.py:16
↓ 1 callers
Method
_write_file_to_remote
(self, fs, full_path)
attachment_synchronize/models/attachment_queue.py:26
↓ 1 callers
Method
action_confirm
(self)
base_exception/tests/purchase_test.py:97
↓ 1 callers
Method
action_open_model_sizes
Open the model_sizes from the report line. At this point, the 'virtual' report record might not exist anymore so we fetch the dates f
database_size/report/ir_model_size_report.py:48
↓ 1 callers
Method
added
(self)
auditlog/models/rule.py:39
↓ 1 callers
Method
apply_extra_conditions_to_value
(self, field, value, conditions_dict)
excel_import_export/models/xlsx_export.py:67
↓ 1 callers
Function
ast_dict_update
Perform a dict `update` on an ast.Dict Behaves similar to :meth:`dict.update`, but on ast.Dict instead. Only compares string-like ast.Dict ke
base_view_inheritance_extension/models/ir_ui_view.py:15
↓ 1 callers
Function
ast_key_eq
(k1, k2)
base_view_inheritance_extension/models/ir_ui_view.py:29
↓ 1 callers
Method
attach_mails
(self)
fetchmail_attach_from_folder/wizard/attach_mail_manually.py:55
← previous
next →
301–400 of 1,230, ranked by callers