Help

1

How can I see which API calls are made? To learn what Odoo is doing at specific times?

Avatar
Community Question

I would like to know, for example, which API calls are made during the creation of specific records, like a new Contact.

How can I intercept and see them?

Avatar
Discard
2 Answers
3
Avatar
Ray Carnes (ray)
Best Answer

The Odoo log file provides verbose information about the XML-RPC API calls if configured to do so.

You configure the log file via either command line parameters or a configuration file.

https://www.odoo.com/documentation/14.0/reference/cmdline.html

https://www.odoo.com/documentation/14.0/reference/cmdline.html#configuration-file

In particular, the following options can instruct Odoo to provide the information you want:

--log-request

enable DEBUG logging for RPC requests, equivalent to --log-handler=odoo.http.rpc.request:DEBUG

--log-response

enable DEBUG logging for RPC responses, equivalent to --log-handler=odoo.http.rpc.response:DEBUG


You may also need to suppress other debug information.


What follows is output from the Odoo log file for version 14, starting from the moment a User clicks CREATE to make a new Contact, enters the keystrokes "NEW COMPANY" and clicks SAVE.


Note: First, Odoo will first generate calls that allow the Contact form to be prepared and populated with information from some of the selection fields.


{time} DEBUG {db} odoo.http.rpc.request: call_kw: res.partner onchange, [[],

 {},

 [],

 {'__last_update': '',

  'active': '1',

  'active_lang_count': '',

  'activity_ids': '',

  'activity_ids.activity_type_id': '1',

  'activity_ids.date_deadline': '',

  'activity_ids.res_name': '',

  'activity_ids.summary': '',

  'additional_info': '',

  'bank_ids': '',

  'bank_ids.acc_holder_name': '',

  'bank_ids.acc_number': '',

  'bank_ids.bank_id': '',

  'bank_ids.sequence': '',

  'category_id': '',

  'child_ids': '',

  'child_ids.__last_update': '',

  'child_ids.city': '1',

  'child_ids.color': '',

  'child_ids.comment': '',

  'child_ids.company_id': '1',

  'child_ids.country_id': '1',

  'child_ids.display_name': '1',

  'child_ids.email': '1',

  'child_ids.function': '',

  'child_ids.id': '',

  'child_ids.image_128': '',

  'child_ids.image_1920': '1',

  'child_ids.is_company': '1',

  'child_ids.lang': '1',

  'child_ids.mobile': '1',

  'child_ids.name': '1',

  'child_ids.parent_id': '1',

  'child_ids.phone': '1',

  'child_ids.state_id': '1',

  'child_ids.street': '1',

  'child_ids.street2': '',

  'child_ids.title': '',

  'child_ids.type': '1',

  'child_ids.user_id': '',

  'child_ids.zip': '1',

  'city': '1',

  'comment': '',

  'commercial_partner_id': '1',

  'company_id': '1',

  'company_name': '1',

  'company_type': '1',

  'country_id': '1',

  'currency_id': '',

  'email': '1',

  'function': '',

  'image_1920': '1',

  'industry_id': '',

  'invoice_warn': '',

  'invoice_warn_msg': '',

  'is_blacklisted': '',

  'is_company': '1',

  'lang': '1',

  'meeting_count': '',

  'message_follower_ids': '',

  'message_follower_ids.channel_id': '',

  'message_follower_ids.partner_id': '',

  'message_follower_ids.res_id': '',

  'message_follower_ids.res_model': '',

  'message_ids': '',

  'message_ids.author_id': '',

  'message_ids.date': '',

  'message_ids.model': '',

  'message_ids.res_id': '',

  'message_ids.subject': '',

  'mobile': '1',

  'mobile_blacklisted': '',

  'name': '1',

  'opportunity_count': '',

  'parent_id': '1',

  'partner_gid': '',

  'partner_latitude': '',

  'partner_longitude': '',

  'payment_token_count': '',

  'phone': '1',

  'phone_blacklisted': '',

  'phone_sanitized': '1',

  'property_account_payable_id': '',

  'property_account_position_id': '',

  'property_account_receivable_id': '',

  'property_payment_method_id': '',

  'property_payment_term_id': '',

  'property_supplier_payment_term_id': '',

  'ref': '',

  'sale_order_count': '',

  'sale_warn': '',

  'sale_warn_msg': '',

  'same_vat_partner_id': '',

  'state_id': '1',

  'street': '1',

  'street2': '',

  'team_id': '',

  'ticket_count': '',

  'title': '',

  'total_due': '',

  'total_invoiced': '',

  'type': '1',

  'user_id': '',

  'user_ids': '',

  'vat': '1',

  'website': '',

  'zip': '1'}]

 

 

{time} DEBUG {db} odoo.http.rpc.response: call_kw: res.partner onchange: time:0.215s mem: 430492.0k -> 435676.0k (diff: 5184.0k), {'value': {'__last_update': False,

           'active': True,

           'active_lang_count': 1,

           'activity_ids': [(5,)],

           'additional_info': False,

           'bank_ids': [(5,)],

           'category_id': [(5,)],

           'child_ids': [(5,)],

           'city': False,

           'comment': False,

           'commercial_partner_id': False,

           'company_id': False,

           'company_name': False,

           'company_type': 'company',

           'country_id': False,

           'currency_id': False,

           'email': False,

           'function': False,

           'image_1920': False,

           'industry_id': False,

           'invoice_warn': 'no-message',

           'invoice_warn_msg': False,

           'is_blacklisted': False,

           'is_company': True,

           'lang': 'en_US',

           'meeting_count': 0,

           'message_follower_ids': [(5,)],

           'message_ids': [(5,)],

           'mobile': False,

           'mobile_blacklisted': False,

           'name': False,

           'opportunity_count': 0,

           'parent_id': False,

           'partner_gid': 0,

           'partner_latitude': 0.0,

           'partner_longitude': 0.0,

           'payment_token_count': 0,

           'phone': False,

           'phone_blacklisted': False,

           'phone_sanitized': False,

           'property_account_payable_id': (14, '211000 Account Payable'),

           'property_account_position_id': False,

           'property_account_receivable_id': (6, '121000 Account Receivable'),

           'property_payment_method_id': False,

           'property_payment_term_id': False,

           'property_supplier_payment_term_id': False,

           'ref': False,

           'sale_order_count': 0,

           'sale_warn': 'no-message',

           'sale_warn_msg': False,

           'same_vat_partner_id': False,

           'state_id': False,

           'street': False,

           'street2': False,

           'team_id': False,

           'ticket_count': 0,

           'title': False,

           'total_due': 0.0,

           'total_invoiced': 0.0,

           'type': 'contact',

           'user_id': False,

           'user_ids': [(5,)],

           'vat': False,

           'website': False,

           'zip': False}}

             

             

{time} DEBUG {db} odoo.http.rpc.request: call_kw: account.payment.term name_search, ['', [['company_id', 'in', [1, False]]]]

 

 

{time} DEBUG {db} odoo.http.rpc.request: call_kw: account.payment.term name_search, ['', [['company_id', 'in', [1, False]]]]

 

 

{time} DEBUG {db} odoo.http.rpc.request: call_kw: account.payment.method name_search, ['', [['payment_type', '=', 'outbound']]]

 

 

{time} DEBUG {db} odoo.http.rpc.response: call_kw: account.payment.term name_search: time:0.033s mem: 443872.0k -> 452068.0k (diff: 8196.0k), [(1, 'Immediate Payment'),

 (2, '15 Days'),

 (3, '21 Days'),

 (4, '30 Days'),

 (5, '45 Days'),

 (6, '2 Months'),

 (7, 'End of Following Month'),

 (8, '30% Now, Balance 60 Days'),

 (9, 'NET 30 with Late Fees')]

 

 

{time} DEBUG {db} odoo.http.rpc.response: call_kw: account.payment.term name_search: time:0.035s mem: 452068.0k -> 452068.0k (diff: 0.0k), [(1, 'Immediate Payment'),

 (2, '15 Days'),

 (3, '21 Days'),

 (4, '30 Days'),

 (5, '45 Days'),

 (6, '2 Months'),

 (7, 'End of Following Month'),

 (8, '30% Now, Balance 60 Days'),

 (9, 'NET 30 with Late Fees')]

 

 

{time} DEBUG {db} odoo.http.rpc.response: call_kw: account.payment.method name_search: time:0.031s mem: 452068.0k -> 452068.0k (diff: 0.0k), [(2, 'Manual'), (4, 'Checks')]


Note: Next, Odoo will wait.  In this example, the remaining log file shows what happens after the User enters the keystrokes NEW COMPANY and clicks SAVE.

 

{time} DEBUG {db} odoo.http.rpc.request: call_kw: res.partner autocomplete, ['TEST COMPANY']

 

 

{time} DEBUG {db} odoo.http.rpc.response: call_kw: res.partner autocomplete: time:1.021s mem: 481444.0k -> 481840.0k (diff: 396.0k), []

 

 

{time} DEBUG {db} odoo.http.rpc.request: call_kw: res.partner onchange, [[],

 {'__last_update': False,

  'active': True,

  'active_lang_count': 1,

  'activity_ids': [],

  'additional_info': False,

  'bank_ids': [],

  'category_id': [[6, False, []]],

  'child_ids': [],

  'city': False,

  'comment': False,

  'commercial_partner_id': False,

  'company_id': False,

  'company_name': False,

  'company_type': 'company',

  'country_id': False,

  'currency_id': False,

  'email': False,

  'function': False,

  'image_1920': False,

  'industry_id': False,

  'invoice_warn': 'no-message',

  'invoice_warn_msg': False,

  'is_blacklisted': False,

  'is_company': True,

  'lang': 'en_US',

  'meeting_count': 0,

  'message_follower_ids': [],

  'message_ids': [],

  'mobile': False,

  'mobile_blacklisted': False,

  'name': 'TEST COMPANY',

  'opportunity_count': 0,

  'parent_id': False,

  'partner_gid': 0,

  'partner_latitude': 0,

  'partner_longitude': 0,

  'payment_token_count': 0,

  'phone': False,

  'phone_blacklisted': False,

  'phone_sanitized': False,

  'property_account_payable_id': 14,

  'property_account_position_id': False,

  'property_account_receivable_id': 6,

  'property_payment_method_id': False,

  'property_payment_term_id': False,

  'property_supplier_payment_term_id': False,

  'ref': False,

  'sale_order_count': 0,

  'sale_warn': 'no-message',

  'sale_warn_msg': False,

  'same_vat_partner_id': False,

  'state_id': False,

  'street': False,

  'street2': False,

  'team_id': False,

  'ticket_count': 0,

  'title': False,

  'total_due': 0,

  'total_invoiced': 0,

  'type': 'contact',

  'user_id': False,

  'user_ids': [],

  'vat': False,

  'website': False,

  'zip': False},

 'name',

 {'__last_update': '',

  'active': '1',

  'active_lang_count': '',

  'activity_ids': '',

  'activity_ids.activity_type_id': '1',

  'activity_ids.date_deadline': '',

  'activity_ids.res_name': '',

  'activity_ids.summary': '',

  'additional_info': '',

  'bank_ids': '',

  'bank_ids.acc_holder_name': '',

  'bank_ids.acc_number': '',

  'bank_ids.bank_id': '',

  'bank_ids.sequence': '',

  'category_id': '',

  'child_ids': '',

  'child_ids.__last_update': '',

  'child_ids.city': '1',

  'child_ids.color': '',

  'child_ids.comment': '',

  'child_ids.company_id': '1',

  'child_ids.country_id': '1',

  'child_ids.display_name': '1',

  'child_ids.email': '1',

  'child_ids.function': '',

  'child_ids.id': '',

  'child_ids.image_128': '',

  'child_ids.image_1920': '1',

  'child_ids.is_company': '1',

  'child_ids.lang': '1',

  'child_ids.mobile': '1',

  'child_ids.name': '1',

  'child_ids.parent_id': '1',

  'child_ids.phone': '1',

  'child_ids.state_id': '1',

  'child_ids.street': '1',

  'child_ids.street2': '',

  'child_ids.title': '',

  'child_ids.type': '1',

  'child_ids.user_id': '',

  'child_ids.zip': '1',

  'city': '1',

  'comment': '',

  'commercial_partner_id': '1',

  'company_id': '1',

  'company_name': '1',

  'company_type': '1',

  'country_id': '1',

  'currency_id': '',

  'email': '1',

  'function': '',

  'image_1920': '1',

  'industry_id': '',

  'invoice_warn': '',

  'invoice_warn_msg': '',

  'is_blacklisted': '',

  'is_company': '1',

  'lang': '1',

  'meeting_count': '',

  'message_follower_ids': '',

  'message_follower_ids.channel_id': '',

  'message_follower_ids.partner_id': '',

  'message_follower_ids.res_id': '',

  'message_follower_ids.res_model': '',

  'message_ids': '',

  'message_ids.author_id': '',

  'message_ids.date': '',

  'message_ids.model': '',

  'message_ids.res_id': '',

  'message_ids.subject': '',

  'mobile': '1',

  'mobile_blacklisted': '',

  'name': '1',

  'opportunity_count': '',

  'parent_id': '1',

  'partner_gid': '',

  'partner_latitude': '',

  'partner_longitude': '',

  'payment_token_count': '',

  'phone': '1',

  'phone_blacklisted': '',

  'phone_sanitized': '1',

  'property_account_payable_id': '',

  'property_account_position_id': '',

  'property_account_receivable_id': '',

  'property_payment_method_id': '',

  'property_payment_term_id': '',

  'property_supplier_payment_term_id': '',

  'ref': '',

  'sale_order_count': '',

  'sale_warn': '',

  'sale_warn_msg': '',

  'same_vat_partner_id': '',

  'state_id': '1',

  'street': '1',

  'street2': '',

  'team_id': '',

  'ticket_count': '',

  'title': '',

  'total_due': '',

  'total_invoiced': '',

  'type': '1',

  'user_id': '',

  'user_ids': '',

  'vat': '1',

  'website': '',

  'zip': '1'}]

 

 

{time} DEBUG {db} odoo.http.rpc.response: call_kw: res.partner onchange: time:0.030s mem: 490036.0k -> 490036.0k (diff: 0.0k), {'value': {}}

 

 

{time} DEBUG {db} odoo.http.rpc.request: call_kw: res.partner create, [{'__last_update': False,

  'active': True,

  'additional_info': False,

  'category_id': [[6, False, []]],

  'city': False,

  'comment': False,

  'company_id': False,

  'company_name': False,

  'company_type': 'company',

  'country_id': False,

  'email': False,

  'function': False,

  'image_1920': False,

  'industry_id': False,

  'invoice_warn': 'no-message',

  'is_company': True,

  'lang': 'en_US',

  'mobile': False,

  'name': 'TEST COMPANY',

  'parent_id': False,

  'partner_gid': 0,

  'partner_latitude': 0,

  'partner_longitude': 0,

  'phone': False,

  'property_account_payable_id': 14,

  'property_account_position_id': False,

  'property_account_receivable_id': 6,

  'property_payment_method_id': False,

  'property_payment_term_id': False,

  'property_supplier_payment_term_id': False,

  'ref': False,

  'sale_warn': 'no-message',

  'state_id': False,

  'street': False,

  'street2': False,

  'team_id': False,

  'title': False,

  'type': 'contact',

  'user_id': False,

  'vat': False,

  'website': False,

  'zip': False}]

 

 

{time} DEBUG {db} odoo.http.rpc.response: call_kw: res.partner create: time:0.116s mem: 490036.0k -> 490292.0k (diff: 256.0k), 11

 

 

{time} DEBUG {db} odoo.http.rpc.request: call_kw: res.partner read, [[11],

 ['same_vat_partner_id',

  'partner_gid',

  'additional_info',

  'opportunity_count',

  'meeting_count',

  'sale_order_count',

  'ticket_count',

  'total_due',

  'currency_id',

  'total_invoiced',

  'payment_token_count',

  'image_1920',

  '__last_update',

  'is_company',

  'commercial_partner_id',

  'active',

  'company_type',

  'name',

  'parent_id',

  'company_name',

  'type',

  'street',

  'street2',

  'city',

  'state_id',

  'zip',

  'country_id',

  'vat',

  'function',

  'phone_blacklisted',

  'mobile_blacklisted',

  'phone',

  'mobile',

  'phone_sanitized',

  'user_ids',

  'is_blacklisted',

  'email',

  'website',

  'title',

  'active_lang_count',

  'partner_longitude',

  'partner_latitude',

  'lang',

  'category_id',

  'child_ids',

  'user_id',

  'team_id',

  'property_payment_term_id',

  'property_supplier_payment_term_id',

  'property_payment_method_id',

  'property_account_position_id',

  'ref',

  'company_id',

  'industry_id',

  'bank_ids',

  'property_account_receivable_id',

  'property_account_payable_id',

  'comment',

  'sale_warn',

  'sale_warn_msg',

  'invoice_warn',

  'invoice_warn_msg',

  'message_follower_ids',

  'activity_ids',

  'message_ids',

  'display_name']]

 

 

{time} DEBUG {db} odoo.http.rpc.response: call_kw: res.partner read: time:0.159s mem: 490292.0k -> 490292.0k (diff: 0.0k), [{'__last_update': datetime.datetime(2021, 2, 27, 20, 34, 26, 777632),

  'active': True,

  'active_lang_count': 1,

  'activity_ids': [],

  'additional_info': False,

  'bank_ids': [],

  'category_id': [],

  'child_ids': [],

  'city': False,

  'comment': False,

  'commercial_partner_id': (11, 'TEST COMPANY'),

  'company_id': False,

  'company_name': False,

  'company_type': 'company',

  'country_id': False,

  'currency_id': (2, 'USD'),

  'display_name': 'TEST COMPANY',

  'email': False,

  'function': False,

  'id': 11,

  'image_1920': False,

  'industry_id': False,

  'invoice_warn': 'no-message',

  'invoice_warn_msg': False,

  'is_blacklisted': False,

  'is_company': True,

  'lang': 'en_US',

  'meeting_count': 0,

  'message_follower_ids': [32],

  'message_ids': [77],

  'mobile': False,

  'mobile_blacklisted': False,

  'name': 'TEST COMPANY',

  'opportunity_count': 0,

  'parent_id': False,

  'partner_gid': 0,

  'partner_latitude': 0.0,

  'partner_longitude': 0.0,

  'payment_token_count': 0,

  'phone': False,

  'phone_blacklisted': False,

  'phone_sanitized': False,

  'property_account_payable_id': (14, '211000 Account Payable'),

  'property_account_position_id': False,

  'property_account_receivable_id': (6, '121000 Account Receivable'),

  'property_payment_method_id': False,

  'property_payment_term_id': False,

  'property_supplier_payment_term_id': False,

  'ref': False,

  'sale_order_count': 0,

  'sale_warn': 'no-message',

  'sale_warn_msg': False,

  'same_vat_partner_id': False,

  'state_id': False,

  'street': False,

  'street2': False,

  'team_id': False,

  'ticket_count': 0,

  'title': False,

  'total_due': 0.0,

  'total_invoiced': 0.0,

  'type': 'contact',

  'user_id': False,

  'user_ids': [],

  'vat': False,

  'website': False,

  'zip': False}]

 

 

{time} DEBUG {db} odoo.http.rpc.request: call_kw: mail.followers read, [[32], ['res_model', 'res_id', 'partner_id', 'channel_id']]

 

 

{time} DEBUG {db} odoo.http.rpc.response: call_kw: mail.followers read: time:0.007s mem: 498488.0k -> 498488.0k (diff: 0.0k), [{'channel_id': False,

  'id': 32,

  'partner_id': (3, 'Administrator'),

  'res_id': 11,

  'res_model': 'res.partner'}]

 

 

{time} DEBUG {db} odoo.http.rpc.request: call_kw: mail.message read, [[77], ['date', 'subject', 'author_id', 'model', 'res_id']]

 

 

{time} DEBUG {db} odoo.http.rpc.response: call_kw: mail.message read: time:0.015s mem: 498488.0k -> 498488.0k (diff: 0.0k), [{'author_id': (3, 'Administrator'),

  'date': datetime.datetime(2021, 2, 27, 20, 34, 26),

  'id': 77,

  'model': 'res.partner',

  'res_id': 11,

  'subject': False}]

 

 

{time} DEBUG {db} odoo.http.rpc.request: call_kw: mail.message message_fetch, []

 

 

{time} DEBUG {db} odoo.http.rpc.request: call_kw: res.partner read, [11, ['activity_ids']]

 

 

{time} DEBUG {db} odoo.http.rpc.request: message_get_suggested_recipients: res.partner None, []

 

 

{time} DEBUG {db} odoo.http.rpc.request: read_followers: None None, []

 

 

{time} DEBUG {db} odoo.http.rpc.response: call_kw: res.partner read: time:0.043s mem: 523076.0k -> 523332.0k (diff: 256.0k), [{'activity_ids': [], 'id': 11}]

 

 

{time} DEBUG {db} odoo.http.rpc.request: call_kw: ir.attachment search_read, []

 

 

{time} DEBUG {db} odoo.http.rpc.response: call_kw: ir.attachment search_read: time:0.036s mem: 523332.0k -> 523332.0k (diff: 0.0k), []

 

 

{time} DEBUG {db} odoo.http.rpc.request: call_kw: res.partner read, [11, ['activity_ids']]

 

 

{time} DEBUG {db} odoo.http.rpc.request: read_followers: None None, []

 

 

{time} DEBUG {db} odoo.http.rpc.response: call_kw: res.partner read: time:0.063s mem: 523332.0k -> 523332.0k (diff: 0.0k), [{'activity_ids': [], 'id': 11}]

 

 

{time} DEBUG {db} odoo.http.rpc.response: read_followers: None None: time:0.182s mem: 523076.0k -> 523332.0k (diff: 256.0k), {'followers': [{'channel_id': False,

                'email': 'admin@example.com',

                'id': 32,

                'is_active': True,

                'is_editable': True,

                'name': 'Administrator',

                'partner_id': 3}],

 'subtypes': [{'default': True,

               'followed': True,

               'id': 1,

               'internal': False,

               'name': 'Discussions',

               'parent_model': False,

               'res_model': False,

               'sequence': 0},

              {'default': False,

               'followed': False,

               'id': 3,

               'internal': True,

               'name': 'Activities',

               'parent_model': False,

               'res_model': False,

               'sequence': 90},

              {'default': False,

               'followed': False,

               'id': 2,

               'internal': True,

               'name': 'Note',

               'parent_model': False,

               'res_model': False,

               'sequence': 100}]}

                  

                  

{time} DEBUG {db} odoo.http.rpc.response: message_get_suggested_recipients: res.partner None: time:0.193s mem: 523076.0k -> 523332.0k (diff: 256.0k), {11: [(11, 'TEST COMPANY', 'Partner Profile')]}

 

 

{time} DEBUG {db} odoo.http.rpc.response: call_kw: mail.message message_fetch: time:0.274s mem: 498488.0k -> 523332.0k (diff: 24844.0k), [{'attachment_ids': [],

  'author_id': (3, 'Administrator'),

  'body': '<p>Contact created</p>',

  'channel_ids': [],

  'date': datetime.datetime(2021, 2, 27, 20, 34, 26),

  'email_from': '"Administrator" <admin@example.com>',

  'history_partner_ids': [],

  'id': 77,

  'is_discussion': False,

  'is_note': True,

  'is_notification': False,

  'message_type': 'notification',

  'model': 'res.partner',

  'moderation_status': False,

  'module_icon': '/base/static/description/icon.png',

  'needaction_partner_ids': [],

  'notifications': [],

  'partner_ids': [],

  'record_name': False,

  'res_id': 11,

  'sms_ids': [],

  'starred_partner_ids': [],

  'subject': False,

  'subtype_description': False,

  'subtype_id': (2, 'Note'),

  'tracking_value_ids': []}]

 

 

{time} DEBUG {db} odoo.http.rpc.request: message_get_suggested_recipients: res.partner None, []

 

 

{time} DEBUG {db} odoo.http.rpc.request: call_kw: ir.attachment search_read, []

 

 

{time} DEBUG {db} odoo.http.rpc.request: call_kw: res.partner read, [11, ['activity_ids']]

 

 

{time} DEBUG {db} odoo.http.rpc.response: read_followers: None None: time:0.098s mem: 523332.0k -> 523332.0k (diff: 0.0k), {'followers': [{'channel_id': False,

                'email': 'admin@example.com',

                'id': 32,

                'is_active': True,

                'is_editable': True,

                'name': 'Administrator',

                'partner_id': 3}],

 'subtypes': [{'default': True,

               'followed': True,

               'id': 1,

               'internal': False,

               'name': 'Discussions',

               'parent_model': False,

               'res_model': False,

               'sequence': 0},

              {'default': False,

               'followed': False,

               'id': 3,

               'internal': True,

               'name': 'Activities',

               'parent_model': False,

               'res_model': False,

               'sequence': 90},

              {'default': False,

               'followed': False,

               'id': 2,

               'internal': True,

               'name': 'Note',

               'parent_model': False,

               'res_model': False,

               'sequence': 100}]}

                  

                  

{time} DEBUG {db} odoo.http.rpc.response: call_kw: ir.attachment search_read: time:0.028s mem: 523332.0k -> 523332.0k (diff: 0.0k), []

 

 

{time} DEBUG {db} odoo.http.rpc.request: read_followers: None None, []

 

 

{time} DEBUG {db} odoo.http.rpc.response: call_kw: res.partner read: time:0.034s mem: 523332.0k -> 523332.0k (diff: 0.0k), [{'activity_ids': [], 'id': 11}]

 

 

{time} DEBUG {db} odoo.http.rpc.request: message_get_suggested_recipients: res.partner None, []

 

 

{time} DEBUG {db} odoo.http.rpc.response: message_get_suggested_recipients: res.partner None: time:0.088s mem: 523332.0k -> 523332.0k (diff: 0.0k), {11: [(11, 'TEST COMPANY', 'Partner Profile')]}

 

 

{time} DEBUG {db} odoo.http.rpc.request: call_kw: ir.attachment search_read, []

 

 

{time} DEBUG {db} odoo.http.rpc.response: call_kw: ir.attachment search_read: time:0.010s mem: 523332.0k -> 523332.0k (diff: 0.0k), []

 

 

{time} DEBUG {db} odoo.http.rpc.request: call_kw: res.partner read, [11, ['activity_ids']]

 

 

{time} DEBUG {db} odoo.http.rpc.response: read_followers: None None: time:0.079s mem: 523332.0k -> 523332.0k (diff: 0.0k), {'followers': [{'channel_id': False,

                'email': 'admin@example.com',

                'id': 32,

                'is_active': True,

                'is_editable': True,

                'name': 'Administrator',

                'partner_id': 3}],

 'subtypes': [{'default': True,

               'followed': True,

               'id': 1,

               'internal': False,

               'name': 'Discussions',

               'parent_model': False,

               'res_model': False,

               'sequence': 0},

              {'default': False,

               'followed': False,

               'id': 3,

               'internal': True,

               'name': 'Activities',

               'parent_model': False,

               'res_model': False,

               'sequence': 90},

              {'default': False,

               'followed': False,

               'id': 2,

               'internal': True,

               'name': 'Note',

               'parent_model': False,

               'res_model': False,

               'sequence': 100}]}

                  

                  

{time} DEBUG {db} odoo.http.rpc.response: call_kw: res.partner read: time:0.025s mem: 523332.0k -> 523332.0k (diff: 0.0k), [{'activity_ids': [], 'id': 11}]

 

 

{time} DEBUG {db} odoo.http.rpc.request: read_followers: None None, []

 

 

{time} DEBUG {db} odoo.http.rpc.response: message_get_suggested_recipients: res.partner None: time:0.058s mem: 523332.0k -> 523332.0k (diff: 0.0k), {11: [(11, 'TEST COMPANY', 'Partner Profile')]}

 

 

{time} DEBUG {db} odoo.http.rpc.request: message_get_suggested_recipients: res.partner None, []

 

 

{time} DEBUG {db} odoo.http.rpc.request: call_kw: ir.attachment search_read, []

 

 

{time} DEBUG {db} odoo.http.rpc.response: call_kw: ir.attachment search_read: time:0.006s mem: 523332.0k -> 523332.0k (diff: 0.0k), []

 

 

{time} DEBUG {db} odoo.http.rpc.request: call_kw: mail.activity activity_format, [[]]

 

 

{time} DEBUG {db} odoo.http.rpc.response: call_kw: mail.activity activity_format: time:0.010s mem: 523332.0k -> 523332.0k (diff: 0.0k), []

 

 

{time} DEBUG {db} odoo.http.rpc.response: message_get_suggested_recipients: res.partner None: time:0.043s mem: 523332.0k -> 523332.0k (diff: 0.0k), {11: [(11, 'TEST COMPANY', 'Partner Profile')]}

 

 

{time} DEBUG {db} odoo.http.rpc.request: call_kw: mail.activity activity_format, [[]]

 

 

{time} DEBUG {db} odoo.http.rpc.response: call_kw: mail.activity activity_format: time:0.008s mem: 523332.0k -> 523332.0k (diff: 0.0k), []

 

 

{time} DEBUG {db} odoo.http.rpc.response: read_followers: None None: time:0.086s mem: 523332.0k -> 523332.0k (diff: 0.0k), {'followers': [{'channel_id': False,

                'email': 'admin@example.com',

                'id': 32,

                'is_active': True,

                'is_editable': True,

                'name': 'Administrator',

                'partner_id': 3}],

 'subtypes': [{'default': True,

               'followed': True,

               'id': 1,

               'internal': False,

               'name': 'Discussions',

               'parent_model': False,

               'res_model': False,

               'sequence': 0},

              {'default': False,

               'followed': False,

               'id': 3,

               'internal': True,

               'name': 'Activities',

               'parent_model': False,

               'res_model': False,

               'sequence': 90},

              {'default': False,

               'followed': False,

               'id': 2,

               'internal': True,

               'name': 'Note',

               'parent_model': False,

               'res_model': False,

               'sequence': 100}]}

{time} DEBUG {db} odoo.http.rpc.request: call_kw: mail.message mark_all_as_read, []

 

 

{time} DEBUG {db} odoo.http.rpc.request: call_kw: mail.activity activity_format, [[]]

 

 

{time} DEBUG {db} odoo.http.rpc.response: call_kw: mail.activity activity_format: time:0.005s mem: 523332.0k -> 523332.0k (diff: 0.0k), []

 

 

{time} DEBUG {db} odoo.http.rpc.request: call_kw: mail.activity activity_format, [[]]

 

 

{time} DEBUG {db} odoo.http.rpc.response: call_kw: mail.activity activity_format: time:0.007s mem: 523332.0k -> 523332.0k (diff: 0.0k), []

 

 

{time} DEBUG {db} odoo.http.rpc.response: call_kw: mail.message mark_all_as_read: time:0.019s mem: 523332.0k -> 523332.0k (diff: 0.0k), [77]


 

 


Avatar
Discard
0
Avatar
pablog
Best Answer

In Odoo 16, they have removed --log-request. After some time reading the 16.0 code I found that the equivalent now is adding log_level = debug_rpc to your configuration file.

Avatar
Discard