Odoo. Open Source Apps To Grow Your Business.
31744 matches across 19 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | odoo/netsvc.py | 329 | def showwarning_with_traceback(message, category, filename, lineno, file=None, line=None): |
| LOW | odoo/http.py | 928 | def _check_and_complete_route_definition(controller_cls, submethod, merged_routing): |
| LOW | odoo/http.py | 1072 | def get_missing_session_identifiers(self, identifiers): |
| LOW | odoo/http.py | 1442 | def make_request_wrap_methods(attr): |
| LOW | odoo/http.py | 1987 | def _get_profiler_context_manager(self): |
| LOW | odoo/http.py | 452 | def get_session_max_inactivity(env): |
| LOW | odoo/tools/mail.py | 154 | def kill_conditional_comments(self, doc): |
| LOW | odoo/tools/mail.py | 183 | def _tag_matching_regex_in_text(regex, node, tag='span', attrs=None): |
| LOW | odoo/tools/mail.py | 725 | def generate_tracking_message_id(res_id): |
| LOW | odoo/tools/mail.py | 796 | def email_split_and_normalize(text): |
| LOW | odoo/tools/mail.py | 801 | def email_split_and_format_normalize(text): |
| LOW | odoo/tools/misc.py | 289 | def file_open_temporary_directory(env: Environment): |
| LOW | odoo/tools/misc.py | 1583 | def format_decimalized_number(number: float, decimal: int = 1) -> str: |
| LOW | odoo/tools/misc.py | 1608 | def format_decimalized_amount(amount: float, currency=None) -> str: |
| LOW | odoo/tools/misc.py | 1847 | def limited_field_access_token(record, field_name, timestamp=None, *, scope): |
| LOW | odoo/tools/misc.py | 1883 | def verify_limited_field_access_token(record, field_name, access_token, *, scope): |
| LOW | odoo/tools/misc.py | 1952 | def named_to_positional_printf(string: str, args: Mapping) -> tuple[str, tuple]: |
| LOW | odoo/tools/translate.py | 96 | def is_translatable_attrib_value(node): |
| LOW | odoo/tools/translate.py | 106 | def is_translatable_attrib_text(node): |
| LOW | odoo/tools/translate.py | 129 | def translate_format_string_expression(term, callback): |
| LOW | odoo/tools/translate.py | 1073 | def _extract_translatable_qweb_terms(element, callback): |
| LOW | odoo/tools/translate.py | 1142 | def extract_spreadsheet_terms(fileobj, keywords, comment_tags, options): |
| LOW | odoo/tools/translate.py | 1258 | def _get_translatable_records(self, imd_records): |
| LOW | odoo/tools/translate.py | 1326 | def _export_translatable_records(self, records, field_names): |
| LOW | odoo/tools/translate.py | 1388 | def _export_translatable_records(self): |
| LOW | odoo/tools/translate.py | 1425 | def _verified_module_filepaths(self, fname, path, root): |
| LOW | odoo/tools/translate.py | 1464 | def _export_translatable_resources(self): |
| LOW | odoo/tools/translate.py | 1806 | def get_datafile_translation_path(module_name: str) -> Iterator[str]: |
| LOW | odoo/tools/translate.py | 1824 | def _read_code_translations_file(fileobj, filter_func): |
| LOW | odoo/tools/translate.py | 1854 | def _load_python_translations(self, module_name, lang): |
| LOW | odoo/tools/translate.py | 1884 | def _get_translation_upgrade_queries(cr, field): |
| LOW | odoo/tools/config.py | 539 | def _flush_log_and_warn_entries(cls): |
| LOW | odoo/tools/template_inheritance.py | 23 | def add_stripped_items_before(node, spec, extract): |
| LOW | odoo/tools/mimetypes.py | 55 | def _check_open_container_format(data): |
| LOW | odoo/tools/js_transpiler.py | 187 | def convert_export_function_default(content): |
| LOW | odoo/tools/js_transpiler.py | 216 | def convert_export_class_default(content): |
| LOW | odoo/tools/js_transpiler.py | 305 | def convert_variable_export_default(content): |
| LOW | odoo/tools/js_transpiler.py | 476 | def convert_legacy_default_import(content): |
| LOW | odoo/tools/js_transpiler.py | 531 | def convert_default_and_named_import(content): |
| LOW | odoo/tools/js_transpiler.py | 627 | def convert_default_and_star_import(content): |
| LOW | odoo/tools/js_transpiler.py | 651 | def convert_unnamed_relative_import(content): |
| LOW | odoo/tools/js_transpiler.py | 687 | def relative_path_to_module_path(url, path_rel): |
| LOW | odoo/tools/js_transpiler.py | 731 | def get_aliased_odoo_define_content(module_path, content): |
| LOW | odoo/tools/rendering_tools.py | 56 | def convert_inline_template_to_qweb(template): |
| LOW | odoo/tools/appdirs.py | 387 | def _get_win_folder_from_registry(csidl_name): |
| LOW | odoo/tools/appdirs.py | 431 | def _get_win_folder_with_ctypes(csidl_name): |
| LOW | odoo/tools/xml_utils.py | 24 | def remove_control_characters(byte_node): |
| LOW | odoo/tools/xml_utils.py | 315 | def validate_xml_from_attachment(env, xml_content, xsd_name, reload_files_function=None, prefix=None): |
| LOW | odoo/tools/view_validation.py | 152 | def _get_expression_contextual_values(item_ast): |
| LOW | odoo/tools/view_validation.py | 229 | def get_expression_field_names(expression): |
| LOW | odoo/tools/sql.py | 361 | def convert_column_translatable(cr, tablename, columnname, columntype): |
| LOW | odoo/tools/sql.py | 672 | def increment_fields_skiplock(records, *fields): |
| LOW | odoo/tools/sql.py | 708 | def value_to_translated_trigram_pattern(value): |
| LOW | odoo/tools/sql.py | 734 | def pattern_to_translated_trigram_pattern(pattern): |
| LOW | odoo/tools/profiler.py | 423 | def _get_directive_profiling_name(self, directive, attrib): |
| LOW | odoo/tools/image.py | 532 | def image_guess_size_from_field_name(field_name: str) -> Tuple[int, int]: |
| LOW | odoo/tools/pdf/__init__.py | 652 | def _create_attachment_object(self, attachment): |
| LOW | odoo/tools/pdf/signature.py | 75 | def _load_key_and_certificate(self) -> tuple[Optional[PrivateKeyTypes], Optional[Certificate]]: |
| LOW | odoo/tools/pdf/signature.py | 445 | def _compute_digest_from_byte_range(self, data: bytes, byte_range: list[int]) -> bytes: |
| LOW | odoo/tools/pdf/signature.py | 466 | def _create_number_array_object(self, array: list[int]) -> ArrayObject: |
| 17826 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | odoo/http.py | 675 | # ========================================================= |
| MEDIUM | odoo/http.py | 677 | # ========================================================= |
| MEDIUM | odoo/http.py | 960 | # ========================================================= |
| MEDIUM | odoo/http.py | 962 | # ========================================================= |
| MEDIUM | odoo/http.py | 1316 | # ========================================================= |
| MEDIUM | odoo/http.py | 1318 | # ========================================================= |
| MEDIUM | odoo/http.py | 1424 | # ========================================================= |
| MEDIUM | odoo/http.py | 1426 | # ========================================================= |
| MEDIUM | odoo/http.py | 1826 | # ===================================================== |
| MEDIUM | odoo/http.py | 1828 | # ===================================================== |
| MEDIUM | odoo/http.py | 1904 | # ===================================================== |
| MEDIUM | odoo/http.py | 1906 | # ===================================================== |
| MEDIUM | odoo/http.py | 2189 | # ===================================================== |
| MEDIUM | odoo/http.py | 2191 | # ===================================================== |
| MEDIUM | odoo/http.py | 2362 | # ========================================================= |
| MEDIUM | odoo/http.py | 2364 | # ========================================================= |
| MEDIUM | odoo/http.py | 2669 | # ========================================================= |
| MEDIUM | odoo/http.py | 2671 | # ========================================================= |
| MEDIUM | odoo/http.py | 217 | # ========================================================= |
| MEDIUM | odoo/http.py | 219 | # ========================================================= |
| MEDIUM | odoo/http.py | 341 | # ========================================================= |
| MEDIUM | odoo/http.py | 343 | # ========================================================= |
| MEDIUM | odoo/http.py | 404 | # ----------- |
| MEDIUM | odoo/http.py | 482 | # ========================================================= |
| MEDIUM | odoo/http.py | 484 | # ========================================================= |
| MEDIUM | odoo/init.py | 11 | # ---------------------------------------------------------- |
| MEDIUM | odoo/init.py | 15 | # ---------------------------------------------------------- |
| MEDIUM | odoo/init.py | 21 | # ---------------------------------------------------------- |
| MEDIUM | odoo/init.py | 24 | # ---------------------------------------------------------- |
| MEDIUM | odoo/init.py | 31 | # ---------------------------------------------------------- |
| MEDIUM | odoo/init.py | 34 | # ---------------------------------------------------------- |
| MEDIUM | odoo/tools/mail.py | 64 | #---------------------------------------------------------- |
| MEDIUM | odoo/tools/mail.py | 66 | #---------------------------------------------------------- |
| MEDIUM | odoo/tools/mail.py | 467 | # ---------------------------------------------------------- |
| MEDIUM | odoo/tools/mail.py | 469 | # ---------------------------------------------------------- |
| MEDIUM | odoo/tools/mail.py | 711 | #---------------------------------------------------------- |
| MEDIUM | odoo/tools/mail.py | 713 | #---------------------------------------------------------- |
| MEDIUM | odoo/tools/misc.py | 138 | #---------------------------------------------------------- |
| MEDIUM | odoo/tools/misc.py | 140 | #---------------------------------------------------------- |
| MEDIUM | odoo/tools/misc.py | 148 | # ---------------------------------------------------------- |
| MEDIUM | odoo/tools/misc.py | 150 | # ---------------------------------------------------------- |
| MEDIUM | odoo/tools/misc.py | 191 | # ---------------------------------------------------------- |
| MEDIUM | odoo/tools/misc.py | 193 | # ---------------------------------------------------------- |
| MEDIUM | odoo/tools/misc.py | 316 | #---------------------------------------------------------- |
| MEDIUM | odoo/tools/misc.py | 318 | #---------------------------------------------------------- |
| MEDIUM | odoo/tools/misc.py | 707 | # --------------------------------------------- |
| MEDIUM | odoo/tools/misc.py | 709 | # --------------------------------------------- |
| MEDIUM | odoo/tools/cloc.py | 38 | #------------------------------------------------------ |
| MEDIUM | odoo/tools/cloc.py | 40 | #------------------------------------------------------ |
| MEDIUM | odoo/tools/cloc.py | 102 | #------------------------------------------------------ |
| MEDIUM | odoo/tools/cloc.py | 104 | #------------------------------------------------------ |
| MEDIUM | odoo/tools/cloc.py | 300 | #------------------------------------------------------ |
| MEDIUM | odoo/tools/cloc.py | 302 | #------------------------------------------------------ |
| MEDIUM | odoo/tools/image.py | 316 | # ---------------------------------------- |
| MEDIUM | odoo/tools/image.py | 318 | # --------------------------------------- |
| MEDIUM | odoo/tools/pdf/__init__.py | 20 | # ---------------------------------------------------------- |
| MEDIUM | odoo/tools/pdf/__init__.py | 25 | # ---------------------------------------------------------- |
| MEDIUM | odoo/tools/pdf/__init__.py | 68 | # ---------------------------------------------------------- |
| MEDIUM | odoo/tools/pdf/__init__.py | 73 | # ---------------------------------------------------------- |
| MEDIUM | odoo/osv/expression.py | 164 | # -------------------------------------------------- |
| 2589 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | odoo/sql_db.py | 9 | |
| LOW | odoo/tools/misc.py | 5 | |
| LOW | odoo/tools/misc.py | 44 | |
| LOW | odoo/tools/misc.py | 44 | |
| LOW | odoo/tools/misc.py | 44 | |
| LOW | odoo/tools/translate.py | 8 | |
| LOW | odoo/tools/date_utils.py | 1 | |
| LOW | odoo/tools/cache.py | 3 | |
| LOW | odoo/tools/__init__.py | 4 | |
| LOW | odoo/tools/__init__.py | 5 | |
| LOW | odoo/tools/__init__.py | 6 | |
| LOW | odoo/tools/__init__.py | 7 | |
| LOW | odoo/tools/__init__.py | 7 | |
| LOW | odoo/tools/__init__.py | 8 | |
| LOW | odoo/tools/__init__.py | 9 | |
| LOW | odoo/tools/__init__.py | 9 | |
| LOW | odoo/tools/__init__.py | 9 | |
| LOW | odoo/tools/__init__.py | 9 | |
| LOW | odoo/tools/__init__.py | 9 | |
| LOW | odoo/tools/__init__.py | 9 | |
| LOW | odoo/tools/__init__.py | 10 | |
| LOW | odoo/tools/__init__.py | 10 | |
| LOW | odoo/tools/__init__.py | 10 | |
| LOW | odoo/tools/__init__.py | 10 | |
| LOW | odoo/tools/__init__.py | 10 | |
| LOW | odoo/tools/__init__.py | 11 | |
| LOW | odoo/tools/__init__.py | 11 | |
| LOW | odoo/tools/__init__.py | 12 | |
| LOW | odoo/tools/__init__.py | 13 | |
| LOW | odoo/tools/__init__.py | 14 | |
| LOW | odoo/tools/__init__.py | 15 | |
| LOW | odoo/tools/__init__.py | 16 | |
| LOW | odoo/tools/__init__.py | 17 | |
| LOW | odoo/tools/__init__.py | 17 | |
| LOW | odoo/tools/__init__.py | 17 | |
| LOW | odoo/tools/__init__.py | 17 | |
| LOW | odoo/tools/__init__.py | 18 | |
| LOW | odoo/tools/__init__.py | 18 | |
| LOW | odoo/tools/__init__.py | 18 | |
| LOW | odoo/tools/__init__.py | 19 | |
| LOW | odoo/tools/__init__.py | 19 | |
| LOW | odoo/tools/__init__.py | 19 | |
| LOW | odoo/tools/__init__.py | 19 | |
| LOW | odoo/tools/__init__.py | 20 | |
| LOW | odoo/tools/intervals.py | 2 | |
| LOW | odoo/tools/mimetypes.py | 8 | |
| LOW | odoo/tools/appdirs.py | 10 | |
| LOW | odoo/tools/appdirs.py | 459 | |
| LOW | odoo/tools/cloc.py | 11 | |
| LOW | odoo/tools/i18n.py | 1 | |
| LOW | odoo/tools/sql.py | 3 | |
| LOW | odoo/tools/which.py | 45 | |
| LOW | odoo/tools/which.py | 45 | |
| LOW | odoo/tools/which.py | 46 | |
| LOW | odoo/tools/image.py | 10 | |
| LOW | odoo/tools/func.py | 2 | |
| LOW | odoo/tools/set_expression.py | 1 | |
| LOW | odoo/tools/pdf/_pypdf2_2.py | 1 | |
| LOW | odoo/tools/pdf/_pypdf2_2.py | 1 | |
| LOW | odoo/tools/pdf/_pypdf2_2.py | 1 | |
| 6964 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | odoo/addons/test_http/tests/test_common.py | 36 | odoo.http.root.session_store.store.clear() |
| CRITICAL | odoo/addons/base/models/res_partner.py | 76 | address_view_id = self.env.company.country_id.address_view_id.sudo() |
| CRITICAL | addons/sale/models/sale_order.py | 1709 | self.env.cr.precommit.data.pop(f'mail.tracking.{self._name}', {}) |
| CRITICAL | addons/sale/static/src/js/sale_product_field.js | 109 | this.props.record.model.root._isReadonly("order_line")) |
| CRITICAL | …at/static/src/core/web/livechat_channel_model_patch.js | 14 | this.store.env.services.notification.add(_t("You joined %s.", this.name), { |
| CRITICAL | …at/static/src/core/web/livechat_channel_model_patch.js | 19 | this.store.env.services.orm.call("im_livechat.channel", "action_join", [this.id]) |
| CRITICAL | …at/static/src/core/web/livechat_channel_model_patch.js | 28 | this.store.env.services.notification.add(_t("You left %s.", this.name), { |
| CRITICAL | …at/static/src/core/web/livechat_channel_model_patch.js | 33 | this.store.env.services.orm.call("im_livechat.channel", "action_quit", [this.id]) |
| CRITICAL | …ons/im_livechat/static/src/core/common/thread_patch.js | 20 | if (this.props.thread.livechatVisitorMember.im_status.includes("offline")) { |
| CRITICAL | …ivechat/static/src/embed/common/store_service_patch.js | 24 | this.store.env.services.bus_service.addChannel( |
| CRITICAL | …ivechat/static/src/embed/common/store_service_patch.js | 30 | this.store.env.services.bus_service.deleteChannel(`mail.guest_${this.guest_token}`); |
| CRITICAL | addons/google_calendar/tests/test_sync_common.py | 152 | funcs = self.env.cr.postcommit._funcs.copy() |
| CRITICAL | addons/google_calendar/models/calendar.py | 379 | self.env.cr.precommit.data.pop(f'mail.tracking.create.{event._name}.{event.id}', None) |
| CRITICAL | addons/pos_viva_com/static/src/app/payment_viva_com.js | 164 | result = await this.env.services.orm.silent.call( |
| CRITICAL | …s/calendar/static/src/activity/activity_model_patch.js | 16 | const action = await this.store.env.services.orm.call( |
| CRITICAL | …s/calendar/static/src/activity/activity_model_patch.js | 21 | this.store.env.services.action.doAction(action); |
| CRITICAL | …tatic/src/views/calendar_form/calendar_quick_create.js | 67 | const breadcrumb = this.actionService.currentController.config.breadcrumbs.at(-2); |
| CRITICAL | …ee_calendar/common/attendee_calendar_common_popover.js | 55 | this.props.record.rawRecord.partner_ids.includes(user.partnerId) || |
| CRITICAL | …ee_calendar/common/attendee_calendar_common_popover.js | 70 | this.props.record.rawRecord.partner_ids.some((partner) => partner !== user.partnerId) && |
| CRITICAL | …dons/pos_safaricom/static/src/app/payment_safaricom.js | 26 | return this.env.services.orm.silent.call("pos.payment.method", action, [ |
| CRITICAL | …et/static/tests/charts/model/odoo_chart_plugin.test.js | 1497 | const scaleCallback = config.options.scales.x.ticks.callback.bind(fakeChart); |
| CRITICAL | addons/mail/models/mail_thread.py | 556 | initial_values = self.env.cr.precommit.data.setdefault(f'mail.tracking.{self._name}', {}) |
| CRITICAL | addons/mail/models/mail_thread.py | 570 | initial_values = self.env.cr.precommit.data.pop(f'mail.tracking.{self._name}', {}) |
| CRITICAL | addons/mail/models/mail_thread.py | 586 | authors = self.env.cr.precommit.data.setdefault(f'mail.tracking.author.{self._name}', {}) |
| CRITICAL | addons/mail/models/mail_thread.py | 592 | self._message_track_post_template(self.env.cr.precommit.data.pop(f'mail.tracking.create.{self._name}.{self.id}', |
| CRITICAL | addons/mail/models/mail_thread.py | 600 | body_values = self.env.cr.precommit.data.setdefault(f'mail.tracking.message.{self._name}', {}) |
| CRITICAL | addons/mail/models/mail_thread.py | 535 | initial_values = self.env.cr.precommit.data.setdefault(f'mail.tracking.{self._name}', {}) |
| CRITICAL | addons/mail/models/mail_thread.py | 668 | bodies = self.env.cr.precommit.data.pop(f'mail.tracking.message.{self._name}', {}) |
| CRITICAL | addons/mail/models/mail_thread.py | 669 | authors = self.env.cr.precommit.data.pop(f'mail.tracking.author.{self._name}', {}) |
| CRITICAL | addons/mail/models/mail_thread.py | 380 | self.env.cr.precommit.data.setdefault(f'mail.tracking.create.{self._name}.{thread.id}', changes) |
| CRITICAL | addons/mail/models/mail_tracking_duration_mixin.py | 105 | if data := self.env.cr.precommit.data.get(f'mail.tracking.{self._name}', {}).get(self._origin.id): |
| CRITICAL | addons/mail/static/src/core/web/thread_model_patch.js | 39 | const data = await this.store.env.services.orm.call(this.model, "message_get_followers", [ |
| CRITICAL | addons/mail/static/src/core/web/thread_model_patch.js | 46 | const data = await this.store.env.services.orm.call( |
| CRITICAL | addons/mail/static/src/core/web/activity_model_patch.js | 31 | this.store.env.services.action.doAction( |
| CRITICAL | addons/mail/static/src/core/web/activity_model_patch.js | 54 | await this.store.env.services.orm.call("mail.activity", "action_feedback", [[this.id]], { |
| CRITICAL | addons/mail/static/src/core/web/activity_model_patch.js | 65 | const action = await this.store.env.services.orm.call( |
| CRITICAL | addons/mail/static/src/core/web/thread_actions.js | 9 | open: ({ store }) => store.env.services.orm.silent.call("mail.message", "mark_all_as_read"), |
| CRITICAL | addons/mail/static/src/core/common/suggestion_hook.js | 123 | const selection = this.comp.editor.shared.selection.getEditableSelection(); |
| CRITICAL | addons/mail/static/src/core/common/suggestion_hook.js | 221 | this.comp.editor.shared.selection.getEditableSelection(); |
| CRITICAL | addons/mail/static/src/core/common/suggestion_hook.js | 222 | this.comp.editor.shared.selection.setSelection({ |
| CRITICAL | addons/mail/static/src/core/common/suggestion_hook.js | 240 | this.comp.editor.shared.dom.insert(inlineElement); |
| CRITICAL | addons/mail/static/src/core/common/suggestion_hook.js | 242 | this.comp.editor.shared.selection.setSelection({ anchorNode, anchorOffset }); |
| CRITICAL | addons/mail/static/src/core/common/suggestion_hook.js | 243 | this.comp.editor.shared.dom.insert("\u00A0"); |
| CRITICAL | addons/mail/static/src/core/common/suggestion_hook.js | 244 | this.comp.editor.shared.history.addStep(); |
| CRITICAL | addons/mail/static/src/core/common/chat_window.js | 155 | this.store.env.services.command.openMainPalette({ searchValue: "@" }); |
| CRITICAL | addons/mail/static/src/core/common/store_service.js | 724 | const [userData] = await this.env.services.orm.silent.read( |
| CRITICAL | addons/mail/static/src/core/common/store_service.js | 745 | const [userId] = await this.env.services.orm.silent.search( |
| CRITICAL | addons/mail/static/src/core/common/message_model.js | 533 | this.store.env.services.notification.add(notification, { type }); |
| CRITICAL | addons/mail/static/src/core/common/message_model.js | 541 | this.store.env.services.notification.add( |
| CRITICAL | addons/mail/static/src/core/common/message_model.js | 546 | this.store.env.services.notification.add(_t("Message Copied!"), { type: "info" }); |
| CRITICAL | addons/mail/static/src/core/common/message_model.js | 699 | await this.store.env.services.orm.silent.call("mail.message", "set_message_done", [ |
| CRITICAL | addons/mail/static/src/core/common/message_model.js | 706 | await this.store.env.services.orm.silent.call( |
| CRITICAL | addons/mail/static/src/core/common/message_model.js | 720 | this.store.env.services.notification.add( |
| CRITICAL | addons/mail/static/src/core/common/settings_model.js | 399 | await this.store.env.services.orm.call( |
| CRITICAL | addons/mail/static/src/core/common/settings_model.js | 420 | await this.store.env.services.orm.call( |
| CRITICAL | addons/mail/static/src/core/common/mail_guest_model.js | 48 | this.store.env.services.bus_service.deleteChannel(this.previousPresencechannel); |
| CRITICAL | addons/mail/static/src/core/common/mail_guest_model.js | 51 | this.store.env.services.bus_service.addChannel(this.presenceChannel); |
| CRITICAL | addons/mail/static/src/core/common/mail_guest_model.js | 66 | this.store.env.services.im_status.updateBusPresence(); |
| CRITICAL | addons/mail/static/src/core/common/thread_model.js | 468 | return this.store.env.services.orm.call( |
| CRITICAL | addons/mail/static/src/core/common/thread_model.js | 703 | await this.store.env.services.orm.silent.call("mail.message", "mark_all_as_read", [ |
| 154 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | odoo/tools/set_expression.py | 0 | returns whether ``self`` is the universal set, that contains all possible elements. |
| HIGH | odoo/tools/set_expression.py | 0 | returns whether ``self`` is the universal set, that contains all possible elements. |
| HIGH | odoo/tools/set_expression.py | 0 | returns whether ``self`` is the universal set, that contains all possible elements. |
| HIGH | odoo/addons/test_access_rights/tests/test_feedback.py | 0 | uh-oh! looks like you have stumbled upon some top-secret records. sorry, %s (id=%s) doesn't have 'write' access to: - %s |
| HIGH | odoo/addons/test_access_rights/tests/test_feedback.py | 0 | uh-oh! looks like you have stumbled upon some top-secret records. sorry, %s (id=%s) doesn't have 'write' access to: - %s |
| HIGH | odoo/addons/test_access_rights/tests/test_feedback.py | 0 | uh-oh! looks like you have stumbled upon some top-secret records. sorry, %s (id=%s) doesn't have 'write' access to: - %s |
| HIGH | odoo/addons/test_access_rights/tests/test_feedback.py | 0 | uh-oh! looks like you have stumbled upon some top-secret records. sorry, %s (id=%s) doesn't have 'write' access to: - %s |
| HIGH | odoo/addons/test_inherit/tests/test_inherit.py | 0 | check that attribute selection_add=... extends selection on fields. |
| HIGH | odoo/addons/test_inherit/tests/test_inherit.py | 0 | check that attribute selection_add=... extends selection on fields. |
| HIGH | …ons/test_inherit_depends/tests/test_inherit_depends.py | 0 | check that attribute selection_add=... extends selection on fields. |
| HIGH | …oo/addons/test_assetsbundle/tests/test_assetsbundle.py | 0 | checks that a bundle is invalidated when its content is modified by adding a file to source. |
| HIGH | …oo/addons/test_assetsbundle/tests/test_assetsbundle.py | 0 | checks that a bundle is invalidated when its content is modified by adding a file to source. |
| HIGH | …oo/addons/test_assetsbundle/tests/test_assetsbundle.py | 0 | checks that a bundle is invalidated when its content is modified by adding a file to source. |
| HIGH | …oo/addons/test_assetsbundle/tests/test_assetsbundle.py | 0 | /* /test_assetsbundle/static/src/js/test_jsfile1.js */ var a=1; |
| HIGH | …oo/addons/test_assetsbundle/tests/test_assetsbundle.py | 0 | /* /test_assetsbundle/static/src/js/test_jsfile1.js */ var a=1; |
| HIGH | …oo/addons/test_assetsbundle/tests/test_assetsbundle.py | 0 | /* /test_assetsbundle/static/src/js/test_jsfile1.js */ var a=1; |
| HIGH | …oo/addons/test_assetsbundle/tests/test_assetsbundle.py | 0 | /* /test_assetsbundle/static/src/js/test_jsfile1.js */ var a=1; |
| HIGH | …oo/addons/test_assetsbundle/tests/test_assetsbundle.py | 0 | /* /test_assetsbundle/static/src/js/test_jsfile1.js */ var a=1; |
| HIGH | …oo/addons/test_assetsbundle/tests/test_assetsbundle.py | 0 | /* /test_assetsbundle/static/src/js/test_jsfile1.js */ var a=1;; /* /test_assetsbundle/static/src/js/test_jsfile2.js */ |
| HIGH | …oo/addons/test_assetsbundle/tests/test_assetsbundle.py | 0 | /* /test_assetsbundle/static/src/js/test_jsfile1.js */ var a=1;; /* /test_assetsbundle/static/src/js/test_jsfile2.js */ |
| HIGH | …oo/addons/test_assetsbundle/tests/test_assetsbundle.py | 0 | /* /test_assetsbundle/static/src/js/test_jsfile1.js */ var a=1;; /* /test_assetsbundle/static/src/js/test_jsfile2.js */ |
| HIGH | …oo/addons/test_assetsbundle/tests/test_assetsbundle.py | 0 | /* /test_assetsbundle/static/src/js/test_jsfile3.js */ var c=3; |
| HIGH | …oo/addons/test_assetsbundle/tests/test_assetsbundle.py | 0 | /* /test_assetsbundle/static/src/js/test_jsfile3.js */ var c=3; |
| HIGH | …oo/addons/test_assetsbundle/tests/test_assetsbundle.py | 0 | /* /test_assetsbundle/static/src/js/test_jsfile3.js */ var c=3; |
| HIGH | …oo/addons/test_assetsbundle/tests/test_assetsbundle.py | 0 | /* /test_assetsbundle/static/src/js/test_jsfile3.js */ var c=3; |
| HIGH | …oo/addons/test_assetsbundle/tests/test_assetsbundle.py | 0 | /* /test_assetsbundle/static/src/js/test_jsfile1.js */ var a=1;; /* /test_assetsbundle/static/src/js/test_jsfile2.js */ |
| HIGH | …oo/addons/test_assetsbundle/tests/test_assetsbundle.py | 0 | /* /test_assetsbundle/static/src/js/test_jsfile1.js */ var a=1;; /* /test_assetsbundle/static/src/js/test_jsfile2.js */ |
| HIGH | …oo/addons/test_assetsbundle/tests/test_assetsbundle.py | 0 | /* /test_assetsbundle/static/src/js/test_jsfile1.js */ var a=1;; /* /test_assetsbundle/static/src/js/test_jsfile2.js */ |
| HIGH | …oo/addons/test_assetsbundle/tests/test_assetsbundle.py | 0 | /* /test_assetsbundle/static/src/js/test_jsfile1.js */ var a=1;; /* /test_assetsbundle/static/src/js/test_jsfile2.js */ |
| HIGH | …oo/addons/test_assetsbundle/tests/test_assetsbundle.py | 0 | /* /test_assetsbundle/static/src/js/test_jsfile1.js */ var a=1;; /* /test_assetsbundle/static/src/js/test_jsfile2.js */ |
| HIGH | …oo/addons/test_assetsbundle/tests/test_assetsbundle.py | 0 | /* /test_assetsbundle/static/src/js/test_jsfile1.js */ var a=1;; /* /test_assetsbundle/static/src/js/test_jsfile2.js */ |
| HIGH | odoo/addons/test_orm/tests/test_search.py | 0 | select "test_orm_related"."id" from "test_orm_related" where "test_orm_related"."foo_id" in ( select "test_orm_related_f |
| HIGH | odoo/addons/test_orm/tests/test_search.py | 0 | select "test_orm_related"."id" from "test_orm_related" where "test_orm_related"."foo_id" in ( select "test_orm_related_f |
| HIGH | odoo/addons/test_orm/tests/test_search.py | 0 | select "test_orm_related"."id" from "test_orm_related" where "test_orm_related"."foo_id" in ( select "test_orm_related_f |
| HIGH | odoo/addons/test_orm/tests/test_search.py | 0 | select "test_orm_related"."id" from "test_orm_related" where "test_orm_related"."foo_id" in ( select "test_orm_related_f |
| HIGH | odoo/addons/test_orm/tests/test_search.py | 0 | select "test_orm_related"."id" from "test_orm_related" where "test_orm_related"."foo_id" in ( select "test_orm_related_f |
| HIGH | odoo/addons/test_orm/tests/test_search.py | 0 | update "test_orm_city" set "name" = "__tmp"."name"::varchar, "write_date" = "__tmp"."write_date"::timestamp, "write_uid" |
| HIGH | odoo/addons/test_orm/tests/test_search.py | 0 | update "test_orm_city" set "name" = "__tmp"."name"::varchar, "write_date" = "__tmp"."write_date"::timestamp, "write_uid" |
| HIGH | odoo/addons/test_orm/tests/test_search.py | 0 | update "test_orm_city" set "name" = "__tmp"."name"::varchar, "write_date" = "__tmp"."write_date"::timestamp, "write_uid" |
| HIGH | odoo/addons/test_orm/tests/test_search.py | 0 | update "test_orm_city" set "name" = "__tmp"."name"::varchar, "write_date" = "__tmp"."write_date"::timestamp, "write_uid" |
| HIGH | odoo/addons/test_orm/tests/test_search.py | 0 | update "test_orm_city" set "name" = "__tmp"."name"::varchar, "write_date" = "__tmp"."write_date"::timestamp, "write_uid" |
| HIGH | odoo/addons/test_orm/tests/test_search.py | 0 | update "test_orm_city" set "country_id" = "__tmp"."country_id"::int4, "write_date" = "__tmp"."write_date"::timestamp, "w |
| HIGH | odoo/addons/test_orm/tests/test_search.py | 0 | update "test_orm_city" set "country_id" = "__tmp"."country_id"::int4, "write_date" = "__tmp"."write_date"::timestamp, "w |
| HIGH | odoo/addons/test_orm/tests/test_search.py | 0 | update "test_orm_city" set "country_id" = "__tmp"."country_id"::int4, "write_date" = "__tmp"."write_date"::timestamp, "w |
| HIGH | odoo/addons/test_orm/tests/test_search.py | 0 | select "test_orm_city"."id" from "test_orm_city" left join "test_orm_country" as "test_orm_city__country_id" on ("test_o |
| HIGH | odoo/addons/test_orm/tests/test_search.py | 0 | select "test_orm_city"."id" from "test_orm_city" left join "test_orm_country" as "test_orm_city__country_id" on ("test_o |
| HIGH | odoo/addons/test_orm/tests/test_search.py | 0 | select "test_orm_city"."id" from "test_orm_city" left join "test_orm_country" as "test_orm_city__country_id" on ("test_o |
| HIGH | odoo/addons/test_orm/tests/test_search.py | 0 | select "test_orm_person"."id" from "test_orm_person" where date_part(%s, "test_orm_person"."birthday") in %s order by "t |
| HIGH | odoo/addons/test_orm/tests/test_search.py | 0 | select "test_orm_person"."id" from "test_orm_person" where date_part(%s, "test_orm_person"."birthday") in %s order by "t |
| HIGH | odoo/addons/test_orm/tests/test_search.py | 0 | select "test_orm_person"."id" from "test_orm_person" where date_part(%s, "test_orm_person"."birthday") in %s order by "t |
| HIGH | odoo/addons/test_orm/tests/test_fields.py | 0 | check the consistency of relational fields with inverse(s). |
| HIGH | odoo/addons/test_orm/tests/test_fields.py | 0 | check the consistency of relational fields with inverse(s). |
| HIGH | odoo/addons/test_orm/tests/test_fields.py | 0 | check the consistency of relational fields with inverse(s). |
| HIGH | odoo/addons/test_orm/tests/test_fields.py | 0 | check the consistency of relational fields with inverse(s). |
| HIGH | odoo/addons/base/tests/test_expression.py | 0 | select "res_partner"."id" from "res_partner" where "res_partner"."company_id" in %s order by "res_partner"."complete_nam |
| HIGH | odoo/addons/base/tests/test_expression.py | 0 | select "res_partner"."id" from "res_partner" where "res_partner"."company_id" in %s order by "res_partner"."complete_nam |
| HIGH | odoo/addons/base/tests/test_expression.py | 0 | select "res_partner"."id" from "res_partner" where "res_partner"."company_id" in %s order by "res_partner"."complete_nam |
| HIGH | odoo/addons/base/tests/test_expression.py | 0 | select "res_partner"."id" from "res_partner" left join "res_company" as "res_partner__company_id" on ("res_partner"."com |
| HIGH | odoo/addons/base/tests/test_expression.py | 0 | select "res_partner"."id" from "res_partner" left join "res_company" as "res_partner__company_id" on ("res_partner"."com |
| HIGH | odoo/addons/base/tests/test_expression.py | 0 | select "res_partner"."id" from "res_partner" left join "res_company" as "res_partner__company_id" on ("res_partner"."com |
| 401 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | odoo/loglevels.py | 48 | """This method is similar to the builtin `unicode`, except |
| MEDIUM | odoo/tools/image.py | 321 | """This function is used to calculate the dominant colors when given a list of colors |
| MEDIUM | odoo/tools/pdf/__init__.py | 472 | # Create a new object containing an array referencing embedded file |
| MEDIUM | odoo/tools/pdf/signature.py | 147 | # Creating the appearance (visible elements of the signature) |
| MEDIUM | odoo/tools/arabic_reshaper/letters.py | 1 | # The following code was copied from the original author's repository |
| MEDIUM | odoo/tools/arabic_reshaper/__init__.py | 1 | # The following code was copied from the original author's repository |
| MEDIUM | odoo/addons/test_main_flows/__init__.py | 8 | # This module is defined in community but some steps (defined with 'edition: "enterprise"') |
| MEDIUM | odoo/addons/test_orm/tests/test_web_save.py | 10 | # Create a new record, without unity specification (it should return only the id) |
| MEDIUM | odoo/addons/test_orm/tests/test_web_save.py | 19 | # Create a new record, with unity specification |
| MEDIUM | odoo/addons/test_orm/tests/test_fields.py | 592 | # Create an ir.rule, which forces to flush field 'active' |
| MEDIUM | odoo/addons/test_orm/tests/test_one2many.py | 460 | # Create a parent record |
| MEDIUM | odoo/addons/base/tests/test_res_config.py | 20 | # Define the test values |
| MEDIUM | odoo/addons/base/tests/test_ir_attachment.py | 332 | # Create an attachment as user without res_model/res_id |
| MEDIUM | odoo/addons/base/tests/test_ir_attachment.py | 336 | # Create an attachment as superuser without res_model/res_id |
| MEDIUM | odoo/addons/base/tests/test_res_users.py | 643 | # Create a first session that will be used to revoke other sessions |
| MEDIUM | odoo/addons/base/tests/test_res_users.py | 646 | # Create a second session that will be used to check it has been revoked |
| MEDIUM | odoo/addons/base/tests/test_res_users.py | 715 | # Creating an unscoped key from a scoped key raises an error |
| MEDIUM | odoo/addons/base/tests/test_res_users.py | 721 | # Creating a key with a different scope raises an error |
| MEDIUM | odoo/addons/base/tests/test_res_users.py | 727 | # Creating a key with the same scope doesn't raise |
| MEDIUM | odoo/addons/base/tests/test_res_users.py | 732 | # Creating a key with a scope from an unscoped key doesn't raise |
| MEDIUM | odoo/addons/base/tests/test_res_users.py | 737 | # Creating an unscoped key from another unscoped key doesn't raise |
| MEDIUM | odoo/addons/base/tests/test_user_has_group.py | 152 | #Create a user with two groups of user types kind (Internal and Portal) |
| MEDIUM | odoo/addons/base/tests/test_ir_mail_server.py | 481 | # Create a sample .eml file content |
| MEDIUM | odoo/addons/base/models/ir_actions_report.py | 557 | # Create a temporary session which will not create device logs |
| MEDIUM | odoo/addons/base/models/ir_ui_view.py | 718 | """This method is meant to be overridden by other modules. |
| MEDIUM | odoo/addons/base/models/ir_ui_view.py | 387 | # This function is only interested in locating invalid locators. |
| MEDIUM | odoo/addons/base/models/ir_qweb.py | 809 | # Create the iterator from the template |
| MEDIUM | odoo/_monkeypatches/num2words.py | 11 | # The following section of the code is used to monkey patch |
| MEDIUM | odoo/_monkeypatches/site.py | 39 | # This function is borrowed from psycogreen module which is licensed |
| MEDIUM | odoo/orm/models.py | 1799 | # Create a mapping from each unique SQL GROUP BY term to its bitmask value. |
| MEDIUM | odoo/orm/models_transient.py | 63 | # This method is shared by all transient models therefore, |
| MEDIUM | addons/auth_totp_mail/tests/test_totp.py | 43 | # Create an API key for the user |
| MEDIUM | …ns/website_sale_loyalty/tests/test_shop_sale_coupon.py | 201 | # Create a gift card to be used |
| MEDIUM | …e_sale_loyalty/tests/test_website_sale_auto_invoice.py | 18 | # Create a discount code |
| MEDIUM | …le_loyalty/tests/test_website_sale_loyalty_delivery.py | 72 | # Create a gift card to be used |
| MEDIUM | …le_loyalty/tests/test_website_sale_loyalty_delivery.py | 79 | # Create a 50% discount on order code |
| MEDIUM | …le_loyalty/tests/test_website_sale_loyalty_delivery.py | 189 | # Create a discount code |
| MEDIUM | addons/l10n_pl_edi/tests/test_l10n_pl_edi.py | 330 | # Create a Bank Account for the Company |
| MEDIUM | addons/website_event_track/tests/test_website_event.py | 61 | # Create a website record |
| MEDIUM | addons/website_event_track/controllers/event_track.py | 239 | # Create the dict that contains the tracks at the correct time_slots / locations coordinates |
| MEDIUM | addons/l10n_in_edi/models/account_move.py | 373 | # Creating a lambda function so it fetches the odoobot id only when needed |
| MEDIUM | addons/sale/tests/test_access_rights.py | 31 | # Create the SO with a specific salesperson |
| MEDIUM | addons/sale/tests/test_payment_flow.py | 283 | # Create the payment |
| MEDIUM | addons/sale/tests/test_payment_flow.py | 300 | # Create the payment |
| MEDIUM | addons/sale/tests/test_payment_flow.py | 140 | # Create the payment |
| MEDIUM | addons/sale/tests/test_payment_flow.py | 170 | # Create the payment |
| MEDIUM | addons/sale/tests/test_payment_flow.py | 206 | # Create the payment |
| MEDIUM | addons/sale/tests/test_payment_flow.py | 245 | # Create the payment |
| MEDIUM | addons/sale/tests/test_payment_flow.py | 267 | # Create the payment |
| MEDIUM | addons/sale/tests/test_payment_flow.py | 313 | # Create the payment |
| MEDIUM | addons/sale/tests/test_taxes_downpayment.py | 201 | # Create a down payment invoice of 30%. |
| MEDIUM | addons/sale/tests/test_taxes_downpayment.py | 246 | # Create the final invoice. |
| MEDIUM | addons/sale/tests/test_taxes_downpayment.py | 342 | # Create the final invoice. |
| MEDIUM | addons/sale/tests/test_taxes_downpayment.py | 427 | # Create the final invoice. |
| MEDIUM | addons/sale/tests/test_taxes_downpayment.py | 562 | # Create the final invoice. |
| MEDIUM | addons/sale/tests/test_taxes_downpayment.py | 588 | # Create a new final invoice. |
| MEDIUM | addons/sale/tests/test_taxes_downpayment.py | 644 | # Create a down payment invoice of 100%. |
| MEDIUM | addons/sale/tests/test_taxes_downpayment.py | 693 | # Create the final invoice. |
| MEDIUM | addons/sale/tests/test_taxes_downpayment.py | 778 | # Create a down payment invoice of 100%. |
| MEDIUM | addons/sale/tests/test_taxes_downpayment.py | 827 | # Create the final invoice. |
| 587 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | odoo/netsvc.py | 178 | |
| LOW | odoo/netsvc.py | 59 | |
| LOW | odoo/http.py | 822 | |
| LOW | odoo/http.py | 1698 | |
| LOW | odoo/http.py | 1987 | |
| LOW | odoo/http.py | 2785 | |
| LOW | odoo/sql_db.py | 635 | |
| LOW | odoo/tools/mail.py | 173 | |
| LOW | odoo/tools/mail.py | 279 | |
| LOW | odoo/tools/mail.py | 536 | |
| LOW | odoo/tools/facade.py | 41 | |
| LOW | odoo/tools/misc.py | 616 | |
| LOW | odoo/tools/speedscope.py | 163 | |
| LOW | odoo/tools/translate.py | 140 | |
| LOW | odoo/tools/translate.py | 1073 | |
| LOW | odoo/tools/translate.py | 1142 | |
| LOW | odoo/tools/translate.py | 1884 | |
| LOW | odoo/tools/translate.py | 205 | |
| LOW | odoo/tools/translate.py | 850 | |
| LOW | odoo/tools/translate.py | 1258 | |
| LOW | odoo/tools/translate.py | 1388 | |
| LOW | odoo/tools/translate.py | 1464 | |
| LOW | odoo/tools/translate.py | 1605 | |
| LOW | odoo/tools/config.py | 724 | |
| LOW | odoo/tools/config.py | 898 | |
| LOW | odoo/tools/template_inheritance.py | 71 | |
| LOW | odoo/tools/template_inheritance.py | 109 | |
| LOW | odoo/tools/parse_version.py | 25 | |
| LOW | odoo/tools/date_utils.py | 108 | |
| LOW | odoo/tools/date_utils.py | 273 | |
| LOW | odoo/tools/date_utils.py | 312 | |
| LOW | odoo/tools/convert.py | 75 | |
| LOW | odoo/tools/convert.py | 667 | |
| LOW | odoo/tools/convert.py | 336 | |
| LOW | odoo/tools/cache.py | 183 | |
| LOW | odoo/tools/cache.py | 209 | |
| LOW | odoo/tools/intervals.py | 33 | |
| LOW | odoo/tools/intervals.py | 82 | |
| LOW | odoo/tools/mimetypes.py | 156 | |
| LOW | odoo/tools/appdirs.py | 76 | |
| LOW | odoo/tools/cloc.py | 90 | |
| LOW | odoo/tools/cloc.py | 120 | |
| LOW | odoo/tools/test_reports.py | 23 | |
| LOW | odoo/tools/test_reports.py | 69 | |
| LOW | odoo/tools/test_reports.py | 127 | |
| LOW | odoo/tools/lru.py | 62 | |
| LOW | odoo/tools/osutil.py | 51 | |
| LOW | odoo/tools/barcode.py | 16 | |
| LOW | odoo/tools/view_validation.py | 51 | |
| LOW | odoo/tools/view_validation.py | 82 | |
| LOW | odoo/tools/sql.py | 89 | |
| LOW | odoo/tools/profiler.py | 364 | |
| LOW | odoo/tools/profiler.py | 423 | |
| LOW | odoo/tools/profiler.py | 618 | |
| LOW | odoo/tools/profiler.py | 672 | |
| LOW | odoo/tools/image.py | 288 | |
| LOW | odoo/tools/set_expression.py | 471 | |
| LOW | odoo/tools/set_expression.py | 570 | |
| LOW | odoo/tools/_vendor/send_file.py | 32 | |
| LOW | odoo/tools/pdf/__init__.py | 161 | |
| 1454 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | odoo/netsvc.py | 258 | except Exception: |
| LOW | odoo/loglevels.py | 102 | except Exception as e: |
| LOW | odoo/loglevels.py | 111 | except Exception: |
| LOW | odoo/http.py | 2014 | except Exception: |
| LOW | odoo/http.py | 2283 | except Exception as exc: # noqa: BLE001 |
| LOW | odoo/http.py | 2303 | except Exception as exc: # noqa: BLE001 |
| LOW | odoo/http.py | 2847 | except Exception as exc: |
| LOW | odoo/sql_db.py | 147 | except Exception: |
| LOW | odoo/sql_db.py | 434 | except Exception as e: |
| MEDIUM | odoo/sql_db.py | 240 | def __exit__(self, exc_type, exc_value, traceback): |
| LOW | odoo/tools/mail.py | 459 | except Exception: |
| LOW | odoo/tools/misc.py | 470 | except Exception: |
| LOW | odoo/tools/misc.py | 943 | except Exception: |
| LOW | odoo/tools/misc.py | 1327 | except Exception: # noqa: BLE001 |
| LOW | odoo/tools/misc.py | 1331 | except Exception: # noqa: BLE001 |
| LOW | odoo/tools/misc.py | 1498 | except Exception: |
| LOW | odoo/tools/misc.py | 1553 | except Exception: |
| LOW | odoo/tools/translate.py | 1251 | except Exception: |
| LOW | odoo/tools/translate.py | 1459 | except Exception: |
| LOW | odoo/tools/convert.py | 100 | except Exception: |
| LOW | odoo/tools/convert.py | 617 | except Exception as e: |
| LOW | odoo/tools/convert.py | 776 | except Exception: |
| LOW | odoo/tools/cache.py | 307 | except Exception: # noqa: BLE001 |
| LOW | odoo/tools/mimetypes.py | 172 | except Exception: |
| LOW | odoo/tools/mimetypes.py | 205 | except Exception: # noqa: BLE001 |
| LOW | odoo/tools/mimetypes.py | 221 | except Exception: # noqa: BLE001 |
| LOW | odoo/tools/cloc.py | 60 | except Exception: |
| LOW | odoo/tools/cloc.py | 132 | except Exception: |
| MEDIUM | odoo/tools/cloc.py | 50 | def parse_py(self, s): |
| LOW | odoo/tools/test_reports.py | 52 | except Exception: |
| LOW | odoo/tools/test_reports.py | 222 | except Exception as e: |
| LOW | odoo/tools/osutil.py | 98 | except Exception: |
| LOW | odoo/tools/barcode.py | 33 | except Exception: # noqa: BLE001 |
| LOW | odoo/tools/view_validation.py | 308 | except Exception: |
| LOW | odoo/tools/safe_eval.py | 269 | except Exception as e: |
| LOW | odoo/tools/safe_eval.py | 413 | except Exception as e: |
| LOW | odoo/tools/profiler.py | 578 | except Exception: |
| LOW | odoo/tools/func.py | 111 | except Exception: |
| LOW | odoo/tools/_vendor/sessions.py | 226 | except Exception: |
| LOW | odoo/tools/pdf/__init__.py | 397 | except Exception: # noqa: BLE001 |
| LOW | odoo/addons/test_http/tests/test_session.py | 179 | except Exception: # noqa: BLE001 |
| LOW | odoo/addons/test_http/tests/test_session.py | 187 | except Exception: # noqa: BLE001 |
| LOW | odoo/addons/base/tests/test_test_suite.py | 83 | except Exception as e: |
| LOW | odoo/addons/base/tests/test_test_suite.py | 368 | except Exception: |
| LOW | odoo/addons/base/tests/test_test_suite.py | 403 | except Exception: |
| MEDIUM | odoo/addons/base/tests/test_test_suite.py | 400 | def alpha(): |
| LOW | odoo/addons/base/wizard/base_import_language.py | 42 | except Exception as e: |
| LOW | odoo/addons/base/models/ir_default.py | 40 | except Exception: # noqa: BLE001 |
| LOW | odoo/addons/base/models/ir_default.py | 100 | except Exception: |
| LOW | odoo/addons/base/models/ir_mail_server.py | 356 | except Exception as e: |
| LOW | odoo/addons/base/models/ir_mail_server.py | 363 | except Exception: |
| LOW | odoo/addons/base/models/ir_mail_server.py | 859 | except Exception as e: |
| LOW | odoo/addons/base/models/ir_rule.py | 73 | except Exception as e: |
| MEDIUM | odoo/addons/base/models/ir_model.py | 721 | def _onchange_relation(self): |
| LOW | odoo/addons/base/models/ir_model.py | 960 | except Exception: |
| LOW | odoo/addons/base/models/ir_model.py | 1757 | except Exception: |
| LOW | odoo/addons/base/models/ir_model.py | 2268 | except Exception: # pylint: disable=broad-except |
| LOW | odoo/addons/base/models/ir_model.py | 2404 | except Exception: |
| LOW | odoo/addons/base/models/ir_model.py | 2564 | except Exception: |
| LOW | odoo/addons/base/models/ir_autovacuum.py | 60 | except Exception: |
| 338 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | odoo/tools/lru.py | 21 | |
| LOW | odoo/tools/pdf/signature.py | 121 | # Assigning the newly created field to a page |
| LOW | odoo/tools/pdf/signature.py | 181 | }) |
| LOW | odoo/tools/pdf/signature.py | 221 | # Setting up the actual signature contents with placeholders for /Contents and /ByteRange |
| LOW | odoo/tools/babel/javascript_extractor.py | 21 | # e.g. ((1, 'c'), 2) |
| LOW | odoo/tools/babel/python_extractor.py | 21 | # -> Indicates the first argument is a context key and the second is the translatable term, like in `pgettext` |
| LOW | odoo/tools/babel/python_extractor.py | 221 | # so we don't wan't to extract it. |
| LOW | odoo/tools/arabic_reshaper/letters.py | 1 | # The following code was copied from the original author's repository |
| LOW | odoo/tools/arabic_reshaper/__init__.py | 1 | # The following code was copied from the original author's repository |
| LOW | odoo/osv/expression.py | 301 | # commited, i.e. its terms added to the ``commits`` list along with |
| LOW | odoo/addons/test_main_flows/__init__.py | 1 | # -*- coding: utf-8 -*- |
| LOW | …/addons/test_lint/tests/_odoo_checker_sql_injection.py | 281 | return True |
| LOW | odoo/addons/test_lint/tests/test_override_signatures.py | 221 | raise TypeError(msg) from None |
| LOW | odoo/addons/test_orm/tests/test_fields.py | 881 | self.env.flush_all() |
| LOW | odoo/addons/test_orm/tests/test_fields.py | 1961 | deleted.unlink() |
| LOW | odoo/addons/test_orm/tests/test_fields.py | 3901 | # other user that bypassed the sanitize) |
| LOW | odoo/addons/test_orm/tests/test_fields.py | 3981 | # | | | | |
| LOW | odoo/addons/base/tests/test_orm.py | 381 | # | (ondelete='restrict') have db ON DELETE action |
| LOW | odoo/addons/base/tests/test_expression.py | 401 | non_partner_id = max(all_partners.ids) + 1 |
| LOW | odoo/addons/base/tests/test_reports.py | 421 | # leaving this as reference but this is to fragile to make a strict assertion |
| LOW | odoo/addons/base/tests/test_translate.py | 701 | # Country = self.env['res.country'] |
| LOW | odoo/addons/base/tests/test_translate.py | 1881 | # view1_en_copy.update_field_translations('arch_db', { |
| LOW | odoo/addons/base/tests/test_db_cursor.py | 241 | # which is set as an integer in our DSN/connection_info |
| LOW | odoo/addons/base/models/ir_logging.py | 1 | # Part of Odoo. See LICENSE file for full copyright and licensing details. |
| LOW | odoo/addons/base/models/ir_logging.py | 41 | # DROP CONSTRAINT unconditionally takes an ACCESS EXCLUSIVE lock |
| LOW | odoo/addons/base/models/ir_ui_view.py | 921 | if node.get('position') in ('after', 'before', 'inside'): |
| LOW | odoo/addons/base/models/ir_ui_view.py | 981 | # We achieve a pre-order depth-first hierarchy traversal where |
| LOW | odoo/addons/base/models/ir_ui_view.py | 1001 | # 5 [7, 8, 3, 4] |
| LOW | odoo/addons/base/models/ir_ui_view.py | 1341 | parent = node.getparent() |
| LOW | odoo/addons/base/models/ir_cron.py | 321 | other jobs. |
| LOW | odoo/tests/common.py | 2401 | # setting a cookie on domain='' path='/'. |
| LOW | odoo/orm/models.py | 4241 | # is a record created by xml/csv file, as these are not connected |
| LOW | odoo/orm/models.py | 4421 | # Protect the field from being recomputed while being |
| LOW | odoo/orm/models.py | 4441 | with env.protecting(protected, self): |
| LOW | odoo/orm/models.py | 4461 | |
| LOW | odoo/orm/models.py | 6761 | :param before: whether called before modifying records ``self`` |
| LOW | odoo/orm/models.py | 6781 | # - mark G to recompute on records, |
| LOW | odoo/orm/fields.py | 341 | if attr.startswith('_related_'): |
| LOW | odoo/orm/fields.py | 361 | # runtime on the registry class of the model. The occurrences of the field |
| LOW | odoo/orm/fields.py | 681 | # of prefetching for each field access. In order to clarify the impact |
| LOW | odoo/orm/fields.py | 1681 | # on a real record: |
| LOW | odoo/orm/model_classes.py | 41 | # |
| LOW | odoo/orm/model_classes.py | 61 | # A3 A2 A1 <- model definitions |
| LOW | odoo/orm/model_classes.py | 81 | # \ | / |
| LOW | odoo/orm/model_classes.py | 101 | # definition. There are a number of cases where the field cannot be used |
| LOW | odoo/orm/model_classes.py | 121 | # class A1(Model): Model |
| LOW | odoo/orm/fields_properties.py | 181 | # value, where relational field values have a display name. |
| LOW | odoo/orm/environments.py | 561 | self.registry = registry |
| LOW | odoo/service/server.py | 521 | # but which finished before the server could restart. |
| LOW | odoo/modules/module_graph.py | 41 | # | |
| LOW | odoo/modules/module_graph.py | 61 | # +- | module6 | |
| LOW | odoo/modules/module_graph.py | 81 | # 'to upgrade': module4, module6 |
| LOW | odoo/modules/module_graph.py | 101 | # Sometimes the dependency may be changed for sake of upgrade |
| LOW | odoo/modules/module_graph.py | 121 | # | | | |
| LOW | odoo/upgrade_code/17.5-00-example.py | 21 | return |
| LOW | addons/sale/models/sale_order.py | 1641 | 'ref': ', '.join(refs)[:2000], |
| LOW | addons/website_sale_comparison_wishlist/__init__.py | 1 | # -*- coding: utf-8 -*- |
| LOW | addons/sale_mrp_margin/__init__.py | 1 | # -*- coding: utf-8 -*- |
| LOW | addons/calendar/models/calendar_recurrence.py | 521 | self.ensure_one() |
| LOW | addons/calendar/models/res_users.py | 101 | |
| 253 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | odoo/tools/mail.py | 896 | >>> email_anonymize('admin@example.com') |
| LOW | odoo/tools/mail.py | 970 | >>> formataddr(('John Doe', 'johndoe@example.com')) |
| LOW | odoo/tools/mail.py | 971 | '"John Doe" <johndoe@example.com>' |
| LOW | odoo/addons/base/tests/test_res_users.py | 495 | me.email = "foo@bar.com" |
| LOW | odoo/addons/base/tests/test_res_users.py | 496 | self.assertEqual(me.email, "foo@bar.com") |
| LOW | odoo/addons/base/tests/test_res_users.py | 503 | other.email = "foo@bar.com" |
| LOW | odoo/addons/base/tests/test_mail.py | 852 | ('"Admin" <admin@example.com>', ['admin@example.com']), |
| LOW | odoo/addons/base/tests/test_mail.py | 853 | ('"Admin" <admin@example.com>, Demo <demo@test.com>', ['admin@example.com', 'demo@test.com']), |
| LOW | odoo/addons/base/tests/test_mail.py | 854 | ('admin@example.com', ['admin@example.com']), |
| LOW | odoo/addons/base/tests/test_mail.py | 855 | ('"Admin" <admin@example.com>, Demo <malformed email>', ['admin@example.com']), |
| LOW | odoo/addons/base/tests/test_mail.py | 905 | ('admin@example.com', 'a****@example.com', 'a****@e******.com'), # short |
| LOW | odoo/addons/base/tests/test_format_address_mixin.py | 68 | 'name': 'John Doe', |
| LOW | odoo/addons/base/tests/test_format_address_mixin.py | 69 | 'street': '123 Main Street', |
| LOW | odoo/addons/base/tests/test_format_address_mixin.py | 76 | self.assertIn('John Doe', partner.display_name) |
| LOW | odoo/addons/base/tests/test_format_address_mixin.py | 80 | self.assertIn('123 Main Street', display_name) |
| LOW | odoo/addons/base/tests/test_configmanager.py | 240 | 'email_from': 'admin@example.com', |
| LOW | odoo/addons/base/tests/test_configmanager.py | 544 | 'email_from': 'admin@example.com', |
| LOW | odoo/addons/base/tests/test_configmanager.py | 670 | 'email_from': 'admin@example.com', |
| LOW | …dons/auth_signup/views/auth_signup_login_templates.xml | 43 | <input type="text" name="name" t-att-value="name" id="name" class="form-control" placeholder="Jo |
| LOW | addons/sale/tests/test_sale_to_invoice.py | 1064 | 'email': 'test@test.com', |
| LOW | addons/im_livechat/tests/test_message.py | 51 | 'email': 'user@example.com', |
| LOW | …m_livechat/static/tests/embed/livechat_service.test.js | 71 | const userId = pyEnv["res.users"].create({ name: "John Doe", im_status: "online" }); |
| LOW | …m_livechat/static/tests/embed/livechat_service.test.js | 73 | name: "John Doe", |
| LOW | …m_livechat/static/tests/embed/livechat_service.test.js | 80 | await contains(".o-mail-Message-author", { text: "John Doe" }); |
| LOW | addons/sale_gelato/tests/test_delivery_carrier.py | 17 | 'email': 'test@test.com', |
| LOW | …hr_recruitment_survey/tests/test_recruitment_survey.py | 49 | 'partner_name': 'Jane Doe', |
| LOW | addons/portal/tests/test_portal.py | 31 | 'street': '123 Main St', |
| LOW | …tic/tests/tours/website_event_booth_sale_pricelists.js | 36 | this.anchor.value = 'John Doe'; |
| LOW | …t_booth_sale/static/tests/tours/website_event_booth.js | 34 | this.anchor.value = 'John Doe'; |
| LOW | addons/rating/tests/test_security.py | 18 | cls.env, name='Jean Admin', login='user_mana', email='admin@example.com', |
| LOW | …ck/tests/test_website_sale_stock_stock_notification.py | 57 | website.company_id.partner_id.email = "test@test.com" |
| LOW | addons/test_mass_mailing/tests/test_mailing_test.py | 41 | 'email_to': 'test@test.com', |
| LOW | addons/test_mass_mailing/tests/test_mailing_test.py | 89 | 'email_to': 'test@test.com', |
| LOW | addons/test_mass_mailing/tests/test_mailing_test.py | 127 | 'email_to': 'test@test.com', |
| LOW | addons/test_mass_mailing/tests/test_mailing_test.py | 143 | self.assertSentEmail(self.env.user.partner_id, ['test@test.com'], |
| LOW | addons/test_mass_mailing/tests/test_mailing_test.py | 163 | 'test@test.com', |
| LOW | addons/mail/tests/test_mail_template.py | 159 | 'email_to': 'foo@bar.com', |
| LOW | addons/mail/tests/test_mail_template.py | 505 | 'email_from': 'admin@example.com', |
| LOW | addons/mail/tests/test_mail_template.py | 506 | 'email_to': 'user@example.com', |
| LOW | addons/mail/static/tests/core/search_highlight.test.js | 121 | const partnerId = pyEnv["res.partner"].create({ name: "John Doe" }); |
| LOW | addons/mail/static/tests/core/search_highlight.test.js | 138 | const partnerId = pyEnv["res.partner"].create({ name: "John Doe" }); |
| LOW | addons/mail/static/tests/core/search_highlight.test.js | 199 | const partnerId = pyEnv["res.partner"].create({ name: "John Doe" }); |
| LOW | addons/mail/static/tests/message/message_reply.test.js | 87 | const partnerId = pyEnv["res.partner"].create({ name: "John Doe" }); |
| LOW | addons/mail/static/tests/message/message_reply.test.js | 210 | const partnerId = pyEnv["res.partner"].create({ name: "John Doe" }); |
| LOW | …s/mail/static/tests/chatter/web/chatter_search.test.js | 26 | const partnerId = pyEnv["res.partner"].create({ name: "John Doe" }); |
| LOW | …s/mail/static/tests/chatter/web/chatter_search.test.js | 35 | const partnerId = pyEnv["res.partner"].create({ name: "John Doe" }); |
| LOW | …s/mail/static/tests/chatter/web/chatter_search.test.js | 45 | const partnerId = pyEnv["res.partner"].create({ name: "John Doe" }); |
| LOW | …s/mail/static/tests/chatter/web/chatter_search.test.js | 64 | const partnerId = pyEnv["res.partner"].create({ name: "John Doe" }); |
| LOW | …s/mail/static/tests/chatter/web/chatter_search.test.js | 83 | const partnerId = pyEnv["res.partner"].create({ name: "John Doe" }); |
| LOW | …s/mail/static/tests/chatter/web/chatter_search.test.js | 100 | const partnerId = pyEnv["res.partner"].create({ name: "John Doe" }); |
| LOW | addons/mail/static/tests/chatter/web/chatter.test.js | 50 | const partnerId = pyEnv["res.partner"].create({ name: "John Doe" }); |
| LOW | addons/mail/static/tests/chatter/web/chatter.test.js | 84 | const partnerId = pyEnv["res.partner"].create({ name: "John Doe" }); |
| LOW | addons/mail/static/tests/chatter/web/chatter.test.js | 115 | const partnerId = pyEnv["res.partner"].create({ name: "John Doe" }); |
| LOW | addons/mail/static/tests/chatter/web/chatter.test.js | 177 | const partnerId = pyEnv["res.partner"].create({ name: "John Doe" }); |
| LOW | addons/mail/static/tests/chatter/web/chatter.test.js | 189 | const partnerId = pyEnv["res.partner"].create({ name: "John Doe" }); |
| LOW | addons/mail/static/tests/chatter/web/chatter.test.js | 203 | const partnerId = pyEnv["res.partner"].create({ name: "John Doe" }); |
| LOW | addons/mail/static/tests/chatter/web/chatter.test.js | 721 | name: "John Doe", |
| LOW | addons/mail/static/tests/chatter/web/chatter.test.js | 725 | name: "John Doe", |
| LOW | addons/mail/static/tests/chatter/web/chatter.test.js | 731 | await contains(".o-mail-RecipientsInput .o_tag_badge_text", { text: "John Doe" }); |
| LOW | addons/mail/static/tests/chatter/web/chatter.test.js | 741 | name: "John Doe", |
| 167 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | odoo/addons/base/tests/test_views.py | 1453 | # Check if the replacement inside the child view did not mess up the |
| LOW | odoo/addons/base/tests/test_views.py | 1461 | # Check if the replacement of the first worlds did not mess up the |
| LOW | odoo/addons/base/tests/test_views.py | 1511 | # Check if the replacement inside the child view did not mess up the |
| LOW | odoo/addons/base/tests/test_views.py | 1520 | # Check if the child view replacement of added nodes did not mess up |
| LOW | odoo/addons/base/tests/test_views.py | 1394 | # Check if the replacement inside the child view did not mess up the |
| LOW | odoo/addons/base/tests/test_views.py | 1402 | # Check if the replacement of the first worlds did not mess up the |
| LOW | odoo/addons/base/models/ir_mail_server.py | 716 | # Check if it's still possible to put the bounce address as smtp_from |
| LOW | odoo/addons/base/models/ir_ui_view.py | 473 | # Check if we know how to apply inheritances |
| LOW | odoo/orm/registry.py | 1072 | # Check if the model registry must be reloaded |
| LOW | odoo/orm/registry.py | 1079 | # Check if the model caches must be invalidated. |
| LOW | addons/auth_signup/tests/test_auth_signup.py | 63 | # Check if an email is sent to the new userw |
| LOW | addons/auth_signup/controllers/main.py | 50 | # Set user to public if they were not signed in by do_signup |
| LOW | addons/website_event_track/tests/test_website_event.py | 71 | # Check if app_icon is set |
| LOW | addons/website_event_track/tests/test_website_event.py | 74 | # Check if app_icon is a valid image |
| LOW | addons/website_event_track/controllers/event_track.py | 152 | # Check if there are any ongoing or upcoming tracks |
| LOW | addons/stock_picking_batch/models/stock_picking.py | 199 | # Check if auto_batch is enabled for this picking. |
| LOW | addons/google_calendar/utils/google_event.py | 194 | # Check if ids are the same |
| LOW | addons/google_calendar/models/google_sync.py | 180 | # Check if it is a recurring event that has been rescheduled. |
| LOW | addons/l10n_ar/controllers/portal.py | 61 | # Check if the ARCA responsibility is different from Final Consumer or Foreign Customer, |
| LOW | …quisition_sale/tests/test_purchase_requisition_sale.py | 58 | # Check if newly created PO is correctly linked to the base Sale Order |
| LOW | addons/calendar/tests/test_calendar_tour.py | 44 | self.assertFalse(event) # Check if the event has been correctly deleted |
| LOW | addons/calendar/tests/test_calendar_tour.py | 69 | self.assertEqual(attendee.state, 'declined') # Check if the event has been correctly declined |
| LOW | addons/payment_paypal/tests/test_paypal.py | 119 | # Set country to one where state is required |
| LOW | addons/sms/tests/test_sms_template.py | 40 | # Check if a member of group_user can only read on sms.template |
| LOW | addons/l10n_sa/models/account_move.py | 123 | # Check if the document is legal in Saudi |
| LOW | addons/mrp_subcontracting/tests/test_subcontracting.py | 35 | # Check if warehouse routes got RECREATED (instead of reused) |
| LOW | addons/mrp_subcontracting/tests/test_subcontracting.py | 48 | # Check if warehouse operation types (picking.type) got RECREATED (instead of reused) |
| LOW | addons/mail/models/mail_message.py | 1357 | # Check if user has access to the record before displaying a notification about it. |
| LOW | addons/sale_stock/models/stock.py | 69 | # Check if there is already a SO line for this product to get |
| LOW | addons/sale_stock/models/stock.py | 265 | # Check if there is already a SO line for this product to get |
| LOW | addons/web/tests/test_reports.py | 130 | # Check if the temporary session has been deleted |
| LOW | addons/web/tests/test_reports.py | 134 | # Check if temporary files have been deleted |
| LOW | addons/web/tests/test_res_users_settings.py | 66 | # Check if the setting is correctly created |
| LOW | addons/web/tests/test_res_users_settings.py | 75 | # Check if the settings are correctly formatted from the getter |
| LOW | addons/web/tests/test_res_users_settings.py | 93 | # Check if the setting is correctly updated |
| LOW | addons/web/tests/test_res_users_settings.py | 102 | # Check if the settings are correctly formatted after the update |
| LOW | addons/l10n_tw_edi_ecpay/models/account_move.py | 538 | # Check if the credit note has exchange difference, we need to add it to the sale amount |
| LOW | addons/website/tests/test_performance.py | 337 | # Check if website.cookies_bar is active |
| LOW | addons/website/tests/test_performance.py | 339 | # Check if `view.track` to track visitor or not |
| LOW | addons/website/tests/test_performance.py | 372 | # Check if `view.track` to track visitor or not |
| LOW | addons/website/models/website_menu.py | 309 | # Check if the url match a website.page (to set the m2o relation), |
| LOW | addons/website/models/ir_ui_view.py | 139 | # Set key to avoid copy() to generate an unique key as we want the |
| LOW | addons/website/models/assets.py | 61 | # Check if the file to save had already been modified |
| LOW | addons/website/models/html_text_processor.py | 130 | # Check if terms are translated. |
| LOW | addons/website/controllers/main.py | 272 | # Check if stored version is still valid |
| LOW | addons/website/controllers/main.py | 1312 | # Check if the file is customized and get bundle/path info |
| LOW | addons/mrp/tests/test_bom.py | 2740 | # Assign operation to each bom/byproduct line |
| LOW | addons/mrp/models/mrp_workorder.py | 606 | # Check if this workcenter is better than the previous ones |
| LOW | addons/mrp/report/mrp_report_bom_structure.py | 697 | # Check if product is already in stock with enough quantity |
| LOW | addons/mrp/report/mrp_report_bom_structure.py | 843 | # Check if this workcenter is better than the previous ones |
| LOW | addons/crm/models/crm_lead.py | 1025 | # Set date_open to today if it is an opp |
| LOW | addons/crm/models/crm_lead.py | 2747 | # Check if tag_ids is in the pls_fields and removed it from the list. The tags will be managed separately. |
| LOW | addons/payment_stripe/controllers/main.py | 211 | # Check if the timestamp is not too old |
| LOW | addons/sale_loyalty/tests/test_program_numbers.py | 52 | # Check if we have enough paid product to receive free product in case of a free product that is different from |
| LOW | addons/base_import/models/base_import.py | 1276 | # Check if the field is in import_field and is a relational (followed by /) |
| LOW | addons/product/tests/test_pricelist.py | 153 | # Set country to BE -> property defaults to EU pricelist |
| LOW | addons/product/tests/test_pricelist.py | 159 | # Set country to KI -> property defaults to highest sequence pricelist |
| LOW | addons/product/tests/test_product_pricelist.py | 187 | # Check if the pricelist is applied at precise datetime |
| LOW | addons/product/tests/test_product_pricelist.py | 201 | # Check if the price is different when we change the pricelist |
| LOW | addons/product/models/product_product.py | 716 | # Check if products still exists, in case they've been unlinked by unlinking their template |
| 87 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | odoo/http.py | 1439 | _request_stack.push(req) |
| HIGH | odoo/http.py | 2818 | _request_stack.push(request) |
| HIGH | odoo/http.py | 2548 | --> {"jsonrpc": "2.0", "method": "call", "params": {"arg1": "val1" }, "id": null} |
| HIGH | odoo/http.py | 2550 | <-- {"jsonrpc": "2.0", "result": { "res1": "val1" }, "id": null} |
| HIGH | odoo/http.py | 2554 | --> {"jsonrpc": "2.0", "method": "call", "params": {"arg1": "val1" }, "id": null} |
| HIGH | odoo/http.py | 2556 | <-- {"jsonrpc": "2.0", "error": {"code": 1, "message": "End user error message.", "data": {"code": "codestring |
| HIGH | odoo/tools/translate.py | 1706 | ELSE t.value || m."{field_name}"END""" |
| HIGH | odoo/tools/translate.py | 1909 | WHEN t.noupdate IS FALSE THEN t.value || m."{field.name}" |
| HIGH | odoo/addons/base/tests/test_res_users.py | 654 | _request_stack.push(SimpleNamespace(session=session, env=self.env)) |
| HIGH | odoo/addons/base/wizard/base_partner_merge.py | 308 | SET %(field)s = source_agg.value || COALESCE(%(table)s.%(field)s, '{}'::jsonb) |
| HIGH | odoo/addons/base/models/res_users.py | 1536 | name varchar not null, |
| HIGH | odoo/addons/base/models/res_users.py | 1541 | key varchar not null, |
| HIGH | odoo/tests/common.py | 1945 | # the undefined remoteobject is literally just {type: undefined}... |
| HIGH | odoo/tests/common.py | 492 | odoo.http._request_stack.push(request) |
| HIGH | odoo/tests/common.py | 520 | inner.push(init.pop_all()) |
| HIGH | odoo/orm/models.py | 3602 | jsonb_strip_nulls(%(fallback)s || COALESCE(%(field)s, '{}'::jsonb) || %(value)s), |
| HIGH | odoo/orm/fields.py | 1235 | # here the specified value for a company might be NULL e.g. '{"1": null}'::jsonb |
| HIGH | addons/im_livechat/models/discuss_channel.py | 179 | "CHECK((channel_type = 'livechat' and livechat_operator_id is not null) or (channel_type != 'livechat'))", |
| HIGH | addons/l10n_sa_edi/models/account_journal.py | 681 | 'l10n_sa_compliance_csid_json': """{"requestID": 1234567890123, "dispositionMessage": "ISSUED", "binarySecur |
| HIGH | addons/web/tests/test_click_everywhere.py | 86 | self.browser_js("/odoo", "odoo.loader.modules.get('@web/webclient/clickbot/clickbot_loader').startClickEverywher |
| HIGH | addons/web/tests/test_click_everywhere.py | 100 | self.browser_js("/odoo", "odoo.loader.modules.get('@web/webclient/clickbot/clickbot_loader').startClickEverywher |
| HIGH | addons/website_slides/models/slide_channel.py | 485 | SET access_token = md5(md5(random()::varchar || id::varchar) || clock_timestamp()::varchar)::uuid::varch |
| HIGH | addons/website/models/ir_module_module.py | 551 | o_menu_name = SQL('menu.name || %s' if overwrite else '%s || menu.name', update_jsonb) |
| HIGH | addons/crm/models/crm_lead.py | 2315 | # if stage_id is null, return 0 and bypass computation |
| HIGH | addons/crm/models/crm_lead.py | 2315 | # if stage_id is null, return 0 and bypass computation |
| HIGH | addons/crm/models/crm_lead.py | 2460 | probability = CASE WHEN (probability = automated_probability OR probability is null) |
| HIGH | addons/iot_drivers/tools/upgrade.py | 212 | background_cmd = 'chroot /root_bypass_ramdisks /bin/bash -c "apt-get upgrade -y && apt-get -y autoremove"' |
| HIGH | addons/bus/websocket.py | 900 | _wsrequest_stack.push(self) |
| HIGH | addons/http_routing/tests/common.py | 105 | odoo.http._request_stack.push(request) |
| HIGH | addons/account/models/account_account_tag.py | 129 | SET name = tag.name || jsonb_build_object(%(lang)s, substring(tag.name->>'en_US' FOR 1) || (report_li |
| HIGH | addons/stock/models/stock_move_line.py | 602 | # adjustment, enforce some rules on the `lot_id` field. If `quantity` is null, we unlink |
| HIGH | addons/web_tour/tests/test_tours.py | 122 | errors.push(module) |
| HIGH | addons/web_tour/tests/test_tours.py | 165 | errors.push(module) |
| HIGH | addons/survey/models/survey_question.py | 213 | "CHECK (is_scored_question != True OR question_type != 'datetime' OR answer_datetime is not null)", |
| HIGH | addons/survey/models/survey_question.py | 217 | "CHECK (is_scored_question != True OR question_type != 'date' OR answer_date is not null)", |
| HIGH | addons/rpc/tests/test_xmlrpc.py | 205 | _request_stack.push(fake_req) |
| HIGH | addons/l10n_it_edi/tools/remove_signature.py | 73 | if verify(loaded_data._pkcs7, null, null, null, out_buffer, flags) != 1: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | odoo/http.py | 1020 | # the _save_session is going to simply use session.sid to set a new cookie. |
| MEDIUM | odoo/tools/mail.py | 1029 | """ Parse contact name and email (given by text) in order to find contact |
| LOW | odoo/tools/misc.py | 438 | deps[item] # just set the default |
| MEDIUM | odoo/tools/pdf/__init__.py | 533 | # " The aforementioned EOL marker shall be immediately followed by a % (25h) character followed by at least four |
| LOW | …/addons/test_lint/tests/_odoo_checker_sql_injection.py | 327 | # otherwise just return the original node for checking |
| MEDIUM | …oo/addons/test_assetsbundle/tests/test_assetsbundle.py | 677 | """ Checks that a bundle don't try hard to parse broken xml, and returns a comprehensive |
| MEDIUM | …oo/addons/test_assetsbundle/tests/test_assetsbundle.py | 689 | """ Checks that a bundle with multiple broken xml returns a comprehensive error message. |
| MEDIUM | …oo/addons/test_assetsbundle/tests/test_assetsbundle.py | 700 | """ Checks that a bundle with template without name returns a comprehensive error message. |
| MEDIUM | …oo/addons/test_assetsbundle/tests/test_assetsbundle.py | 711 | """ Checks that a bundle with a file in error (file not found, encoding error, or other) returns a comprehensive |
| LOW | odoo/addons/test_inherits/models.py | 6 | # We just create a new model |
| MEDIUM | odoo/addons/base/tests/test_tz.py | 28 | # the first one is more robust |
| MEDIUM | odoo/addons/base/tests/test_test_suite.py | 85 | # will make it more robust to future changes and eventual mistakes |
| MEDIUM | odoo/addons/base/tests/test_http_case.py | 128 | # but this makes the test more clear and robust |
| MEDIUM | odoo/addons/base/models/ir_actions_report.py | 232 | """Used in the ir.actions.report form view in order to search naively after the view(s) |
| LOW | odoo/addons/base/models/ir_attachment.py | 174 | # simply add fname to checklist, it will be garbage-collected later |
| MEDIUM | odoo/addons/base/models/res_bank.py | 134 | """ To be overridden by subclasses in order to support other account_types. |
| MEDIUM | odoo/addons/base/models/ir_qweb.py | 2641 | """ This special 't-call-assets' tag can be used in order to aggregate/minify javascript and css assets""" |
| LOW | odoo/addons/base/models/res_partner.py | 84 | #(e.g fields not present on the model). In that case we just return arch |
| MEDIUM | odoo/addons/base/models/ir_actions.py | 30 | """ Proxy of the `_logger` element in order to be used in server actions. |
| MEDIUM | odoo/tests/form.py | 481 | """ Validate & extract values, recursively in order to handle o2ms properly. |
| MEDIUM | odoo/orm/models.py | 3755 | """ Read from the database in order to fetch ``field`` (:class:`Field` |
| LOW | odoo/orm/fields_properties.py | 377 | # when we create the new record. But if we just set the value without changing |
| LOW | odoo/orm/fields_misc.py | 123 | # do not flush, just return the identifier |
| MEDIUM | addons/sale/models/sale_order_line.py | 825 | """ Convert the current record to a dictionary in order to use the generic taxes computation method |
| LOW | addons/l10n_sa_edi/models/account_edi_format.py | 190 | # no signed invoice. In this case, we just return the original content |
| MEDIUM | addons/stock_delivery/models/delivery_carrier.py | 95 | """ Some delivery carriers require a prefix to be sent in order to use custom |
| MEDIUM | addons/l10n_ar/tests/test_manual.py | 80 | """ RI partner with many lines in order to prove rounding error, with 4 decimals of precision for the |
| MEDIUM | addons/l10n_ar/tests/test_manual.py | 85 | """ RI partner with many lines in order to test rounding error, it is required to use a 4 decimal precision |
| MEDIUM | addons/l10n_ar/tests/test_manual.py | 90 | """ RI partner with many lines in order to test zero amount invoices y rounding error. it is required to |
| MEDIUM | addons/l10n_ar/models/res_partner.py | 32 | """ This will add some dash to the CUIT number (VAT AR) in order to show in his natural format: |
| MEDIUM | addons/portal_rating/models/rating_rating.py | 45 | """ Force publisher partner and date if not given in order to have |
| MEDIUM | addons/l10n_my_edi_pos/tests/test_myinvois_pos.py | 719 | """ Generate a relatively complex use case, and compare it to an XML file in order to ensure correct generation |
| MEDIUM | addons/l10n_my_edi_pos/tests/test_myinvois_pos.py | 769 | """ Generate a relatively complex use case, and compare it to an XML file in order to ensure correct generation |
| MEDIUM | addons/sms/models/mail_message.py | 7 | """ Override MailMessage class in order to add a new type: SMS messages. |
| MEDIUM | addons/mrp_subcontracting/models/stock_move.py | 20 | """ Compute if the action button in order to see moves raw is visible """ |
| MEDIUM | addons/mrp_subcontracting/models/stock_move.py | 80 | """ Open the produce wizard in order to register tracked components for |
| MEDIUM | addons/mail/models/mail_blacklist.py | 59 | """ Override _search in order to grep search on email field and make it |
| MEDIUM | addons/mail/models/ir_config_parameter.py | 20 | # prepares data for 'send' in conjunction with auto_commit=True in order |
| MEDIUM | addons/web/static/tests/legacy/qunit.js | 414 | // Essentially prevents default error logging when the rejection was |
| MEDIUM | addons/web/static/lib/fullcalendar/core/index.global.js | 89 | var css_248z = ":root{--fc-small-font-size:.85em;--fc-page-bg-color:#fff;--fc-neutral-bg-color:hsla(0,0%,82%,.3);--f |
| MEDIUM | addons/web/static/lib/fullcalendar/core/index.global.js | 1165 | standardDateProps.timeZone = 'UTC'; // we leverage the only guaranteed timeZone for our UTC markers |
| MEDIUM | …ns/web/static/lib/fullcalendar/daygrid/index.global.js | 667 | // Essentially, once you compute an element's height, never null-out. |
| MEDIUM | addons/web/static/lib/jquery/jquery.js | 10942 | // understands anonymous AMD modules. A named AMD is safest and most robust |
| LOW | addons/web/controllers/export.py | 472 | # * if we have a normal field (length 1), just add it to the info |
| MEDIUM | addons/web/controllers/report.py | 95 | """This function is used by 'action_manager_report.js' in order to trigger the download of |
| LOW | …_vendor/webauthn/helpers/validate_certificate_chain.py | 27 | # We have no root certs to chain back to, so just pass on validation |
| MEDIUM | addons/website/static/tests/builder/images.test.js | 302 | // in practice but the system should be robust to this case as the |
| MEDIUM | addons/website/static/src/scss/website.edit_mode.scss | 142 | // TODO implement something more robust. This is currently for our only |
| MEDIUM | addons/website/static/src/scss/website.backend.scss | 18 | // TODO: Find another way to set the height, not robust enough, |
| MEDIUM | addons/website/static/src/utils/images.js | 1 | // Definitely not the right location for this file !!! |
| MEDIUM | …lder/plugins/options/cover_properties_option_plugin.js | 38 | // robust enough. |
| MEDIUM | addons/mrp/tests/test_order.py | 1555 | """ Checks that, the production is robust against deletion of finished move.""" |
| MEDIUM | addons/mrp/models/stock_rule.py | 42 | """ If 'run' is called on a kit, this override is made in order to call |
| MEDIUM | addons/mrp/models/mrp_production.py | 1457 | """ returns 'assigned' if enough components are reserved in order to complete |
| MEDIUM | addons/crm/tests/test_crm_lead_assignment.py | 314 | """ Test assignment on a more high volume oriented test set in order to |
| MEDIUM | addons/crm/tests/test_performances.py | 124 | """ Test assignment on a more high volume oriented test set in order to |
| MEDIUM | …tic/src/views/forecast_kanban/forecast_kanban_model.js | 20 | // future, modify the original domain instead. It is not robust |
| MEDIUM | addons/bus/static/tests/mock_websocket.js | 90 | // Disable the interval until those tests are rewritten to be more robust. |
| LOW | …s/product/tests/test_product_attribute_value_config.py | 368 | # CASE: no combination, no variant, just return the only variant |
| MEDIUM | addons/project_account/models/project_project.py | 123 | """ this method is used in order to overwrite the domain in sale_timesheet module. Since the field 'project_id' |
| 49 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | odoo/addons/base/models/res_users_deletion.py | 65 | # Step 1: Delete User |
| LOW | odoo/addons/base/models/res_users_deletion.py | 85 | # Step 2: Delete Linked Partner |
| LOW | odoo/addons/base/models/res_partner.py | 1183 | The purpose of this function is to build and return an address formatted accordingly to the |
| LOW | …website_sale_slides/tests/test_course_purchase_flow.py | 42 | # Step 2: create a sale_order with the course product |
| LOW | …website_sale_slides/tests/test_course_purchase_flow.py | 57 | # Step 3: check that the customer is now a member of both channel |
| LOW | …website_sale_slides/tests/test_course_purchase_flow.py | 61 | # Step 4: Same test as salesman |
| LOW | addons/calendar/tests/test_event_recurrence.py | 752 | # Step 1: Use the popover delete wizard to delete the next occurrence of the event. |
| LOW | addons/calendar/tests/test_event_recurrence.py | 760 | # Step 2: Use another delete wizard to handle the deletion of the next occurrence. |
| LOW | addons/calendar/tests/test_event_recurrence.py | 768 | # Step 3: Send cancellation notifications and delete the next occurrence. |
| LOW | addons/calendar/tests/test_event_recurrence.py | 776 | # Step 0: Retrieve the recurring event to be deleted. |
| LOW | addons/calendar/tests/test_event_recurrence.py | 779 | # Step 1: Use the popover delete wizard to delete all occurrences of the event. |
| LOW | addons/calendar/tests/test_event_recurrence.py | 787 | # Step 2: Use another delete wizard to handle the deletion of the event recurrence. |
| LOW | addons/calendar/tests/test_event_recurrence.py | 795 | # Step 3: Send cancellation notifications and delete all recurrences. |
| LOW | …/web/static/tests/webclient/actions/load_state.test.js | 1627 | // Step 1: Navigate to Sale->Customers with explicit menu_id |
| LOW | …/web/static/tests/webclient/actions/load_state.test.js | 1634 | // Step 2: Emulate F5 reload |
| LOW | addons/web/static/tests/legacy/qunit.js | 329 | * The purpose of this function is to reset the timer nesting level of the execution context |
| LOW | addons/web/static/lib/owl/owl.js | 1811 | // Step 1: calling all willPatch lifecycle hooks |
| LOW | addons/web/static/lib/owl/owl.js | 1825 | // Step 2: patching the dom |
| LOW | addons/web/static/lib/owl/owl.js | 1828 | // Step 4: calling all mounted lifecycle hooks |
| LOW | addons/web/static/lib/owl/owl.js | 1837 | // Step 5: calling all patched hooks |
| LOW | addons/web/static/lib/hoot/hoot_utils.js | 1419 | // Step 1: remove "exact" parts of the string query and add them as exact string |
| LOW | addons/web/static/lib/hoot/hoot_utils.js | 1431 | // Step 2: split remaining string query on white spaces and: |
| LOW | addons/web/static/src/core/bottom_sheet/bottom_sheet.js | 110 | // Step 1: Take measurements |
| LOW | addons/web/static/src/core/bottom_sheet/bottom_sheet.js | 113 | // Step 2: Apply Dimensions |
| LOW | addons/web/static/src/core/bottom_sheet/bottom_sheet.js | 116 | // Step 3: Set initial position |
| LOW | addons/web/static/src/core/bottom_sheet/bottom_sheet.js | 119 | // Step 4: Setup event handlers after everything has been properly resized and positioned |
| LOW | addons/web/static/src/core/bottom_sheet/bottom_sheet.js | 122 | // Step 5: Mark as ready |
| LOW | …/static/src/model/relational_model/relational_model.js | 778 | * occurrences to be updated. The purpose of this function is to find and |
| LOW | addons/web/controllers/pivot.py | 32 | # Step 1: writing col group headers |
| LOW | addons/web/controllers/pivot.py | 64 | # Step 2: writing measure headers |
| LOW | addons/web/controllers/pivot.py | 77 | # Step 4: writing data |
| LOW | …ides_survey/tests/test_course_certification_failure.py | 9 | # Step 1: create a simple certification |
| LOW | …ides_survey/tests/test_course_certification_failure.py | 50 | # Step 2: link the certification to a slide of category 'certification' |
| LOW | …ides_survey/tests/test_course_certification_failure.py | 58 | # Step 3: add portal user as member of the channel |
| LOW | …ides_survey/tests/test_course_certification_failure.py | 68 | # Step 4: fill in the created user_input with wrong answers |
| LOW | …ides_survey/tests/test_course_certification_failure.py | 79 | # Step 5: simulate a 'retry' |
| LOW | …ides_survey/tests/test_course_certification_failure.py | 89 | # Step 6: fill in the new user_input with wrong answers again |
| LOW | …ides_survey/tests/test_course_certification_failure.py | 99 | # Step 7: add portal user as member of the channel once again |
| LOW | …ides_survey/tests/test_course_certification_failure.py | 108 | # Step 8: fill in the created user_input with correct answers this time |
| LOW | addons/privacy_lookup/wizard/privacy_lookup_wizard.py | 53 | # Step 1: Retrieve users/partners liked to email address or name |
| LOW | addons/privacy_lookup/wizard/privacy_lookup_wizard.py | 98 | # Step 3: Retrieve info on other models |
| LOW | addons/project/controllers/project_sharing_chatter.py | 17 | So, we need to check if the chatter is for a task and if the res_id is a task |
| LOW | addons/project/controllers/project_sharing_chatter.py | 20 | If we do not have any token, then we need to check if the portal user is a follower of the project shared. |
| LOW | …_of_sale/static/tests/pos/tours/product_screen_tour.js | 964 | // Step 1: Search and add first variant |
| LOW | …_of_sale/static/tests/pos/tours/product_screen_tour.js | 974 | // Step 2: Search and add product without attributes (used to delay UI update) |
| LOW | …_of_sale/static/tests/pos/tours/product_screen_tour.js | 983 | // Step 3: Search and add second variant of the original product |
| LOW | …ons/point_of_sale/static/src/app/services/pos_store.js | 1998 | // We need to check if a preparation display is configured to avoid unnecessary sync |
| LOW | addons/l10n_hu_edi/models/res_company.py | 140 | # Step 1: Request a list of all transactions made during the specified time interval. |
| LOW | addons/l10n_hu_edi/models/res_company.py | 162 | # Step 2: Query unknown transactions in reverse order (latest first) and update invoice states accordingly. |
| LOW | addons/account/tests/test_account_account.py | 821 | # Step 2: Unmerge the account |
| LOW | addons/account/wizard/account_merge_wizard.py | 141 | # Step 1: Keep track of the company_ids and codes we should write on the account. |
| LOW | addons/account/wizard/account_merge_wizard.py | 157 | # Step 2: Check that we have write access to all the accounts and access to all the companies |
| LOW | addons/account/wizard/account_merge_wizard.py | 161 | # Step 3: Update records in DB. |
| LOW | addons/account/wizard/account_merge_wizard.py | 195 | # Step 4: Remove merged accounts |
| LOW | addons/account/wizard/account_merge_wizard.py | 208 | # Step 5: Write company_ids and codes on the account |
| LOW | addons/account/models/account_account.py | 1255 | # Step 1: Check access rights. |
| LOW | addons/account/models/account_account.py | 1258 | # Step 2: Create new accounts. |
| LOW | addons/account/models/account_account.py | 1275 | # Step 3: Update foreign keys in DB. |
| LOW | addons/account/models/account_account.py | 1476 | # Step 4: Change check_company fields to only keep values compatible with the account's company, and update comp |
| LOW | addons/account/models/account_account.py | 1486 | # Step 5: Put a log in the chatter of the newly-created accounts |
| 13 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | odoo/tools/safe_eval.py | 486 | # make sure to patch pytz before exposing |
| LOW | odoo/addons/base/tests/test_db_cursor.py | 145 | # make sure to fetch the field from the database |
| LOW | odoo/addons/base/tests/test_install.py | 33 | # make sure to reset the transaction |
| LOW | addons/l10n_in_edi/models/account_move.py | 227 | # make sure to clear the error before sending again |
| LOW | addons/l10n_in_edi/models/account_move.py | 360 | # make sure to clear the error before cancelling again |
| LOW | addons/l10n_in_edi/models/account_move_line.py | 46 | # Please make sure to change, if any change in error codes |
| LOW | addons/calendar/models/calendar_event.py | 947 | # don't forget to update recurrences if there are some base events in the set to unlink, |
| LOW | addons/calendar/models/calendar_event.py | 947 | # don't forget to update recurrences if there are some base events in the set to unlink, |
| LOW | addons/web/static/src/core/utils/patch.js | 62 | * If the intent is to patch a class, don't forget to patch the prototype, unless |
| LOW | …rc/views/fields/iframe_wrapper/iframe_wrapper_field.js | 40 | // If HTML, don't forget to adjust the sanitize options to avoid stripping most of the metadata |
| LOW | …ns/hr_recruitment/views/hr_recruitment_stage_views.xml | 110 | Don't forget to specify the department if your recruitment process |
| LOW | …dons/website_slides/static/src/js/tours/slides_tour.js | 115 | content: markup(_t("Once you're done, don't forget to <b>Publish</b> your course.")), |
| LOW | addons/google_recaptcha/static/src/scss/recaptcha.scss | 1 | // Hide google recaptcha V3 don't forget to add legal |
| LOW | addons/mass_mailing/data/mailing_data_templates.xml | 61 | <t t-if="mailing.ab_testing_winner_selection == 'manual'">Don't forget to send your preferred version</t> |
| LOW | addons/mass_mailing/data/mailing_data_templates.xml | 62 | <t t-elif="not mailing.ab_testing_schedule_datetime">Since the date and time for this test has not been scheduled, |
| LOW | …ons/website_forum/views/forum_forum_templates_post.xml | 148 | - no need to answer the same question twice. Also, please <b>don't forget to vote</b> |
| LOW | addons/pos_stripe/views/pos_payment_method_views.xml | 12 | <button name="action_stripe_key" type="object" icon="oi-arrow-right" string="Don't forget to complet |
| LOW | addons/microsoft_calendar/utils/microsoft_event.py | 136 | # don't forget to also set the global event ID on the Odoo event to ease |
| LOW | addons/microsoft_calendar/utils/microsoft_event.py | 136 | # don't forget to also set the global event ID on the Odoo event to ease |
| LOW | addons/website_event/static/src/js/tours/event_tour.js | 30 | content: markup(_t("Don't forget to click <b>save</b> when you're done.")), |
| MEDIUM | addons/account/tests/test_account_account.py | 93 | # Test that you can modify the code of an account in another company by writing on `code_mapping_ids`. |
| MEDIUM | addons/account/tests/test_account_account.py | 97 | # Test that you can modify the code of an account in another company by passing a CREATE value to `code_mapping_ |
| MEDIUM | addons/account/tests/test_account_account.py | 45 | # Test that you can add a company to an account if you add the code at the same time |
| LOW | addons/account/wizard/account_payment_register.py | 1159 | # Fix the balance but make sure to peek the liquidity and counterpart lines first. |
| LOW | addons/account/models/account_tax.py | 2529 | Don't forget to call '_add_tax_details_in_base_lines' and '_round_base_lines_tax_details' before calling this me |
| LOW | addons/account/models/account_tax.py | 2718 | Don't forget to call '_add_tax_details_in_base_lines' and '_round_base_lines_tax_details' before calling this me |
| LOW | addons/account/models/account_tax.py | 3052 | Don't forget to call '_add_tax_details_in_base_lines', '_round_base_lines_tax_details' and |
| LOW | addons/stock/models/stock_picking.py | 1125 | # make sure to write `schedule_date` *after* the `stock.move` creation in |
| LOW | addons/sale_purchase/models/product_template.py | 13 | help="If ticked, each time you sell this product through a SO, a RfQ is automatically created to buy the product |
| MEDIUM | addons/survey/models/survey_survey.py | 154 | help="This code will be used by your attendees to reach your session. Feel free to customize it however you like |
| LOW | addons/website_sale/models/product_template.py | 526 | # make sure to fetch the right product for the given combination |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …/static/src/webclient/actions/reports/report_action.js | 46 | print() { |
| HIGH | addons/web/static/src/core/utils/nested_sortable.js | 22 | * to verify if a drop location is allowed. return True by default |
| HIGH | addons/api_doc/static/src/utils/doc_code_gen.js | 92 | print(data) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …oud_storage_google/utils/cloud_storage_google_utils.py | 126 | Generate a V4 signed URL to provide query-string auth'n to a resource. This function is a simplified version of the |
| HIGH | …/webauthn/registration/verify_registration_response.py | 77 | Verify an authenticator's response to navigator.credentials.create() Args: - `credential`: The value return |
| HIGH | …authn/authentication/verify_authentication_response.py | 56 | Verify a response from navigator.credentials.get() Args: - `credential`: The value returned from `navigator |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | addons/api_doc/static/src/utils/doc_code_gen.js | 38 | const apiKey = "YOUR_API_KEY"; |
| HIGH | addons/api_doc/static/src/utils/doc_code_gen.js | 64 | --oauth2-bearer YOUR_API_KEY \\ |
| HIGH | addons/api_doc/static/src/utils/doc_code_gen.js | 79 | api_key = "YOUR_API_KEY" |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | odoo/tools/misc.py | 752 | def do_stuff(): |
| LOW | odoo/addons/test_convert/tests/test_convert.py | 80 | def test_function(self): |
| LOW | addons/web/static/lib/jquery/jquery.js | 4469 | function getData( data ) { |
| LOW | addons/html_editor/static/lib/cropperjs/cropper.js | 478 | function getData(element, name) { |
| LOW | addons/html_editor/static/lib/cropperjs/cropper.js | 2732 | getData: function getData() { |